--- breeze-5.4.2/misc/gtkbreeze/main.cpp 2015-10-01 11:33:03.000000000 +0200 +++ breeze-5.4.2.new/misc/gtkbreeze/main.cpp 2015-10-18 16:45:26.142502413 +0200 @@ -74,7 +74,7 @@ QString isGtkThemeSetToOxygen(QString gt */ int setGtk2() { - const QString gtk2Theme = QStringLiteral("Orion"); // Orion looks kindae like breeze + const QString gtk2Theme = QStringLiteral("BreezyGTK"); // BreezyGTK looks kindae like breeze const QString gtk2ThemeSettings = QStringLiteral("gtk-2.0/gtkrc"); // system installed file to check for const QString gtkThemeDirectory = isGtkThemeInstalled(gtk2Theme, gtk2ThemeSettings); @@ -106,7 +106,7 @@ int setGtk2() out << QStringLiteral("}\n"); out << QStringLiteral("widget_class \"*\" style \"user-font\"\n"); out << QStringLiteral("gtk-font-name=\"Oxygen-Sans Sans-Book 10\"\n"); // matches plasma-workspace:startkde/startkde.cmake - out << QStringLiteral("gtk-theme-name=\"Orion\"\n"); + out << QStringLiteral("gtk-theme-name=\"BreezyGTK\"\n"); out << QStringLiteral("gtk-icon-theme-name=\"breeze\"\n"); out << QStringLiteral("gtk-fallback-icon-theme=\"gnome\"\n"); out << QStringLiteral("gtk-toolbar-style=GTK_TOOLBAR_ICONS\n"); @@ -123,8 +123,8 @@ int setGtk3() { qCDebug(GTKBREEZE) << "setGtk3()"; - const QString gtk3Theme = QStringLiteral("Orion"); // Orion looks kindae like breeze - const QString gtk3ThemeSettings = QStringLiteral("gtk-3.0/settings.ini"); // check for installed /usr/share/themes/Orion/gtk-3.0/settings.ini + const QString gtk3Theme = QStringLiteral("BreezyGTK"); // BreezyGTK looks kindae like breeze + const QString gtk3ThemeSettings = QStringLiteral("gtk-3.0/settings.ini"); // check for installed /usr/share/themes/BreezyGTK/gtk-3.0/settings.ini const QString gtkThemeDirectory = isGtkThemeInstalled(gtk3Theme, gtk3ThemeSettings); if (gtkThemeDirectory == 0) { @@ -158,26 +158,6 @@ int setGtk3() out << QStringLiteral("gtk-menu-images=1\n"); out << QStringLiteral("gtk-button-images=1\n"); qCDebug(GTKBREEZE) << "gtk3rc written"; - - QString cssFile = QStandardPaths::standardLocations(QStandardPaths::HomeLocation).first() + - QDir::separator() + ".config/gtk-3.0/gtk.css"; - QFile gtkcss3writer(cssFile); - opened = gtkcss3writer.open(QIODevice::WriteOnly | QIODevice::Text); - if (!opened) { - qCWarning(GTKBREEZE) << "failed to open " << cssFile; - return 1; - } - QTextStream outcss(>kcss3writer); - outcss << QStringLiteral(".window-frame, .window-frame:backdrop {\n"); - outcss << QStringLiteral(" box-shadow: 0 0 0 black;\n"); - outcss << QStringLiteral(" border-style: none;\n"); - outcss << QStringLiteral(" margin: 0;\n"); - outcss << QStringLiteral(" border-radius: 0;\n"); - outcss << QStringLiteral("}\n\n"); - outcss << QStringLiteral(".titlebar {\n"); - outcss << QStringLiteral(" border-radius: 0;\n"); - outcss << QStringLiteral("}\n"); - qCDebug(GTKBREEZE) << ".config/gtk-3.0/gtk.css written"; return 0; }