[Xfce4-commits] r30383 - in xfcalendar/trunk: . src

Juha Kautto juha at xfce.org
Fri Jul 24 10:38:58 CEST 2009


Author: juha
Date: 2009-07-24 08:38:57 +0000 (Fri, 24 Jul 2009)
New Revision: 30383

Modified:
   xfcalendar/trunk/configure.in.in
   xfcalendar/trunk/src/appointment.c
   xfcalendar/trunk/src/day-view.c
Log:
Fix for bug Bug 5601: 
Hour and minute boxes were too small for some fonts.


Modified: xfcalendar/trunk/configure.in.in
===================================================================
--- xfcalendar/trunk/configure.in.in	2009-07-24 01:00:28 UTC (rev 30382)
+++ xfcalendar/trunk/configure.in.in	2009-07-24 08:38:57 UTC (rev 30383)
@@ -9,7 +9,7 @@
 dnl
 
 dnl Version information
-m4_define([orage_version], [4.7.3.1-svn])
+m4_define([orage_version], [4.7.3.2-svn])
 
 m4_define([gtk_minimum_version], [2.10.0])
 m4_define([xfce_minimum_version], [4.6.0])

Modified: xfcalendar/trunk/src/appointment.c
===================================================================
--- xfcalendar/trunk/src/appointment.c	2009-07-24 01:00:28 UTC (rev 30382)
+++ xfcalendar/trunk/src/appointment.c	2009-07-24 08:38:57 UTC (rev 30383)
@@ -102,14 +102,14 @@
     gtk_box_pack_start(GTK_BOX(hbox), space_label, FALSE, FALSE, 0);
 
     gtk_spin_button_set_wrap(GTK_SPIN_BUTTON(spin_hh), TRUE);
-    gtk_widget_set_size_request(spin_hh, 40, -1);
+    /* gtk_widget_set_size_request(spin_hh, 40, -1); */
     gtk_box_pack_start(GTK_BOX(hbox), spin_hh, FALSE, FALSE, 0);
 
     space_label = gtk_label_new(":");
     gtk_box_pack_start(GTK_BOX(hbox), space_label, FALSE, FALSE, 0);
 
     gtk_spin_button_set_wrap(GTK_SPIN_BUTTON(spin_mm), TRUE);
-    gtk_widget_set_size_request(spin_mm, 40, -1);
+    /* gtk_widget_set_size_request(spin_mm, 40, -1); */
     gtk_box_pack_start(GTK_BOX(hbox), spin_mm, FALSE, FALSE, 0);
 
     if (timezone_button) {
@@ -144,7 +144,7 @@
     gtk_box_pack_start(GTK_BOX(hbox), space_label, FALSE, FALSE, 0);
 
     gtk_spin_button_set_wrap(GTK_SPIN_BUTTON(spin_hh), TRUE);
-    gtk_widget_set_size_request(spin_hh, 40, -1);
+    /* gtk_widget_set_size_request(spin_hh, 40, -1); */
     gtk_box_pack_start(GTK_BOX(hbox), spin_hh, FALSE, FALSE, 0);
 
     gtk_box_pack_start(GTK_BOX(hbox), hh_label, FALSE, FALSE, 5);
@@ -153,7 +153,7 @@
     gtk_box_pack_start(GTK_BOX(hbox), space_label, FALSE, FALSE, 0);
 
     gtk_spin_button_set_wrap(GTK_SPIN_BUTTON(spin_mm), TRUE);
-    gtk_widget_set_size_request(spin_mm, 40, -1);
+    /* gtk_widget_set_size_request(spin_mm, 40, -1); */
     gtk_box_pack_start(GTK_BOX(hbox), spin_mm, FALSE, FALSE, 0);
 
     gtk_box_pack_start(GTK_BOX(hbox), mm_label, FALSE, FALSE, 5);

Modified: xfcalendar/trunk/src/day-view.c
===================================================================
--- xfcalendar/trunk/src/day-view.c	2009-07-24 01:00:28 UTC (rev 30382)
+++ xfcalendar/trunk/src/day-view.c	2009-07-24 08:38:57 UTC (rev 30383)
@@ -697,7 +697,6 @@
     /* show days spin = how many days to show */
     dw->day_spin = gtk_spin_button_new_with_range(1, MAX_DAYS, 1);
     gtk_spin_button_set_wrap(GTK_SPIN_BUTTON(dw->day_spin), TRUE);
-    gtk_widget_set_size_request(dw->day_spin, 40, -1);
     gtk_box_pack_start(GTK_BOX(hbox), dw->day_spin, FALSE, FALSE, 0);
     label = gtk_label_new(_("days"));
     gtk_box_pack_start(GTK_BOX(hbox), label, FALSE, FALSE, 5);




More information about the Xfce4-commits mailing list