+2009-04-28 Jim Evins <evins@purple>
+
+ * data/glade/object-editor.glade:
+ * data/glade/prefs-dialog.glade:
+ * data/glade/property-bar.glade:
+ * data/glade/template-designer.glade:
+ * src/wdgt-print-copies.c: (gl_wdgt_print_copies_construct),
+ (first_spin_cb), (last_spin_cb):
+ * src/wdgt-print-merge.c: (gl_wdgt_print_merge_construct):
+ Zero out adjustment->page_size for all spinbuttons. With gtk-2.14 this causes
+ many warning and with gtk-2.16 this actually breaks the spinbuttons.
+
2009-01-07 Jim Evins <evins@snaught.com>
* src/critical-error-handler.c: (critical_error_handler):
<property name="update_policy">GTK_UPDATE_ALWAYS</property>
<property name="snap_to_ticks">False</property>
<property name="wrap">False</property>
- <property name="adjustment">1 1 100 1 10 10</property>
+ <property name="adjustment">1 1 100 1 10 0</property>
</widget>
<packing>
<property name="padding">0</property>
<property name="update_policy">GTK_UPDATE_ALWAYS</property>
<property name="snap_to_ticks">False</property>
<property name="wrap">False</property>
- <property name="adjustment">1 0 5 0.01 0.1 0.1</property>
+ <property name="adjustment">1 0 5 0.01 0.1 0</property>
</widget>
<packing>
<property name="padding">0</property>
<property name="update_policy">GTK_UPDATE_ALWAYS</property>
<property name="snap_to_ticks">False</property>
<property name="wrap">False</property>
- <property name="adjustment">1 0.25 4 0.25 1 1</property>
+ <property name="adjustment">1 0.25 4 0.25 1 0</property>
</widget>
<packing>
<property name="padding">0</property>
<property name="update_policy">GTK_UPDATE_ALWAYS</property>
<property name="snap_to_ticks">False</property>
<property name="wrap">False</property>
- <property name="adjustment">1 1 100 1 10 10</property>
+ <property name="adjustment">1 1 100 1 10 0</property>
</widget>
<packing>
<property name="padding">0</property>
<property name="update_policy">GTK_UPDATE_ALWAYS</property>
<property name="snap_to_ticks">True</property>
<property name="wrap">False</property>
- <property name="adjustment">1 0 100 0.01 10 10</property>
+ <property name="adjustment">1 0 100 0.01 10 0</property>
</widget>
<packing>
<property name="padding">0</property>
<property name="update_policy">GTK_UPDATE_ALWAYS</property>
<property name="snap_to_ticks">True</property>
<property name="wrap">False</property>
- <property name="adjustment">1 0 100 0.01 10 10</property>
+ <property name="adjustment">1 0 100 0.01 10 0</property>
</widget>
<packing>
<property name="padding">0</property>
<property name="update_policy">GTK_UPDATE_ALWAYS</property>
<property name="snap_to_ticks">True</property>
<property name="wrap">False</property>
- <property name="adjustment">1 0 100 0.01 10 10</property>
+ <property name="adjustment">1 0 100 0.01 10 0</property>
</widget>
<packing>
<property name="padding">0</property>
<property name="update_policy">GTK_UPDATE_ALWAYS</property>
<property name="snap_to_ticks">True</property>
<property name="wrap">False</property>
- <property name="adjustment">0 -180 180 0.1 5 5</property>
+ <property name="adjustment">0 -180 180 0.1 5 0</property>
</widget>
<packing>
<property name="padding">0</property>
<property name="update_policy">GTK_UPDATE_ALWAYS</property>
<property name="snap_to_ticks">True</property>
<property name="wrap">False</property>
- <property name="adjustment">0 0 100 0.01 10 10</property>
+ <property name="adjustment">0 0 100 0.01 10 0</property>
</widget>
<packing>
<property name="left_attach">1</property>
<property name="update_policy">GTK_UPDATE_ALWAYS</property>
<property name="snap_to_ticks">True</property>
<property name="wrap">False</property>
- <property name="adjustment">0 0 100 0.01 10 10</property>
+ <property name="adjustment">0 0 100 0.01 10 0</property>
</widget>
<packing>
<property name="left_attach">1</property>
<property name="update_policy">GTK_UPDATE_ALWAYS</property>
<property name="snap_to_ticks">True</property>
<property name="wrap">False</property>
- <property name="adjustment">0 0 100 0.00999999977648 10 10</property>
+ <property name="adjustment">0 0 100 0.00999999977648 10 0</property>
</widget>
<packing>
<property name="padding">0</property>
<property name="update_policy">GTK_UPDATE_ALWAYS</property>
<property name="snap_to_ticks">True</property>
<property name="wrap">False</property>
- <property name="adjustment">0 0 100 0.00999999977648 10 10</property>
+ <property name="adjustment">0 0 100 0.00999999977648 10 0</property>
</widget>
<packing>
<property name="padding">0</property>
<property name="update_policy">GTK_UPDATE_ALWAYS</property>
<property name="snap_to_ticks">False</property>
<property name="wrap">False</property>
- <property name="adjustment">1 0 100 1 10 10</property>
+ <property name="adjustment">1 0 100 1 10 0</property>
</widget>
<packing>
<property name="padding">0</property>
<property name="update_policy">GTK_UPDATE_ALWAYS</property>
<property name="snap_to_ticks">False</property>
<property name="wrap">False</property>
- <property name="adjustment">1 1 100 1 10 10</property>
+ <property name="adjustment">1 1 100 1 10 0</property>
</widget>
<packing>
<property name="padding">0</property>
<property name="update_policy">GTK_UPDATE_ALWAYS</property>
<property name="snap_to_ticks">False</property>
<property name="wrap">False</property>
- <property name="adjustment">1 0 5 0.01 0.1 0.1</property>
+ <property name="adjustment">1 0 5 0.01 0.1 0</property>
</widget>
<packing>
<property name="padding">0</property>
<property name="update_policy">GTK_UPDATE_ALWAYS</property>
<property name="snap_to_ticks">False</property>
<property name="wrap">False</property>
- <property name="adjustment">1 0.25 4 0.25 1 1</property>
+ <property name="adjustment">1 0.25 4 0.25 1 0</property>
</widget>
<packing>
<property name="padding">0</property>
<property name="update_policy">GTK_UPDATE_ALWAYS</property>
<property name="snap_to_ticks">False</property>
<property name="wrap">False</property>
- <property name="adjustment">1 1 250 1 10 10</property>
+ <property name="adjustment">1 1 250 1 10 0</property>
</widget>
</child>
</widget>
<property name="update_policy">GTK_UPDATE_ALWAYS</property>
<property name="snap_to_ticks">False</property>
<property name="wrap">False</property>
- <property name="adjustment">1 0.25 4 0.25 1 1</property>
+ <property name="adjustment">1 0.25 4 0.25 1 0</property>
</widget>
</child>
</widget>
<property name="update_policy">GTK_UPDATE_ALWAYS</property>
<property name="snap_to_ticks">False</property>
<property name="wrap">False</property>
- <property name="adjustment">1 0 100 1 10 10</property>
+ <property name="adjustment">1 0 100 1 10 0</property>
</widget>
<packing>
<property name="padding">0</property>
<property name="update_policy">GTK_UPDATE_ALWAYS</property>
<property name="snap_to_ticks">False</property>
<property name="wrap">False</property>
- <property name="adjustment">1 0 100 1 10 10</property>
+ <property name="adjustment">1 0 100 1 10 0</property>
</widget>
<packing>
<property name="padding">0</property>
<property name="update_policy">GTK_UPDATE_ALWAYS</property>
<property name="snap_to_ticks">False</property>
<property name="wrap">False</property>
- <property name="adjustment">0 0 100 1 10 10</property>
+ <property name="adjustment">0 0 100 1 10 0</property>
</widget>
<packing>
<property name="left_attach">1</property>
<property name="update_policy">GTK_UPDATE_ALWAYS</property>
<property name="snap_to_ticks">False</property>
<property name="wrap">False</property>
- <property name="adjustment">0 0 100 1 10 10</property>
+ <property name="adjustment">0 0 100 1 10 0</property>
</widget>
<packing>
<property name="left_attach">1</property>
<property name="update_policy">GTK_UPDATE_ALWAYS</property>
<property name="snap_to_ticks">False</property>
<property name="wrap">False</property>
- <property name="adjustment">0 0 100 1 10 10</property>
+ <property name="adjustment">0 0 100 1 10 0</property>
</widget>
<packing>
<property name="left_attach">1</property>
<property name="update_policy">GTK_UPDATE_ALWAYS</property>
<property name="snap_to_ticks">False</property>
<property name="wrap">False</property>
- <property name="adjustment">0 0 100 1 10 10</property>
+ <property name="adjustment">0 0 100 1 10 0</property>
</widget>
<packing>
<property name="left_attach">1</property>
<property name="update_policy">GTK_UPDATE_ALWAYS</property>
<property name="snap_to_ticks">False</property>
<property name="wrap">False</property>
- <property name="adjustment">0 0 100 1 10 10</property>
+ <property name="adjustment">0 0 100 1 10 0</property>
</widget>
<packing>
<property name="left_attach">1</property>
<property name="update_policy">GTK_UPDATE_ALWAYS</property>
<property name="snap_to_ticks">False</property>
<property name="wrap">False</property>
- <property name="adjustment">0 0 100 1 10 10</property>
+ <property name="adjustment">0 0 100 1 10 0</property>
</widget>
<packing>
<property name="left_attach">1</property>
<property name="update_policy">GTK_UPDATE_ALWAYS</property>
<property name="snap_to_ticks">False</property>
<property name="wrap">False</property>
- <property name="adjustment">0 0 100 1 10 10</property>
+ <property name="adjustment">0 0 100 1 10 0</property>
</widget>
<packing>
<property name="left_attach">1</property>
<property name="update_policy">GTK_UPDATE_ALWAYS</property>
<property name="snap_to_ticks">False</property>
<property name="wrap">False</property>
- <property name="adjustment">0 0 100 1 10 10</property>
+ <property name="adjustment">0 0 100 1 10 0</property>
</widget>
<packing>
<property name="left_attach">1</property>
<property name="update_policy">GTK_UPDATE_ALWAYS</property>
<property name="snap_to_ticks">False</property>
<property name="wrap">False</property>
- <property name="adjustment">0 0 100 1 10 10</property>
+ <property name="adjustment">0 0 100 1 10 0</property>
</widget>
<packing>
<property name="left_attach">1</property>
<property name="update_policy">GTK_UPDATE_ALWAYS</property>
<property name="snap_to_ticks">False</property>
<property name="wrap">False</property>
- <property name="adjustment">0 0 100 1 10 10</property>
+ <property name="adjustment">0 0 100 1 10 0</property>
</widget>
<packing>
<property name="left_attach">1</property>
<property name="update_policy">GTK_UPDATE_ALWAYS</property>
<property name="snap_to_ticks">False</property>
<property name="wrap">False</property>
- <property name="adjustment">0 0 100 1 10 10</property>
+ <property name="adjustment">0 0 100 1 10 0</property>
</widget>
<packing>
<property name="left_attach">1</property>
<property name="update_policy">GTK_UPDATE_ALWAYS</property>
<property name="snap_to_ticks">False</property>
<property name="wrap">False</property>
- <property name="adjustment">0 0 100 1 10 10</property>
+ <property name="adjustment">0 0 100 1 10 0</property>
</widget>
<packing>
<property name="left_attach">1</property>
<property name="update_policy">GTK_UPDATE_ALWAYS</property>
<property name="snap_to_ticks">False</property>
<property name="wrap">False</property>
- <property name="adjustment">0 0 100 1 10 10</property>
+ <property name="adjustment">0 0 100 1 10 0</property>
</widget>
<packing>
<property name="left_attach">1</property>
<property name="update_policy">GTK_UPDATE_ALWAYS</property>
<property name="snap_to_ticks">False</property>
<property name="wrap">False</property>
- <property name="adjustment">0 0 100 1 10 10</property>
+ <property name="adjustment">0 0 100 1 10 0</property>
</widget>
<packing>
<property name="left_attach">1</property>
<property name="update_policy">GTK_UPDATE_ALWAYS</property>
<property name="snap_to_ticks">False</property>
<property name="wrap">False</property>
- <property name="adjustment">0 0 100 1 10 10</property>
+ <property name="adjustment">0 0 100 1 10 0</property>
</widget>
<packing>
<property name="left_attach">1</property>
<property name="update_policy">GTK_UPDATE_ALWAYS</property>
<property name="snap_to_ticks">False</property>
<property name="wrap">False</property>
- <property name="adjustment">1 1 2 1 1 1</property>
+ <property name="adjustment">1 1 2 1 1 0</property>
</widget>
<packing>
<property name="padding">0</property>
<property name="update_policy">GTK_UPDATE_ALWAYS</property>
<property name="snap_to_ticks">False</property>
<property name="wrap">False</property>
- <property name="adjustment">1 1 100 1 10 10</property>
+ <property name="adjustment">1 1 100 1 10 0</property>
</widget>
<packing>
<property name="left_attach">1</property>
<property name="update_policy">GTK_UPDATE_ALWAYS</property>
<property name="snap_to_ticks">False</property>
<property name="wrap">False</property>
- <property name="adjustment">1 1 100 1 10 10</property>
+ <property name="adjustment">1 1 100 1 10 0</property>
</widget>
<packing>
<property name="left_attach">1</property>
<property name="update_policy">GTK_UPDATE_ALWAYS</property>
<property name="snap_to_ticks">False</property>
<property name="wrap">False</property>
- <property name="adjustment">1 1 100 1 10 10</property>
+ <property name="adjustment">1 1 100 1 10 0</property>
</widget>
<packing>
<property name="left_attach">2</property>
<property name="update_policy">GTK_UPDATE_ALWAYS</property>
<property name="snap_to_ticks">False</property>
<property name="wrap">False</property>
- <property name="adjustment">1 1 100 1 10 10</property>
+ <property name="adjustment">1 1 100 1 10 0</property>
</widget>
<packing>
<property name="left_attach">2</property>
<property name="update_policy">GTK_UPDATE_ALWAYS</property>
<property name="snap_to_ticks">False</property>
<property name="wrap">False</property>
- <property name="adjustment">0 0 100 1 10 10</property>
+ <property name="adjustment">0 0 100 1 10 0</property>
</widget>
<packing>
<property name="left_attach">1</property>
<property name="update_policy">GTK_UPDATE_ALWAYS</property>
<property name="snap_to_ticks">False</property>
<property name="wrap">False</property>
- <property name="adjustment">0 0 100 1 10 10</property>
+ <property name="adjustment">0 0 100 1 10 0</property>
</widget>
<packing>
<property name="left_attach">2</property>
<property name="update_policy">GTK_UPDATE_ALWAYS</property>
<property name="snap_to_ticks">False</property>
<property name="wrap">False</property>
- <property name="adjustment">0 0 100 1 10 10</property>
+ <property name="adjustment">0 0 100 1 10 0</property>
</widget>
<packing>
<property name="left_attach">1</property>
<property name="update_policy">GTK_UPDATE_ALWAYS</property>
<property name="snap_to_ticks">False</property>
<property name="wrap">False</property>
- <property name="adjustment">0 0 100 1 10 10</property>
+ <property name="adjustment">0 0 100 1 10 0</property>
</widget>
<packing>
<property name="left_attach">2</property>
<property name="update_policy">GTK_UPDATE_ALWAYS</property>
<property name="snap_to_ticks">False</property>
<property name="wrap">False</property>
- <property name="adjustment">0 0 100 1 10 10</property>
+ <property name="adjustment">0 0 100 1 10 0</property>
</widget>
<packing>
<property name="left_attach">1</property>
<property name="update_policy">GTK_UPDATE_ALWAYS</property>
<property name="snap_to_ticks">False</property>
<property name="wrap">False</property>
- <property name="adjustment">0 0 100 1 10 10</property>
+ <property name="adjustment">0 0 100 1 10 0</property>
</widget>
<packing>
<property name="left_attach">2</property>
<property name="update_policy">GTK_UPDATE_ALWAYS</property>
<property name="snap_to_ticks">False</property>
<property name="wrap">False</property>
- <property name="adjustment">0 0 100 1 10 10</property>
+ <property name="adjustment">0 0 100 1 10 0</property>
</widget>
<packing>
<property name="left_attach">1</property>
<property name="update_policy">GTK_UPDATE_ALWAYS</property>
<property name="snap_to_ticks">False</property>
<property name="wrap">False</property>
- <property name="adjustment">0 0 100 1 10 10</property>
+ <property name="adjustment">0 0 100 1 10 0</property>
</widget>
<packing>
<property name="left_attach">2</property>
copies->sheets_radio =
gtk_radio_button_new_with_label (radio_group, _("Sheets:"));
gtk_box_pack_start (GTK_BOX(whbox1), copies->sheets_radio, FALSE, FALSE, 0);
- adjust = gtk_adjustment_new (1, 1.0, 10.0, 1.0, 10.0, 10.0);
+ adjust = gtk_adjustment_new (1, 1.0, 100.0, 1.0, 10.0, 0.0);
copies->sheets_spin = gtk_spin_button_new (GTK_ADJUSTMENT (adjust),
1.0, 0);
gtk_box_pack_start (GTK_BOX(whbox1), copies->sheets_spin, FALSE, FALSE, 0);
gtk_radio_button_new_with_label (radio_group, _("Labels"));
gtk_box_pack_start (GTK_BOX(whbox1), copies->labels_radio, FALSE, FALSE, 0);
gtk_box_pack_start (GTK_BOX(whbox1), gtk_label_new (_("from:")), FALSE, FALSE, 0);
- adjust = gtk_adjustment_new (1, 1.0, copies->labels_per_sheet,
- 1.0, 10.0, 10.0);
+ adjust = gtk_adjustment_new (1, 1.0, copies->labels_per_sheet, 1.0, 10.0, 0.0);
copies->first_spin = gtk_spin_button_new (GTK_ADJUSTMENT (adjust),
1.0, 0);
gtk_box_pack_start (GTK_BOX(whbox1), copies->first_spin, FALSE, FALSE, 0);
gtk_box_pack_start (GTK_BOX(whbox1), gtk_label_new (_("to:")), FALSE, FALSE, 0);
- adjust = gtk_adjustment_new (copies->labels_per_sheet,
- 1.0, copies->labels_per_sheet,
- 1.0, 10.0, 10.0);
+ adjust = gtk_adjustment_new (copies->labels_per_sheet, 1.0, copies->labels_per_sheet, 1.0, 10.0, 0.0);
copies->last_spin = gtk_spin_button_new (GTK_ADJUSTMENT (adjust),
1.0, 0);
gtk_box_pack_start (GTK_BOX(whbox1), copies->last_spin, FALSE, FALSE, 0);
gtk_spin_button_get_value_as_int (GTK_SPIN_BUTTON
(copies->last_spin));
- gtk_spin_button_get_adjustment (GTK_SPIN_BUTTON (copies->last_spin))->
- lower = first;
+ gtk_spin_button_get_adjustment (GTK_SPIN_BUTTON (copies->last_spin))->lower = first;
gl_wdgt_mini_preview_highlight_range (GL_WDGT_MINI_PREVIEW(copies->mini_preview),
- first, last);
+ first, last);
}
/*--------------------------------------------------------------------------*/
gtk_spin_button_get_value_as_int (GTK_SPIN_BUTTON
(copies->last_spin));
- gtk_spin_button_get_adjustment (GTK_SPIN_BUTTON (copies->first_spin))->
- upper = last;
+ gtk_spin_button_get_adjustment (GTK_SPIN_BUTTON (copies->first_spin))->upper = last;
gl_wdgt_mini_preview_highlight_range (GL_WDGT_MINI_PREVIEW(copies->mini_preview),
- first, last);
+ first, last);
}
/*--------------------------------------------------------------------------*/
whbox1 = gtk_hbox_new (FALSE, GL_HIG_PAD2);
gtk_box_pack_start (GTK_BOX(wvbox), whbox1, FALSE, FALSE, 0);
gtk_box_pack_start (GTK_BOX(whbox1),
- gtk_label_new (_("Start on label")), FALSE, FALSE, 0);
- adjust =
- gtk_adjustment_new (1, 1.0, merge->labels_per_sheet, 1.0, 10.0,
- 10.0);
- merge->first_spin =
- gtk_spin_button_new (GTK_ADJUSTMENT (adjust), 1.0, 0);
+ gtk_label_new (_("Start on label")), FALSE, FALSE, 0);
+ adjust = gtk_adjustment_new (1, 1.0, merge->labels_per_sheet, 1.0, 10.0, 0.0);
+ merge->first_spin = gtk_spin_button_new (GTK_ADJUSTMENT (adjust), 1.0, 0);
gtk_box_pack_start (GTK_BOX(whbox1), merge->first_spin, FALSE, FALSE, 0);
gtk_box_pack_start (GTK_BOX(whbox1),
gtk_label_new (_("on 1st sheet")), FALSE, FALSE, 0);
gtk_box_pack_start (GTK_BOX(wvbox), whbox1, FALSE, FALSE, 0);
gtk_box_pack_start (GTK_BOX(whbox1),
gtk_label_new (_("Copies:")), FALSE, FALSE, 0);
- adjust = gtk_adjustment_new (1, 1.0, 10.0, 1.0, 10.0, 10.0);
- merge->copies_spin = gtk_spin_button_new (GTK_ADJUSTMENT (adjust),
- 1.0, 0);
+ adjust = gtk_adjustment_new (1, 1.0, 100.0, 1.0, 10.0, 0.0);
+ merge->copies_spin = gtk_spin_button_new (GTK_ADJUSTMENT (adjust), 1.0, 0);
gtk_box_pack_start (GTK_BOX(whbox1), merge->copies_spin, FALSE, FALSE, 0);
gtk_box_pack_start (GTK_BOX(whbox1), gtk_label_new (" "), FALSE, FALSE, 0);
merge->collate_check = gtk_check_button_new_with_label (_("Collate"));