X-Git-Url: https://www.fi.muni.cz/~kas/git//home/kas/public_html/git/?a=blobdiff_plain;f=shell%2Fmain.c;h=17e0f647f9fa9f95041982c9a942f4ea49d46dfb;hb=116cc32fa10941e73faa84697d33efd5c75ba7f7;hp=5348469fce27c9c9b13b1a0654eb252cb9af6bae;hpb=2d8aad40e1916911b773f1cfdd93c961feabf807;p=evince.git diff --git a/shell/main.c b/shell/main.c index 5348469f..17e0f647 100644 --- a/shell/main.c +++ b/shell/main.c @@ -37,7 +37,9 @@ #include "ev-file-helpers.h" #include "ev-stock-icons.h" #include "eggsmclient.h" +#ifndef G_OS_WIN32 #include "eggdesktopfile.h" +#endif static gchar *ev_page_label; static gchar *ev_find_string; @@ -374,8 +376,14 @@ main (int argc, char *argv[]) return 1; ev_stock_icons_init (); - + +#ifdef G_OS_WIN32 + /* Manually set name and icon in win32 */ + g_set_application_name (_("Evince")); + gtk_window_set_default_icon_name ("evince"); +#else egg_set_desktop_file (GNOMEDATADIR "/applications/evince.desktop"); +#endif /* G_OS_WIN32 */ if (!ev_application_load_session (EV_APP)) load_files (file_arguments, args);