[uim-commit] r1178 - trunk/gtk

tkng at freedesktop.org tkng at freedesktop.org
Wed Aug 10 20:51:40 EST 2005


Author: tkng
Date: 2005-08-10 03:51:38 -0700 (Wed, 10 Aug 2005)
New Revision: 1178

Modified:
   trunk/gtk/uim-cand-win-gtk.c
Log:
* gtk/uim-cand-win-gtk.c:
 -(uim_cand_win_gtk_init): Fontsize has been adjusted to 1.2 times. 
   (Scale factor should be configrable in a few days.)


Modified: trunk/gtk/uim-cand-win-gtk.c
===================================================================
--- trunk/gtk/uim-cand-win-gtk.c	2005-08-10 00:52:47 UTC (rev 1177)
+++ trunk/gtk/uim-cand-win-gtk.c	2005-08-10 10:51:38 UTC (rev 1178)
@@ -190,6 +190,7 @@
 		    G_CALLBACK(tree_selection_changed), cwin);
 
   renderer = gtk_cell_renderer_text_new();
+  g_object_set(renderer, "scale", 1.2, NULL);
 
   column = gtk_tree_view_column_new_with_attributes("No",
 						    renderer,
@@ -199,6 +200,8 @@
   gtk_tree_view_column_set_sizing (column, GTK_TREE_VIEW_COLUMN_AUTOSIZE);
 
   renderer = gtk_cell_renderer_text_new();
+  g_object_set(renderer, "scale", 1.2, NULL);
+  /*  g_object_set(renderer, "size-points", 20.0, NULL); */
   column = gtk_tree_view_column_new_with_attributes("Text",
 						    renderer,
 						    "text", COLUMN_CANDIDATE,



More information about the uim-commit mailing list