From 7365be40fe5adb231140711487e798438ff8777a Mon Sep 17 00:00:00 2001 From: Milan Crha Date: Mon, 15 Dec 2008 11:46:53 +0000 Subject: ** Part of fix for bug #563669 2008-12-15 Milan Crha ** Part of fix for bug #563669 * mail/em-account-editor.c: (emae_option_checkspin): * filter/filter-int.c: (get_widget): * calendar/gui/dialogs/recurrence-page.c: (make_ending_count_special): * calendar/conduits/todo/todo-conduit.c: (e_todo_gui_new): Use zero GtkSpinButton's PageSize, as Gtk+ requires. svn path=/trunk/; revision=36892 --- calendar/ChangeLog | 8 ++++++++ calendar/conduits/todo/todo-conduit.c | 2 +- calendar/gui/dialogs/recurrence-page.c | 2 +- filter/ChangeLog | 7 +++++++ filter/filter-int.c | 2 +- mail/ChangeLog | 7 +++++++ mail/em-account-editor.c | 2 +- 7 files changed, 26 insertions(+), 4 deletions(-) diff --git a/calendar/ChangeLog b/calendar/ChangeLog index 042df39f73..04ce223ce1 100644 --- a/calendar/ChangeLog +++ b/calendar/ChangeLog @@ -1,3 +1,11 @@ +2008-12-15 Milan Crha + + ** Part of fix for bug #563669 + + * gui/dialogs/recurrence-page.c: (make_ending_count_special): + * conduits/todo/todo-conduit.c: (e_todo_gui_new): + Use zero GtkSpinButton's PageSize, as Gtk+ requires. + 2008-12-15 Srinivasa Ragavan ** Fix for BNC bug #435452 diff --git a/calendar/conduits/todo/todo-conduit.c b/calendar/conduits/todo/todo-conduit.c index 53aeab425b..0b9d1505b9 100644 --- a/calendar/conduits/todo/todo-conduit.c +++ b/calendar/conduits/todo/todo-conduit.c @@ -240,7 +240,7 @@ e_todo_gui_new (EPilotSettings *ps) rows = E_PILOT_SETTINGS_TABLE_ROWS; lbl = gtk_label_new (_("Default Priority:")); gtk_misc_set_alignment (GTK_MISC (lbl), 0.0, 0.5); - adj = gtk_adjustment_new (1, 1, 5, 1, 5, 5); + adj = gtk_adjustment_new (1, 1, 5, 1, 5, 0); gui->priority = gtk_spin_button_new (GTK_ADJUSTMENT (adj), 1.0, 0); gtk_spin_button_set_numeric (GTK_SPIN_BUTTON (gui->priority), TRUE); gtk_table_attach_defaults (GTK_TABLE (ps), lbl, 0, 1, rows, rows + 1); diff --git a/calendar/gui/dialogs/recurrence-page.c b/calendar/gui/dialogs/recurrence-page.c index 6c879ae8e3..8a93c4dfee 100644 --- a/calendar/gui/dialogs/recurrence-page.c +++ b/calendar/gui/dialogs/recurrence-page.c @@ -1377,7 +1377,7 @@ make_ending_count_special (RecurrencePage *rpage) hbox = gtk_hbox_new (FALSE, 2); gtk_container_add (GTK_CONTAINER (priv->ending_special), hbox); - adj = GTK_ADJUSTMENT (gtk_adjustment_new (1, 1, 10000, 1, 10, 10)); + adj = GTK_ADJUSTMENT (gtk_adjustment_new (1, 1, 10000, 1, 10, 0)); priv->ending_count_spin = gtk_spin_button_new (adj, 1, 0); gtk_spin_button_set_numeric ((GtkSpinButton *)priv->ending_count_spin, TRUE); gtk_box_pack_start (GTK_BOX (hbox), priv->ending_count_spin, diff --git a/filter/ChangeLog b/filter/ChangeLog index 367645ea18..2bfb8a6aa1 100644 --- a/filter/ChangeLog +++ b/filter/ChangeLog @@ -1,3 +1,10 @@ +2008-12-15 Milan Crha + + ** Part of fix for bug #563669 + + * filter-int.c: (get_widget): + Use zero GtkSpinButton's PageSize, as Gtk+ requires. + 2008-12-10 Milan Crha ** Part of fix for bug #563870 diff --git a/filter/filter-int.c b/filter/filter-int.c index 5336884eae..969a477331 100644 --- a/filter/filter-int.c +++ b/filter/filter-int.c @@ -241,7 +241,7 @@ get_widget (FilterElement *fe) GtkObject *adjustment; FilterInt *fs = (FilterInt *)fe; - adjustment = gtk_adjustment_new (0.0, (gfloat)fs->min, (gfloat)fs->max, 1.0, 1.0, 1.0); + adjustment = gtk_adjustment_new (0.0, (gfloat)fs->min, (gfloat)fs->max, 1.0, 1.0, 0); spin = gtk_spin_button_new (GTK_ADJUSTMENT (adjustment), fs->max>fs->min+1000?5.0:1.0, 0); gtk_spin_button_set_numeric (GTK_SPIN_BUTTON (spin), TRUE); diff --git a/mail/ChangeLog b/mail/ChangeLog index 9474b2618f..d1fd83f40d 100644 --- a/mail/ChangeLog +++ b/mail/ChangeLog @@ -1,3 +1,10 @@ +2008-12-15 Milan Crha + + ** Part of fix for bug #563669 + + * em-account-editor.c: (emae_option_checkspin): + Use zero GtkSpinButton's PageSize, as Gtk+ requires. + 2008-12-15 Srinivasa Ragavan * em-format-html-display.c: Fix a impllicit warning diff --git a/mail/em-account-editor.c b/mail/em-account-editor.c index 9d82b61620..b9850bd052 100644 --- a/mail/em-account-editor.c +++ b/mail/em-account-editor.c @@ -1999,7 +1999,7 @@ emae_option_checkspin(EMAccountEditorService *service, CamelURL *url, const char hbox = gtk_hbox_new(FALSE, 0); check = g_object_new(gtk_check_button_get_type(), "label", pre, "use_underline", TRUE, "active", enable, NULL); - spin = gtk_spin_button_new((GtkAdjustment *)gtk_adjustment_new(def, min, max, 1, 1, 1), 1, 0); + spin = gtk_spin_button_new((GtkAdjustment *)gtk_adjustment_new(def, min, max, 1, 1, 0), 1, 0); if (post) label = gtk_label_new_with_mnemonic(post); gtk_box_pack_start((GtkBox *)hbox, check, FALSE, TRUE, 0); -- cgit v1.2.3