gucharmap r1766 - trunk/gucharmap



Author: chpe
Date: Mon Mar 31 13:18:07 2008
New Revision: 1766
URL: http://svn.gnome.org/viewvc/gucharmap?rev=1766&view=rev

Log:
Don't focus the font selector combo and buttons on click.


Modified:
   trunk/gucharmap/gucharmap-mini-fontsel.c

Modified: trunk/gucharmap/gucharmap-mini-fontsel.c
==============================================================================
--- trunk/gucharmap/gucharmap-mini-fontsel.c	(original)
+++ trunk/gucharmap/gucharmap-mini-fontsel.c	Mon Mar 31 13:18:07 2008
@@ -323,6 +323,10 @@
   gtk_box_pack_start (GTK_BOX (fontsel), fontsel->italic, FALSE, FALSE, 0);
   gtk_box_pack_start (GTK_BOX (fontsel), fontsel->size, FALSE, FALSE, 0);
 
+  gtk_combo_box_set_focus_on_click (GTK_COMBO_BOX (fontsel->family), FALSE);
+  gtk_button_set_focus_on_click (GTK_BUTTON (fontsel->bold), FALSE);
+  gtk_button_set_focus_on_click (GTK_BUTTON (fontsel->italic), FALSE);
+
   gtk_container_set_border_width (GTK_CONTAINER (fontsel), 6);
 
   gtk_widget_show_all (GTK_WIDGET (fontsel));



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]