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

List:       kde-commits
Subject:    kdelibs/kdeui
From:       David Faure <faure () kde ! org>
Date:       2004-05-28 19:05:36
Message-ID: 20040528190536.B3CF815BF () office ! kde ! org
[Download RAW message or body]

CVS commit by faure: 

No setCheckedState for the toolbar actions when there is more than one
(which means they are in a submenu), as discussed on kde-core-devel.


  M +1 -2      ktoolbarhandler.cpp   1.6


--- kdelibs/kdeui/ktoolbarhandler.cpp  #1.5:1.6
@@ -106,8 +106,7 @@ namespace
             KToggleToolBarAction *action = new KToggleToolBarAction(
                 toolBar,
-                i18n( "Show %1" ).arg( toolBar->label() ),
+                toolBar->label(),
                 m_actionCollection,
                 toolBar->name() );
-            action->setCheckedState( i18n( "Hide %1" ).arg( toolBar->label() ) );
             // ## tooltips, whatsthis?
             m_toolBarActions.append( action );


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

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