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

List:       kde-commits
Subject:    kdebase/kcontrol/icons
From:       Benjamin Meyer <benjamin () csh ! rit ! edu>
Date:       2004-10-03 12:26:06
Message-ID: 20041003122606.7B9EB9922 () office ! kde ! org
[Download RAW message or body]

CVS commit by bmeyer: 

Can't remove kde default theme anymore
really closing 77565


  M +2 -1      iconthemes.cpp   1.47


--- kdebase/kcontrol/icons/iconthemes.cpp  #1.46:1.47
@@ -336,5 +336,6 @@ void IconThemesConfig::updateRemoveButto
     enabled = fi.isWritable();
     // Don't let users remove the current theme.
-    if(m_themeNames[selected->text(0)] == KIconTheme::current())
+    if(m_themeNames[selected->text(0)] == KIconTheme::current() || 
+                         m_themeNames[selected->text(0)] == KIconTheme::defaultThemeName())
       enabled = false;
   }


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

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