aboutsummaryrefslogtreecommitdiff
path: root/src/fs/gnunet-fs-gtk.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/fs/gnunet-fs-gtk.c')
-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"));