Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/shell/main.c
diff options
context:
space:
mode:
authorMark McLoughlin <mark@skynet.ie>2004-12-22 13:28:08 (GMT)
committer Mark McLoughlin <markmc@src.gnome.org>2004-12-22 13:28:08 (GMT)
commite90ec741051727680a653837fb7b401192c507f7 (patch)
treef4bb4a9381f9ef713a47a20492a4ca4c62ddfa7a /shell/main.c
parentc2822868b202e30f2bcf8d4141824594f6be0d99 (diff)
fit-width stock icon from gpdf.
2004-12-22 Mark McLoughlin <mark@skynet.ie> * data/ev-stock-zoom-fit-width.png: fit-width stock icon from gpdf. * shell/ev-stock-icons.[ch]: copied from gpdf. * shell/main.c: (main): init stock icons. * shell/ev-window.c: use the fit-width icon. * data/evince-ui.xml: add zooming toolbar items.
Diffstat (limited to 'shell/main.c')
-rw-r--r--shell/main.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/shell/main.c b/shell/main.c
index 4b0c842..3deac7a 100644
--- a/shell/main.c
+++ b/shell/main.c
@@ -28,6 +28,8 @@
#include <libgnomeui/gnome-ui-init.h>
#include <libgnomevfs/gnome-vfs-utils.h>
+#include "ev-stock-icons.h"
+
static struct poptOption popt_options[] =
{
{ NULL, 0, 0, NULL, 0, NULL, NULL }
@@ -87,6 +89,8 @@ main (int argc, char *argv[])
g_set_application_name (_("Evince Document Viewer"));
+ ev_stock_icons_init ();
+
g_object_get_property (G_OBJECT (program),
GNOME_PARAM_POPT_CONTEXT,
g_value_init (&context_as_value, G_TYPE_POINTER));