[empathy] empathy-call: use dark theme
- From: Guillaume Desmottes <gdesmott src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [empathy] empathy-call: use dark theme
- Date: Wed, 12 Oct 2011 16:01:44 +0000 (UTC)
commit 990f61afe75fa02ff525c20094d55d980e5df36f
Author: Guillaume Desmottes <guillaume desmottes collabora co uk>
Date: Tue Oct 11 10:55:03 2011 -0400
empathy-call: use dark theme
https://bugzilla.gnome.org/show_bug.cgi?id=661464
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 1b643de..2ff49a8 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);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]