Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:12.1:Update
cheese
cheese-prefer-darkGTK+-theme.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File cheese-prefer-darkGTK+-theme.patch of Package cheese
From e01861e0fffcba31de49c8266f49ea6861e26441 Mon Sep 17 00:00:00 2001 From: David King <amigadave@amigadave.com> Date: Tue, 4 Oct 2011 10:49:54 +0200 Subject: [PATCH] Prefer a dark GTK+ theme, bug 660628 --- src/cheese-main.vala | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/src/cheese-main.vala b/src/cheese-main.vala index cf9bb42..0d1cd53 100644 --- a/src/cheese-main.vala +++ b/src/cheese-main.vala @@ -52,6 +52,11 @@ public class Cheese.Main : Gtk.Application main_window.present (); else { + // Prefer a dark GTK+ theme, bug 660628. + var gtk_settings = Gtk.Settings.get_default (); + if (gtk_settings != null) + gtk_settings.gtk_application_prefer_dark_theme = true; + main_window = new Cheese.MainWindow (); Environment.set_application_name (_("Cheese")); -- 1.7.3.4
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor