[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    playground/base/plasma/applets/leavenote
From:       Christian Weilbach <christian () whiletaker ! homeip ! net>
Date:       2008-08-20 14:57:06
Message-ID: 1219244226.214666.28029.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 849977 by weilbach:

This gives free theming since we "cross use" the notes.svgz now. We need the notes \
applet to be installed though. TODO fix by cmake switch to install notes.svgz if it \
is not already installed (this might be ugly since this is needed for notes as well) \
or distribute our own copy again which removes "free themeing". The theme authors \
could distribute a copy of notes.svgz as leavenote.svgz anyway...


 M  +7 -3      CMakeLists.txt  
 D             leavenote.svgz  
 M  +1 -1      plasma-leavenote.cpp  


--- trunk/playground/base/plasma/applets/leavenote/CMakeLists.txt #849976:849977
@@ -32,6 +32,10 @@
 install(FILES plasma-applet-leavenote.desktop
         DESTINATION ${SERVICES_INSTALL_DIR})
 
-install(
-    FILES leavenote.svgz
-    DESTINATION ${DATA_INSTALL_DIR}/desktoptheme/default/widgets/)
+# TODO add cmake switch or sth. to only install if the target
+# does not exist or reenable with a different svg than notes
+# that way we get theming for free since we'd use a copy of
+# notes.svgz (leavenote.svgz) otherwise anyway.
+#install(
+#    FILES notes.svgz
+#    DESTINATION ${DATA_INSTALL_DIR}/desktoptheme/default/widgets/)
--- trunk/playground/base/plasma/applets/leavenote/plasma-leavenote.cpp \
#849976:849977 @@ -76,7 +76,7 @@
 //    smd.waitForStarted();
 
    /* initialize layout */
-   mTheme.setImagePath("widgets/leavenote");
+   mTheme.setImagePath("widgets/notes");
    mTheme.setContainsMultipleImages(false);
 
    mLabel = new Plasma::Label(this);


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic