diff options
author | root <root@rshg054.dnsready.net> | 2013-02-14 00:04:52 -0800 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2013-02-14 00:04:52 -0800 |
commit | 0bf564cf7a3d99207457267c75f92ceb67197537 (patch) | |
tree | 92c12891df8b8cc45a54b34413ecba167599bed5 /extra/oxygen-gtk2/fix-regression.patch | |
parent | 0671250710c3e7312a4693ac45ebbaacf471d1dc (diff) |
Thu Feb 14 00:04:51 PST 2013
Diffstat (limited to 'extra/oxygen-gtk2/fix-regression.patch')
-rw-r--r-- | extra/oxygen-gtk2/fix-regression.patch | 48 |
1 files changed, 0 insertions, 48 deletions
diff --git a/extra/oxygen-gtk2/fix-regression.patch b/extra/oxygen-gtk2/fix-regression.patch deleted file mode 100644 index 466b53c17..000000000 --- a/extra/oxygen-gtk2/fix-regression.patch +++ /dev/null @@ -1,48 +0,0 @@ -diff --git a/src/oxygenqtsettings.cpp b/src/oxygenqtsettings.cpp -index f2ad1af..9965086 100644 ---- a/src/oxygenqtsettings.cpp -+++ b/src/oxygenqtsettings.cpp -@@ -102,6 +102,9 @@ namespace Oxygen - - const bool forced( flags&Forced ); - -+ // no attempt at initializing if gtk settings is not yet set -+ if( !gtk_settings_get_default() ) return false; -+ - if( _initialized && !forced ) return false; - else if( !forced ) _initialized = true; - -diff --git a/src/oxygenstylewrapper.cpp b/src/oxygenstylewrapper.cpp -index ff0666b..a2572b0 100644 ---- a/src/oxygenstylewrapper.cpp -+++ b/src/oxygenstylewrapper.cpp -@@ -3741,6 +3741,10 @@ namespace Oxygen - #endif - - // style initialization -+ /* -+ this is normally achieved in theme_init, but is somehow not working with gnome shell -+ so that it is redone here, since duplication is avoided when initialization is called twice without modifications -+ */ - Style::instance().initialize(); - - // hooks -diff --git a/src/oxygentheme.cpp b/src/oxygentheme.cpp -index 50b04e2..9bc49e1 100644 ---- a/src/oxygentheme.cpp -+++ b/src/oxygentheme.cpp -@@ -52,12 +52,8 @@ void theme_init( GTypeModule* module ) - Oxygen::RCStyle::registerType( module ); - Oxygen::StyleWrapper::registerType( module ); - -- // initialize oxygen here, for XUL applications -- // special care is taken to not initialize everything -- Oxygen::ApplicationName applicationName; -- applicationName.initialize(); -- if( applicationName.isXul() ) -- { Oxygen::Style::instance().initialize( Oxygen::QtSettings::Forced | Oxygen::QtSettings::Colors ); } -+ // style initialization -+ Oxygen::Style::instance().initialize(); - - } - |