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

List:       kde-commits
Subject:    KDE/kdebase/workspace/plasma/applets/kickoff/simpleapplet
From:       Sebastian Sauer <mail () dipe ! org>
Date:       2009-02-21 5:01:11
Message-ID: 1235192471.365285.22849.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 929327 by sebsauer:

remove from the prev menu after adding to the new


 M  +3 -0      simpleapplet.cpp  


--- trunk/KDE/kdebase/workspace/plasma/applets/kickoff/simpleapplet/simpleapplet.cpp \
#929326:929327 @@ -168,6 +168,9 @@
                 action->setVisible(action->menu() || ! \
view->indexForAction(action).data(Kickoff::UrlRole).isNull());  \
menuview->addAction(action);  }
+            if (! action->menu()) {
+                view->removeAction(action);
+            }
         }
 
         // if the model asks us for a reset we can't do much except to invalidate \
our


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

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