]> www.fi.muni.cz Git - evince.git/commitdiff
new. register gpdf-zoom-fit-width stock icon with a GtkIconFactory
authorMartin Kretzschmar <mkretzschmar@src.gnome.org>
Sat, 15 Feb 2003 17:27:05 +0000 (17:27 +0000)
committerMartin Kretzschmar <mkretzschmar@src.gnome.org>
Sat, 15 Feb 2003 17:27:05 +0000 (17:27 +0000)
* xpdf/gpdf-stock-icons.h, xpdf/gpdf-stock-icons.c: new. register
gpdf-zoom-fit-width stock icon with a GtkIconFactory

* xpdf/fitwidth.png: redone in 24x24pix instead of 26x26, based on
gtk's zoom-out stock icon and the original fitwidth.png

* xpdf/gpdf-control.cc (gc_set_ui_container): s/gc_set_ui_pixbufs/
gc_ui_set_pixbufs/
(gc_ui_set_pixbufs): rewrite to use stock icon machinery, let it
do the correct scaling

* xpdf/bonobo-application-x-pdf.cc (main): init our stock icons

* xpdf/Makefile.am (gnome_pdf_viewer_SOURCES): add
gpdf-stock-icons.[ch]

pdf/xpdf/Makefile.am

index e37d6f32b1b4fd8e74065d3ae7ed1d83e73196d9..dbaa4e4e36f1ce16f9be2072ffcff39d4078fac3 100644 (file)
@@ -116,6 +116,8 @@ gnome_pdf_viewer_SOURCES =          \
        gpdf-g-switch.h                 \
        gpdf-persist-stream.cc          \
        gpdf-persist-stream.h           \
+       gpdf-stock-icons.c              \
+       gpdf-stock-icons.h              \
        gpdf-util.h                     \
        gpdf-view.cc                    \
        gpdf-view.h                     \