diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2012-11-11 18:33:36 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2012-11-11 18:33:36 -0600 |
commit | 4a7ce6c116b699fb935310af59743972bb628aab (patch) | |
tree | a37c26e363a33bcd4626b4757d3c0603d3d81b6c /tdegtk | |
parent | 98eb5b995addf1bd754412065a090adb809309ab (diff) | |
download | gtk3-tqt-engine-4a7ce6c116b699fb935310af59743972bb628aab.tar.gz gtk3-tqt-engine-4a7ce6c116b699fb935310af59743972bb628aab.zip |
Split user css information and main engine css control files
Diffstat (limited to 'tdegtk')
-rw-r--r-- | tdegtk/tdegtk-theme.cpp | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/tdegtk/tdegtk-theme.cpp b/tdegtk/tdegtk-theme.cpp index fe4db01..9208ec2 100644 --- a/tdegtk/tdegtk-theme.cpp +++ b/tdegtk/tdegtk-theme.cpp @@ -29,7 +29,7 @@ // See upstream GTK bug #687173 #define TDEGTK_THEME_THEME_DIRECTORY_NAME "tdegtk" -#define TDEGTK_THEME_CONTROL_FILE_NAME "gtk.css" +#define TDEGTK_THEME_CONTROL_FILE_NAME "tdegtk.css" #define RC_CACHE_VERSION TQString("1") #define DEBUG_PRINT(x) if (gtk3TQtDebug) printf(x"\n\r"); #define DEBUG_PRINT_ARGS(x,y) if (gtk3TQtDebug) printf(x"\n\r",y); @@ -145,6 +145,9 @@ G_MODULE_EXPORT GtkThemingEngine* create_engine(void) { if (gtk3TQtDebug) { writeGtkThemeControlFile(true); } + else { + writeGtkThemeControlFile(false); + } // Initialize hooks m_widgetLookup.initializeHooks(); @@ -556,10 +559,6 @@ void writeGtkThemeControlFile(int forceRecreate) { stream << "/* " << iconTheme << ", " << tqApp->style().name() << ", " << RC_CACHE_VERSION << " */\n\n"; stream << "/* This file was generated by the Gtk TQt Theme Engine */\n"; stream << "/* It will be recreated when you change your TDE icon theme or widget style */\n\n"; - - stream << "\n"; - stream << "* {\n\tengine:tdegtk;\n}\n"; - stream << "\n"; TQScrollBar sbar(NULL); sbar.setOrientation(TQt::Horizontal); |