summaryrefslogtreecommitdiffstats
path: root/gtk/src/main.c
diff options
context:
space:
mode:
authorjstebbins <[email protected]>2009-11-20 01:00:40 +0000
committerjstebbins <[email protected]>2009-11-20 01:00:40 +0000
commitf2ed381129d68657f6da6825d6d1b1762ba46b7e (patch)
tree4414788de3e9aea21ec2025609f7264a88b961e0 /gtk/src/main.c
parentc3df5ba79e54db7b0a25d4c56873f58b1b010cd6 (diff)
LinGui: force button images to be always enabled
A change in gnome/gtk makes button images invisible if the button has a label. This is pure idiocy, so I'm overriding it. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2946 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'gtk/src/main.c')
-rw-r--r--gtk/src/main.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gtk/src/main.c b/gtk/src/main.c
index 84b7bf4d5..7a08d2b63 100644
--- a/gtk/src/main.c
+++ b/gtk/src/main.c
@@ -688,6 +688,8 @@ main (int argc, char *argv[])
gtk_set_locale ();
gtk_init (&argc, &argv);
gtk_rc_parse_string(hud_rcstyle);
+ g_type_class_unref(g_type_class_ref(GTK_TYPE_BUTTON));
+ g_object_set(gtk_settings_get_default(), "gtk-button-images", TRUE, NULL);
#if !defined(_WIN32)
notify_init("HandBrake");
#endif