diff options
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); |