[kde-doc-english] [kde-workspace] kcontrol/desktoptheme: Allow the SVG icons used in a desktop theme to be customised

Jonathan Marten jjm at keelhaul.me.uk
Sat Apr 23 11:39:58 CEST 2011


Git commit 6484e9fdc730fdc6d84bc79b1bb1adff726a6124 by Jonathan Marten.
Committed on 23/04/2011 at 11:37.
Pushed by marten into branch 'master'.

Allow the SVG icons used in a desktop theme to be customised

This adds a further item "Icons" to the list of things that can
be customised via the "Desktop Theme - Details" dialogue.  This
corresponds to the "icons" subdirectory of the theme, which holds
SVG icons used in the system tray.

REVIEW:101175
I18N:
GUI:

M  +1    -0    kcontrol/desktoptheme/desktopthemedetails.cpp     

http://commits.kde.org/kde-workspace/6484e9fdc730fdc6d84bc79b1bb1adff726a6124

diff --git a/kcontrol/desktoptheme/desktopthemedetails.cpp b/kcontrol/desktoptheme/desktopthemedetails.cpp
index 4daced9..d117a35 100644
--- a/kcontrol/desktoptheme/desktopthemedetails.cpp
+++ b/kcontrol/desktoptheme/desktopthemedetails.cpp
@@ -47,6 +47,7 @@ const ThemeItemNameType themeCollectionName[] = {
     { "Pager", I18N_NOOP2("plasma name", "Pager"), "widgets/pager", "plasma"},
     { "Run Command Dialog", I18N_NOOP2("plasma name", "Run Command Dialog"), "dialogs/krunner", "system-run"},
     { "Shutdown Dialog", I18N_NOOP2("plasma name", "Shutdown Dialog"), "dialogs/shutdowndialog", "system-shutdown"},
+    { "Icons", I18N_NOOP2("plasma name", "Icons"), "icons/", "preferences-desktop-icons"},
     { 0, 0,0,0 } // end of data
 };
 


More information about the kde-doc-english mailing list