gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] r19033 - gnunet-gtk/src/fs


From: gnunet
Subject: [GNUnet-SVN] r19033 - gnunet-gtk/src/fs
Date: Fri, 6 Jan 2012 09:56:56 +0100

Author: grothoff
Date: 2012-01-06 09:56:56 +0100 (Fri, 06 Jan 2012)
New Revision: 19033

Modified:
   gnunet-gtk/src/fs/gnunet-fs-gtk.c
Log:
-LRN: force gtk-button-images=TRUE

Modified: gnunet-gtk/src/fs/gnunet-fs-gtk.c
===================================================================
--- gnunet-gtk/src/fs/gnunet-fs-gtk.c   2012-01-06 08:52:11 UTC (rev 19032)
+++ gnunet-gtk/src/fs/gnunet-fs-gtk.c   2012-01-06 08:56:56 UTC (rev 19033)
@@ -730,6 +730,13 @@
 
   builder = GTK_BUILDER (user_data);
 
+  /* Make sure button class is realized */
+  g_type_class_unref (g_type_class_ref (GTK_TYPE_BUTTON));
+  /* GNUnet main window assumes that images on buttons are visible,
+   * override the theme's gtkrc setting
+   */
+  g_object_set (gtk_settings_get_default (), "gtk-button-images", TRUE, NULL);
+
   namespace_treestore =
       GTK_TREE_STORE (GNUNET_FS_GTK_get_main_window_object
                       ("main_window_search_namespace_treestore"));




reply via email to

[Prev in Thread] Current Thread [Next in Thread]