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