org.guifications.plugins: 35518a623b7d679a37dade6ba0dd237eb3e6f50b

rekkanoryo at guifications.org rekkanoryo at guifications.org
Sun Nov 18 11:40:05 CST 2007


-----------------------------------------------------------------
Revision: 35518a623b7d679a37dade6ba0dd237eb3e6f50b
Ancestor: d7372f52a6b8a3447d462e65732ac75e50ee90a9
Author: rekkanoryo at guifications.org
Date: 2007-11-18T17:38:05
Branch: org.guifications.plugins

Modified files:
        enhancedhist/enhanced_hist.c

ChangeLog: 

Make the three lower spinbuttons members of the same size group so they
don't look so crappy.

-----------------------------------------------------------------
This revision's diffstat output:
 enhanced_hist.c |    8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)
-------------- next part --------------
============================================================
--- enhancedhist/enhanced_hist.c	1f20f9977e7732ef7386de32f00411919802238d
+++ enhancedhist/enhanced_hist.c	9883a14655ed78825cb2dc9f111fea749615fbda
@@ -250,8 +250,10 @@ eh_prefs_get_frame(PurplePlugin *plugin)
 static GtkWidget *
 eh_prefs_get_frame(PurplePlugin *plugin)
 {
+	GtkSizeGroup *sg = NULL;
 	GtkWidget *vbox = NULL, *frame = NULL, *option = NULL;
 
+	sg = gtk_size_group_new(GTK_SIZE_GROUP_HORIZONTAL);
 	vbox = gtk_vbox_new(TRUE, PIDGIN_HIG_BOX_SPACE);
 
 	frame = pidgin_make_frame(vbox, _("Display Options"));
@@ -267,11 +269,11 @@ eh_prefs_get_frame(PurplePlugin *plugin)
 
 	frame = pidgin_make_frame(vbox, _("Age Limit for Logs (0 to disable):"));
 
-	option = pidgin_prefs_labeled_spin_button(frame, "Days:", PREF_DAYS_PATH, 0, 255, NULL);
+	option = pidgin_prefs_labeled_spin_button(frame, "Days:", PREF_DAYS_PATH, 0, 255, sg);
 
-	option = pidgin_prefs_labeled_spin_button(frame, "Hours:", PREF_HOURS_PATH, 0, 255, NULL);
+	option = pidgin_prefs_labeled_spin_button(frame, "Hours:", PREF_HOURS_PATH, 0, 255, sg);
 
-	option = pidgin_prefs_labeled_spin_button(frame, "Minutes:", PREF_MINS_PATH, 0, 255, NULL);
+	option = pidgin_prefs_labeled_spin_button(frame, "Minutes:", PREF_MINS_PATH, 0, 255, sg);
 
 	gtk_widget_show_all(vbox);
 


More information about the Plugins-commits mailing list