From 074eb67d6cb4373daf6110acc3f0373f8be925db Mon Sep 17 00:00:00 2001 From: Martin Kretzschmar Date: Sat, 15 Feb 2003 17:27:05 +0000 Subject: [PATCH] new. register gpdf-zoom-fit-width stock icon with a GtkIconFactory * 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 | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pdf/xpdf/Makefile.am b/pdf/xpdf/Makefile.am index e37d6f32..dbaa4e4e 100644 --- a/pdf/xpdf/Makefile.am +++ b/pdf/xpdf/Makefile.am @@ -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 \ -- 2.43.5