Commit f901dd63 authored by Thibault Saunier's avatar Thibault Saunier

pitivi: Set GTK_THEME to the theme used by pitivi

This way applications we launch in a subprocess will be using the same theme as Pitivi itself
parent 79d2b3cd
......@@ -122,6 +122,9 @@ class MainWindow(Gtk.ApplicationWindow, Loggable):
def __init__(self, app):
gtksettings = Gtk.Settings.get_default()
gtksettings.set_property("gtk-application-prefer-dark-theme", True)
theme = gtksettings.get_property("gtk-theme-name")
os.environ["GTK_THEME"] = theme + ":dark"
# Pulseaudio "role"
# (
os.environ["PULSE_PROP_media.role"] = "production"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment