diff options
author | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2011-10-11 22:55:03 +0800 |
---|---|---|
committer | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2011-10-12 22:40:38 +0800 |
commit | 990f61afe75fa02ff525c20094d55d980e5df36f (patch) | |
tree | 6a39cc475b0a7a4bd523d15f6c5dce50e868ff6a | |
parent | 434aec0c86f6eae4a7f09759d25810dc176bfc49 (diff) | |
download | gsoc2013-empathy-990f61afe75fa02ff525c20094d55d980e5df36f.tar gsoc2013-empathy-990f61afe75fa02ff525c20094d55d980e5df36f.tar.gz gsoc2013-empathy-990f61afe75fa02ff525c20094d55d980e5df36f.tar.bz2 gsoc2013-empathy-990f61afe75fa02ff525c20094d55d980e5df36f.tar.lz gsoc2013-empathy-990f61afe75fa02ff525c20094d55d980e5df36f.tar.xz gsoc2013-empathy-990f61afe75fa02ff525c20094d55d980e5df36f.tar.zst gsoc2013-empathy-990f61afe75fa02ff525c20094d55d980e5df36f.zip |
empathy-call: use dark theme
https://bugzilla.gnome.org/show_bug.cgi?id=661464
-rw-r--r-- | src/empathy-call.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/empathy-call.c b/src/empathy-call.c index 1b643dec1..2ff49a81b 100644 --- a/src/empathy-call.c +++ b/src/empathy-call.c @@ -182,6 +182,7 @@ main (int argc, #endif GError *error = NULL; gint retval; + GtkSettings *gtk_settings; /* Init */ g_thread_init (NULL); @@ -221,6 +222,10 @@ main (int argc, gtk_window_set_default_icon_name ("empathy"); textdomain (GETTEXT_PACKAGE); + gtk_settings = gtk_settings_get_default (); + g_object_set (G_OBJECT (gtk_settings), "gtk-application-prefer-dark-theme", + TRUE, NULL); + app = gtk_application_new (EMPATHY_CALL_DBUS_NAME, G_APPLICATION_FLAGS_NONE); g_signal_connect (app, "activate", G_CALLBACK (activate_cb), NULL); |