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

List:       kde-commits
Subject:    branches/KDE/3.5/kdegraphics/kviewshell
From:       Wilfried Huss <Wilfried.Huss () gmx ! at>
Date:       2005-08-09 20:11:26
Message-ID: 1123618286.735121.17284.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 444337 by whuss:

Add icons for the autozoom actions.
Small Menu cleanup.

 M  +3 -2      kviewerpart.rc  
 M  +3 -3      kviewpart.cpp  


--- branches/KDE/3.5/kdegraphics/kviewshell/kviewerpart.rc #444336:444337
@@ -1,5 +1,5 @@
 <!DOCTYPE kpartgui>
-<kpartgui name="KViewPart" version="10">
+<kpartgui name="KViewPart" version="11">
 <MenuBar>
  <Menu name="file"><text>&amp;File</text>
    <Action name="file_open"/>
@@ -43,9 +43,10 @@
   <Action name="view_fit_to_height"/>
  </Menu>
   <Menu name="go_document"><text>&amp;Go</text>
+    <Action name="go_goto_page"/>
+    <Separator/>
     <Action name="go_previous"/>
     <Action name="go_next"/>
-    <Action name="go_goto_page"/>
     <Separator/>
     <Action name="go_first"/>
     <Action name="go_last"/>
--- branches/KDE/3.5/kdegraphics/kviewshell/kviewpart.cpp #444336:444337
@@ -238,11 +238,11 @@
   zoomInAct = KStdAction::zoomIn (this, SLOT(zoomIn()), actionCollection());
   zoomOutAct = KStdAction::zoomOut(this, SLOT(zoomOut()), actionCollection());
 
-  fitPageAct = new KToggleAction(i18n("&Fit to Page"), Key_P,
+  fitPageAct = new KToggleAction(i18n("&Fit to Page"), "view_fit_window", Key_P,
                                  actionCollection(), "view_fit_to_page");
-  fitWidthAct = new KToggleAction(i18n("Fit to Page &Width"), Key_W,
+  fitWidthAct = new KToggleAction(i18n("Fit to Page &Width"), "view_fit_width", Key_W,
                                   actionCollection(), "view_fit_to_width");
-  fitHeightAct = new KToggleAction(i18n("Fit to Page &Height"), Key_H,
+  fitHeightAct = new KToggleAction(i18n("Fit to Page &Height"), "view_fit_height", Key_H,
                                    actionCollection(), "view_fit_to_height");
 
   fitPageAct -> setExclusiveGroup("view_fit");
[prev in list] [next in list] [prev in thread] [next in thread] 

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