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

List:       kde-commits
Subject:    playground/utils/filelight/src/part
From:       Martin Tobias Holmedahl Sandsmark <sandsmark () samfundet ! no>
Date:       2010-05-26 17:27:26
Message-ID: 20100526172726.DFA4BAC8C0 () svn ! kde ! org
[Download RAW message or body]

SVN commit 1130884 by sandsmark:

reorder color scheme so it fits with the settings dialog (ugly-ish hack, but I don't \
see any other usable solution), and rename KDE Colors → System Colors

 M  +1 -1      Config.h  
 M  +0 -1      radialMap/map.cpp  
 M  +1 -1      settingsDialog.cpp  


--- trunk/playground/utils/filelight/src/part/Config.h #1130883:1130884
@@ -28,7 +28,7 @@
 
 namespace Filelight
 {
-enum MapScheme { Rainbow, HighContrast, KDE, FileDensity, ModTime };
+enum MapScheme { Rainbow, KDE, HighContrast, FileDensity, ModTime };
 
 class Config
 {
--- trunk/playground/utils/filelight/src/part/radialMap/map.cpp #1130883:1130884
@@ -217,7 +217,6 @@
                 }
 
                 case Filelight::HighContrast:
-
                     cp.setHsv(0, 0, 0); //values of h, s and v are irrelevant
                     cb.setHsv(180, 0, int(255.0 * contrast));
                     (*it)->setPalette(cp, cb);
--- trunk/playground/utils/filelight/src/part/settingsDialog.cpp #1130883:1130884
@@ -39,7 +39,7 @@
     //colourSchemeGroup->setFrameShape(QFrame::NoFrame);
 
     vbox->addWidget(new QRadioButton(i18n("Rainbow"), this), Filelight::Rainbow);
-    vbox->addWidget(new QRadioButton(i18n("KDE Colors"), this), Filelight::KDE);
+    vbox->addWidget(new QRadioButton(i18n("System Colors"), this), Filelight::KDE);
     vbox->addWidget(new QRadioButton(i18n("High Contrast"), this), \
Filelight::HighContrast);  
     colourSchemeGroup->setLayout(vbox);


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

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