summaryrefslogtreecommitdiffstats
path: root/tdegtk/tdegtk-theme.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2012-11-11 18:33:36 -0600
committerTimothy Pearson <[email protected]>2012-11-11 18:33:36 -0600
commit4a7ce6c116b699fb935310af59743972bb628aab (patch)
treea37c26e363a33bcd4626b4757d3c0603d3d81b6c /tdegtk/tdegtk-theme.cpp
parent98eb5b995addf1bd754412065a090adb809309ab (diff)
downloadgtk3-tqt-engine-4a7ce6c116b699fb935310af59743972bb628aab.tar.gz
gtk3-tqt-engine-4a7ce6c116b699fb935310af59743972bb628aab.zip
Split user css information and main engine css control files
Diffstat (limited to 'tdegtk/tdegtk-theme.cpp')
-rw-r--r--tdegtk/tdegtk-theme.cpp9
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);