~b-eltzner/qpdfview/packaging-quantal

« back to all changes in this revision

Viewing changes to debian/patches/toolbars.patch

  • Committer: Darth Rahel
  • Date: 2014-01-25 08:47:40 UTC
  • Revision ID: darth-rahel@geilomat-20140125084740-42zkn5z5k2go11sv
VersionĀ 0.4.7

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
Description: Add more items to the toolbar default.
 
2
 With this patch a fresh install provides more toolbar buttons by default
 
3
 thus making the program easier to use for beginners.
 
4
Author: Benjamin Eltzner <b.eltzner@gmx.de>
 
5
Last-Update: 2013-11-17
 
6
---
 
7
--- a/sources/settings.h
 
8
+++ b/sources/settings.h
 
9
@@ -518,9 +518,9 @@
 
10
 
 
11
         static inline bool synchronizeOutlineView() { return false; }
 
12
 
 
13
-        static inline QStringList fileToolBar() { return QStringList() << "openInNewTab" << "refresh"; }
 
14
-        static inline QStringList editToolBar() { return QStringList() << "currentPage" << "previousPage" << "nextPage"; }
 
15
-        static inline QStringList viewToolBar() { return QStringList() << "scaleFactor" << "zoomIn" << "zoomOut"; }
 
16
+        static inline QStringList fileToolBar() { return QStringList() << "openInNewTab" << "refresh" << "saveCopy" << "print"; }
 
17
+        static inline QStringList editToolBar() { return QStringList() << "firstPage" << "previousPage" << "currentPage" << "nextPage" << "lastPage" << "search" << "separator" << "copyToClipboardMode" << "addAnnotationMode"; }
 
18
+        static inline QStringList viewToolBar() { return QStringList() << "zoomIn" << "scaleFactor" << "zoomOut" << "separator" << "continuousMode" << "twoPagesMode" << "separator" << "rotateLeft" << "rotateRight" << "separator" << "fullscreen" << "presentation"; }
 
19
 
 
20
         static QString path();
 
21