[pitivi] Use a dark theme variant for GTK3
- From: Jean-FranÃois Fortin Tam <jfft src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pitivi] Use a dark theme variant for GTK3
- Date: Sun, 2 Sep 2012 03:58:24 +0000 (UTC)
commit 1130ce78c5f91b8e46cbd8756f14a6adf41000d9
Author: Jean-FranÃois Fortin Tam <nekohayo gmail com>
Date: Mon Jul 30 12:54:38 2012 +0200
Use a dark theme variant for GTK3
Fixes bug #676504
pitivi/mainwindow.py | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/pitivi/mainwindow.py b/pitivi/mainwindow.py
index e9c477f..7f6619b 100644
--- a/pitivi/mainwindow.py
+++ b/pitivi/mainwindow.py
@@ -180,6 +180,8 @@ class PitiviMainWindow(gtk.Window, Loggable):
"""
def __init__(self, instance, allow_full_screen=True):
""" initialize with the Pitivi object """
+ gtksettings = gtk.Settings.get_default()
+ gtksettings.set_property("gtk-application-prefer-dark-theme", True)
gtk.Window.__init__(self)
Loggable.__init__(self, "mainwindow")
self.app = instance
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]