evolution r36892 - in trunk: calendar calendar/conduits/todo calendar/gui/dialogs filter mail



Author: mcrha
Date: Mon Dec 15 11:46:53 2008
New Revision: 36892
URL: http://svn.gnome.org/viewvc/evolution?rev=36892&view=rev

Log:
2008-12-15  Milan Crha  <mcrha redhat com>

	** 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.



Modified:
   trunk/calendar/ChangeLog
   trunk/calendar/conduits/todo/todo-conduit.c
   trunk/calendar/gui/dialogs/recurrence-page.c
   trunk/filter/ChangeLog
   trunk/filter/filter-int.c
   trunk/mail/ChangeLog
   trunk/mail/em-account-editor.c

Modified: trunk/calendar/conduits/todo/todo-conduit.c
==============================================================================
--- trunk/calendar/conduits/todo/todo-conduit.c	(original)
+++ trunk/calendar/conduits/todo/todo-conduit.c	Mon Dec 15 11:46:53 2008
@@ -240,7 +240,7 @@
 	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);

Modified: trunk/calendar/gui/dialogs/recurrence-page.c
==============================================================================
--- trunk/calendar/gui/dialogs/recurrence-page.c	(original)
+++ trunk/calendar/gui/dialogs/recurrence-page.c	Mon Dec 15 11:46:53 2008
@@ -1377,7 +1377,7 @@
 	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,

Modified: trunk/filter/filter-int.c
==============================================================================
--- trunk/filter/filter-int.c	(original)
+++ trunk/filter/filter-int.c	Mon Dec 15 11:46:53 2008
@@ -241,7 +241,7 @@
 	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);
 

Modified: trunk/mail/em-account-editor.c
==============================================================================
--- trunk/mail/em-account-editor.c	(original)
+++ trunk/mail/em-account-editor.c	Mon Dec 15 11:46:53 2008
@@ -1999,7 +1999,7 @@
 	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);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]