diff options
author | Robert Xu <robxu9@gmail.com> | 2011-08-24 17:26:04 -0400 |
---|---|---|
committer | Robert Xu <robxu9@gmail.com> | 2011-08-24 17:26:04 -0400 |
commit | 93c66bf8bb8ac0124ae1800cbaaeb814742bfac5 (patch) | |
tree | 2551422a7981b35684110fae090223b7a1b6d73f /opensuse/tdebase/xcursor.diff | |
parent | 425774d7d1d663e08bb06050924f2eeca9147bba (diff) | |
download | tde-packaging-93c66bf8bb8ac0124ae1800cbaaeb814742bfac5.tar.gz tde-packaging-93c66bf8bb8ac0124ae1800cbaaeb814742bfac5.zip |
dbus-1-tqt -> libdbus-tqt-1-0 AND tdelibs import (unchanged)
Diffstat (limited to 'opensuse/tdebase/xcursor.diff')
-rw-r--r-- | opensuse/tdebase/xcursor.diff | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/opensuse/tdebase/xcursor.diff b/opensuse/tdebase/xcursor.diff new file mode 100644 index 000000000..8c4010915 --- /dev/null +++ b/opensuse/tdebase/xcursor.diff @@ -0,0 +1,36 @@ +Index: kcontrol/input/xcursor/themepage.cpp +=================================================================== +--- kcontrol/input/xcursor/themepage.cpp.orig ++++ kcontrol/input/xcursor/themepage.cpp +@@ -73,6 +73,13 @@ struct ThemeInfo { + }; + + ++static QString defaultThemeDescription( const QString& theme ) ++{ ++ if( theme == "redglass" || theme == "whiteglass" || theme == "pseudocore" || theme == "handhelds" ) ++ return i18n( "XFree theme %1 - incomplete for KDE" ).arg( theme ); ++ return i18n( "No description available" );; ++} ++ + ThemePage::ThemePage( QWidget* parent, const char* name ) + : QWidget( parent, name ), selectedTheme( NULL ), currentTheme( NULL ) + { +@@ -333,7 +340,7 @@ void ThemePage::insertTheme( const QStri + + // Defaults in case there's no name or comment field. + QString name = dirName; +- QString desc = i18n( "No description available" ); ++ QString desc = defaultThemeDescription( name ); + QString sample = "left_ptr"; + + KSimpleConfig c( path + "/index.theme", true ); // Open read-only +@@ -480,7 +487,7 @@ void ThemePage::insertThemes() + // Defaults in case there's no index.theme file or it lacks + // a name and a comment field. + QString name = *it; +- QString desc = i18n( "No description available" ); ++ QString desc = defaultThemeDescription( name ); + QString sample = "left_ptr"; + + // Parse the index.theme file if the theme has one. |