X-Git-Url: https://www.fi.muni.cz/~kas/git//home/kas/public_html/git/?a=blobdiff_plain;ds=sidebyside;f=shell%2Fmain.c;h=321334b03d93a59de197dd2da2fc1651adfc21e9;hb=804d2382429a16dc10f2c0ec28443edf0b9bfac8;hp=c162935e9cfb5a0b85f55dfd0413ebe3c2fd301d;hpb=16ebda50ec3b3ab96d9bbc3c8e8522b269ef1191;p=evince.git diff --git a/shell/main.c b/shell/main.c index c162935e..321334b0 100644 --- a/shell/main.c +++ b/shell/main.c @@ -26,10 +26,12 @@ #include #include #include +#include #include #include "ev-stock-icons.h" #include "ev-debug.h" +#include "ev-job-queue.h" static struct poptOption popt_options[] = { @@ -79,13 +81,15 @@ main (int argc, char *argv[]) LIBGNOMEUI_MODULE, argc, argv, GNOME_PARAM_POPT_TABLE, popt_options, GNOME_PARAM_HUMAN_READABLE_NAME, _("Evince"), - GNOME_PARAM_APP_DATADIR, DATADIR, + GNOME_PARAM_APP_DATADIR, GNOMEDATADIR, NULL); + ev_job_queue_init (); g_set_application_name (_("Evince Document Viewer")); ev_debug_init (); ev_stock_icons_init (); + gtk_window_set_default_icon_name ("postscript-viewer"); g_object_get_property (G_OBJECT (program), GNOME_PARAM_POPT_CONTEXT, @@ -96,6 +100,7 @@ main (int argc, char *argv[]) gtk_main (); + gnome_accelerators_sync (); poptFreeContext (context); return 0;