aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2012-01-06 08:56:56 +0000
committerChristian Grothoff <christian@grothoff.org>2012-01-06 08:56:56 +0000
commitaae743ebe9b9f32e87565199f9e426ba4c1c23fa (patch)
treecddf61938ff035325b4995a7aad119f012700739
parenta84e74d83204bf8f424d204e4b6a0edd48083aee (diff)
downloadgnunet-gtk-aae743ebe9b9f32e87565199f9e426ba4c1c23fa.tar.gz
gnunet-gtk-aae743ebe9b9f32e87565199f9e426ba4c1c23fa.zip
-LRN: force gtk-button-images=TRUE
-rw-r--r--src/fs/gnunet-fs-gtk.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/fs/gnunet-fs-gtk.c b/src/fs/gnunet-fs-gtk.c
index 3fe40c38..a940f459 100644
--- a/src/fs/gnunet-fs-gtk.c
+++ b/src/fs/gnunet-fs-gtk.c
@@ -730,6 +730,13 @@ GNUNET_GTK_main_window_realize_cb (GtkWidget * widget, gpointer user_data)
730 730
731 builder = GTK_BUILDER (user_data); 731 builder = GTK_BUILDER (user_data);
732 732
733 /* Make sure button class is realized */
734 g_type_class_unref (g_type_class_ref (GTK_TYPE_BUTTON));
735 /* GNUnet main window assumes that images on buttons are visible,
736 * override the theme's gtkrc setting
737 */
738 g_object_set (gtk_settings_get_default (), "gtk-button-images", TRUE, NULL);
739
733 namespace_treestore = 740 namespace_treestore =
734 GTK_TREE_STORE (GNUNET_FS_GTK_get_main_window_object 741 GTK_TREE_STORE (GNUNET_FS_GTK_get_main_window_object
735 ("main_window_search_namespace_treestore")); 742 ("main_window_search_namespace_treestore"));