Rename a number of classes to enhance compatibility with KDE4

pull/1/head
Timothy Pearson 12 years ago
parent 59984d0d07
commit bc80a5e463

@ -297,7 +297,7 @@ void gtk3_tqt_reload_theme_definition_file(const char* filename) {
g_object_unref(provider); g_object_unref(provider);
} }
TQString tdeFontToGTKFontString(TQFont font) { TQString tdeFontToGTTDEFontString(TQFont font) {
TQString fontDescriptor = "font: "; TQString fontDescriptor = "font: ";
fontDescriptor.append(font.family()); fontDescriptor.append(font.family());
if (font.bold()) { if (font.bold()) {
@ -1020,9 +1020,9 @@ void writeGtkThemeControlFile(int forceRecreate) {
// TQFont windowTitleFont = TDEGlobalSettings::windowTitleFont(); // TQFont windowTitleFont = TDEGlobalSettings::windowTitleFont();
// TQFont taskbarFont = TDEGlobalSettings::taskbarFont(); // TQFont taskbarFont = TDEGlobalSettings::taskbarFont();
stream << parse_rc_string(tdeFontToGTKFontString(generalFont), "*"); stream << parse_rc_string(tdeFontToGTTDEFontString(generalFont), "*");
stream << parse_rc_string(tdeFontToGTKFontString(toolBarFont), "*GtkToolbar*GtkButton*"); stream << parse_rc_string(tdeFontToGTTDEFontString(toolBarFont), "*GtkToolbar*GtkButton*");
stream << parse_rc_string(tdeFontToGTKFontString(menuFont), "*.GtkMenu"); stream << parse_rc_string(tdeFontToGTTDEFontString(menuFont), "*.GtkMenu");
themeFile.close(); themeFile.close();

Loading…
Cancel
Save