[Gpa-commits] r849 - trunk/src
scm-commit@wald.intevation.org
scm-commit at wald.intevation.org
Tue Mar 18 18:40:28 CET 2008
Author: marcus
Date: 2008-03-18 18:40:27 +0100 (Tue, 18 Mar 2008)
New Revision: 849
Modified:
trunk/src/ChangeLog
trunk/src/gpawidgets.c
Log:
2008-03-18 Marcus Brinkmann <marcus at g10code.de>
* gpawidgets.c (gpa_expiry_frame_new): Use
gtk_entry_set_width_chars instead of gtk_widget_set_size_request.
Modified: trunk/src/ChangeLog
===================================================================
--- trunk/src/ChangeLog 2008-03-17 10:11:58 UTC (rev 848)
+++ trunk/src/ChangeLog 2008-03-18 17:40:27 UTC (rev 849)
@@ -1,3 +1,8 @@
+2008-03-18 Marcus Brinkmann <marcus at g10code.de>
+
+ * gpawidgets.c (gpa_expiry_frame_new): Use
+ gtk_entry_set_width_chars instead of gtk_widget_set_size_request.
+
2008-03-12 Werner Koch <wk at g10code.com>
* gpastreamsignop.c, gpastreamsignop.h: New.
Modified: trunk/src/gpawidgets.c
===================================================================
--- trunk/src/gpawidgets.c 2008-03-17 10:11:58 UTC (rev 848)
+++ trunk/src/gpawidgets.c 2008-03-18 17:40:27 UTC (rev 849)
@@ -212,8 +212,7 @@
gtk_box_pack_start (GTK_BOX (hboxAfter), radioAfter, FALSE, FALSE, 0);
entryAfter = gtk_entry_new ();
frame->entryAfter = entryAfter;
- gtk_widget_set_size_request (entryAfter,
- gdk_string_width (gtk_style_get_font (entryAfter->style), " 00000 "), 0);
+ gtk_entry_set_width_chars (GTK_ENTRY (entryAfter), strlen (" 00000 "));
gtk_box_pack_start (GTK_BOX (hboxAfter), entryAfter, FALSE, FALSE, 0);
comboAfter = gtk_combo_new ();
More information about the Gpa-commits
mailing list