[uim-commit] r595 - trunk/helper

tkng at freedesktop.org tkng at freedesktop.org
Mon Feb 7 00:38:51 PST 2005


Author: tkng
Date: 2005-02-07 00:38:45 -0800 (Mon, 07 Feb 2005)
New Revision: 595

Modified:
   trunk/helper/pref-gtk.c
Log:
* helper/pref-gtk.c:
 -(create_pref_window): Extended initial window size.


Modified: trunk/helper/pref-gtk.c
===================================================================
--- trunk/helper/pref-gtk.c	2005-02-07 08:31:55 UTC (rev 594)
+++ trunk/helper/pref-gtk.c	2005-02-07 08:38:45 UTC (rev 595)
@@ -461,8 +461,8 @@
   {
   GdkScreen *scr = gtk_window_get_screen(GTK_WINDOW(window));
   gtk_window_set_default_size(GTK_WINDOW(window),
-			      gdk_screen_get_width(scr)  / 2,
-			      gdk_screen_get_height(scr) / 2);
+			      gdk_screen_get_width(scr)  * 0.7,
+			      gdk_screen_get_height(scr) * 0.7);
   gtk_window_set_position(GTK_WINDOW(window),
 			  GTK_WIN_POS_CENTER_ALWAYS);
   }



More information about the Uim-commit mailing list