Hello community, here is the log from the commit of package kde-gtk-config5 for openSUSE:Factory checked in at 2017-02-19 01:08:44 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/kde-gtk-config5 (Old) and /work/SRC/openSUSE:Factory/.kde-gtk-config5.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "kde-gtk-config5" Changes: -------- --- /work/SRC/openSUSE:Factory/kde-gtk-config5/kde-gtk-config5.changes 2017-02-10 09:55:36.717958125 +0100 +++ /work/SRC/openSUSE:Factory/.kde-gtk-config5.new/kde-gtk-config5.changes 2017-02-19 01:08:45.458446974 +0100 @@ -1,0 +2,11 @@ +Tue Feb 14 17:58:12 CET 2017 - fab...@ritter-vogt.de + +- Update to 5.9.2 + * New feature release + * For more details please see: + * https://www.kde.org/announcements/plasma-5.9.2.php +- Changes since 5.9.1: + * Don't break compatibility with old configs + * Fix gtk-primary-button-warps-slider with GTK 2 + +------------------------------------------------------------------- Old: ---- kde-gtk-config-5.9.1.tar.xz New: ---- kde-gtk-config-5.9.2.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ kde-gtk-config5.spec ++++++ --- /var/tmp/diff_new_pack.OVeifK/_old 2017-02-19 01:08:45.906384004 +0100 +++ /var/tmp/diff_new_pack.OVeifK/_new 2017-02-19 01:08:45.910383441 +0100 @@ -18,7 +18,7 @@ %bcond_without lang Name: kde-gtk-config5 -Version: 5.9.1 +Version: 5.9.2 Release: 0 Summary: KCM Module to Configure GTK2 and GTK3 Applications Appearance Under KDE License: LGPL-3.0+ and GPL-3.0+ ++++++ kde-gtk-config-5.9.1.tar.xz -> kde-gtk-config-5.9.2.tar.xz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kde-gtk-config-5.9.1/CMakeLists.txt new/kde-gtk-config-5.9.2/CMakeLists.txt --- old/kde-gtk-config-5.9.1/CMakeLists.txt 2017-02-07 12:18:19.000000000 +0100 +++ new/kde-gtk-config-5.9.2/CMakeLists.txt 2017-02-14 14:14:43.000000000 +0100 @@ -1,5 +1,5 @@ project(kde-gtk-config) -set(PROJECT_VERSION "5.9.1") +set(PROJECT_VERSION "5.9.2") cmake_minimum_required(VERSION 2.8.12) find_package(ECM 0.0.9 REQUIRED NO_MODULE) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kde-gtk-config-5.9.1/cgcgtk3.knsrc new/kde-gtk-config-5.9.2/cgcgtk3.knsrc --- old/kde-gtk-config-5.9.1/cgcgtk3.knsrc 2017-02-07 12:18:15.000000000 +0100 +++ new/kde-gtk-config-5.9.2/cgcgtk3.knsrc 2017-02-14 14:14:34.000000000 +0100 @@ -2,6 +2,7 @@ Name=GTK 3.x Themes Name[ca]=Temes GTK 3.x Name[ca@valencia]=Temes GTK 3.x +Name[da]=GTK 3.x-temaer Name[de]=GTK 3.x-Designs Name[el]=Θέματα GTK 3.x Name[en_GB]=GTK 3.x Themes diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kde-gtk-config-5.9.1/cgcicon.knsrc new/kde-gtk-config-5.9.2/cgcicon.knsrc --- old/kde-gtk-config-5.9.1/cgcicon.knsrc 2017-02-07 12:18:15.000000000 +0100 +++ new/kde-gtk-config-5.9.2/cgcicon.knsrc 2017-02-14 14:14:34.000000000 +0100 @@ -2,6 +2,7 @@ Name=Icon Themes Name[ca]=Temes d'icones Name[ca@valencia]=Temes d'icones +Name[da]=Ikontemaer Name[de]=Symbol-Designs Name[el]=Θέματα εικονιδίων Name[en_GB]=Icon Themes diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kde-gtk-config-5.9.1/cgctheme.knsrc new/kde-gtk-config-5.9.2/cgctheme.knsrc --- old/kde-gtk-config-5.9.1/cgctheme.knsrc 2017-02-07 12:18:15.000000000 +0100 +++ new/kde-gtk-config-5.9.2/cgctheme.knsrc 2017-02-14 14:14:34.000000000 +0100 @@ -2,6 +2,7 @@ Name=GTK 2.x Themes Name[ca]=Temes GTK 2.x Name[ca@valencia]=Temes GTK 2.x +Name[da]=GTK 2.x-temaer Name[de]=GTK 2.x-Designs Name[el]=Θέματα GTK 2.x Name[en_GB]=GTK 2.x Themes diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kde-gtk-config-5.9.1/src/abstractappearance.cpp new/kde-gtk-config-5.9.2/src/abstractappearance.cpp --- old/kde-gtk-config-5.9.1/src/abstractappearance.cpp 2017-02-07 12:18:15.000000000 +0100 +++ new/kde-gtk-config-5.9.2/src/abstractappearance.cpp 2017-02-14 14:14:34.000000000 +0100 @@ -24,6 +24,11 @@ #include <QDir> #include <QDebug> +static bool isTrue(const QString& value) +{ + return value == "1" || value == "true"; +} + //SETTERS void AbstractAppearance::setTheme(const QString& name) { m_settings["theme"] = name;} void AbstractAppearance::setCursor(const QString& cur) { m_settings["cursor"] = cur;} @@ -32,7 +37,7 @@ void AbstractAppearance::setFont(const QString& fo) { m_settings["font"] = fo;} void AbstractAppearance::setShowIconsInButtons(bool show) { m_settings["show_icons_buttons"] = show ? "1" : "0"; } void AbstractAppearance::setShowIconsInMenus(bool show) { m_settings["show_icons_menus"] = show ? "1" : "0"; } -void AbstractAppearance::setPrimaryButtonWarpsSlider(bool enabled) { m_settings["primary_button_warps_slider"] = enabled ? "true" : "false"; } +void AbstractAppearance::setPrimaryButtonWarpsSlider(bool enabled) { m_settings["primary_button_warps_slider"] = enabled ? "1" : "0"; } void AbstractAppearance::setToolbarStyle(const QString& toolbar_style) { m_settings["toolbar_style"] = toolbar_style; } // GETTERS @@ -45,7 +50,7 @@ QString AbstractAppearance::getToolbarStyle() const { return m_settings["toolbar_style"]; } bool AbstractAppearance::getShowIconsInButtons() const { return m_settings["show_icons_buttons"]=="1"; } bool AbstractAppearance::getShowIconsInMenus() const { return m_settings["show_icons_menus"]=="1"; } -bool AbstractAppearance::getPrimaryButtonWarpsSlider() const { return m_settings["primary_button_warps_slider"] == "true"; } +bool AbstractAppearance::getPrimaryButtonWarpsSlider() const { return isTrue(m_settings["primary_button_warps_slider"]); } QRegExp valueRx(" *([a-zA-Z\\-_]+) *= *\"?([^\"\\n]+)\"?", Qt::CaseSensitive, QRegExp::RegExp2); QMap<QString,QString> AbstractAppearance::readSettingsTuples(QIODevice* device)