Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/pdf/xpdf/bonobo-application-x-pdf.h
diff options
context:
space:
mode:
authorRavi Pratap <ravi@che.iitm.ac.in>2001-08-12 14:11:25 (GMT)
committer Ravi Pratap <rpratap@src.gnome.org>2001-08-12 14:11:25 (GMT)
commit65780a7ef9a0b237d620265b3f712a535d288460 (patch)
tree0ab4fe343f0c6d4ccfee171d0eca1b8ddf67d73f /pdf/xpdf/bonobo-application-x-pdf.h
parent11c2610a62f60a0394c0eea0fede081d9fd678bd (diff)
Add ZoomFitHeight verb and toolbar item.
2001-08-12 Ravi Pratap <ravi@che.iitm.ac.in> * xpdf/bonobo-application-x-pdf-ui.xml : Add ZoomFitHeight verb and toolbar item. * xpdf/bonobo-application-x-pdf.h (VERB_Z_FIT): Rename to VERB_Z_FIT_WIDTH (VERB_Z_FIT_HEIGHT): Add * xpdf/bonobo-application-x-pdf.cc (verbs): Update to use the new verbs and names. (view_zoom_verb): update accordingly (zoom_to_fit): Modify to take an extra argument determining type of fit. Use the scrolled_window to determine allocation height and width. * xpdf/Makefile.am : Comment out unnecessary targets 2001-08-10 Ravi Pratap <ravi@che.iitm.ac.in> * xpdf/stock-zoom-in.xpm : Add * xpdf/stock-zoom-out.xpm : Add * xpdf/stock-zoom-fit.xpm : Add * xpdf/stock-zoom-fit-wide.xpm : Add * xpdf/stock-zoom-fit-tall.xpm : Add * xpdf/Makefile.am : Update, add targets etc. * xpdf/bonobo-application-x-pdf.cc (view_zoom_verb): Change zoom factor to 1.2 which is more correct (zoom_to_fit): Small tweak to enable better approximation * xpdf/bonobo-application-x-pdf-ui.xml : Change ZoomFit to ZoomFitWidth. * xpdf/bonobo-application-x-pdf.cc : Update to use the new name. 2001-08-09 Ravi Pratap <ravi@che.iitm.ac.in> * xpdf/bonobo-application-pdf-ui.xml: Add Zoom items to the toolbar 2001-07-10 Ravi Pratap <ravi@che.iitm.ac.in> * xpdf/gpdf.cc (main): Make indentation consistent with the rest of the source 2001-07-01 Ravi Pratap <ravi@che.iitm.ac.in> * xpdf/gpdf-ui.xml: Make the print menu item visible.
Diffstat (limited to 'pdf/xpdf/bonobo-application-x-pdf.h')
-rw-r--r--pdf/xpdf/bonobo-application-x-pdf.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/pdf/xpdf/bonobo-application-x-pdf.h b/pdf/xpdf/bonobo-application-x-pdf.h
index 01668ab..66b4ee4 100644
--- a/pdf/xpdf/bonobo-application-x-pdf.h
+++ b/pdf/xpdf/bonobo-application-x-pdf.h
@@ -10,8 +10,10 @@
#define VERB_PREV "PrevPage"
#define VERB_NEXT "NextPage"
#define VERB_LAST "LastPage"
-#define VERB_Z_FIT "ZoomFit"
+
#define VERB_Z_IN "ZoomIn"
#define VERB_Z_OUT "ZoomOut"
+#define VERB_Z_FIT_WIDTH "ZoomFitWidth"
+#define VERB_Z_FIT_HEIGHT "ZoomFitHeight"
#endif /* BONOBOAPPLICATIONXPDF_H */