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

List:       kde-commits
Subject:    koffice/libs/main
From:       Thomas Zander <zander () kde ! org>
Date:       2010-08-04 17:42:36
Message-ID: 20100804174236.BFC56AC80E () svn ! kde ! org
[Download RAW message or body]

SVN commit 1159195 by zander:

Make toggle action have a 'hide' version.

The 'Show Dockers' toggle action now has a hide text as well
to be more consistent with the other toggle actions.

 M  +2 -1      KoMainWindow.cpp  


--- trunk/koffice/libs/main/KoMainWindow.cpp #1159194:1159195
@@ -197,7 +197,7 @@
     KAction *showFileVersions;
     KAction *importFile;
     KAction *exportFile;
-    KAction* toggleDockers;
+    KToggleAction *toggleDockers;
     KRecentFilesAction *recent;
 
     bool isImporting;
@@ -340,6 +340,7 @@
     d->splitViewActionList.append(sep);
             
     d->toggleDockers = new KToggleAction(i18n("Show Dockers"), this);
+    d->toggleDockers->setCheckedState(KGuiItem(i18n("Hide Dockers")));
     d->toggleDockers->setChecked(true);
     actionCollection()->addAction("view_toggledockers", d->toggleDockers);
 
[prev in list] [next in list] [prev in thread] [next in thread] 

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