From: Christian Persch Date: Sun, 14 Jun 2009 13:34:27 +0000 (+0200) Subject: Only use eggdesktopfile on xsmp smclient backend X-Git-Tag: EVINCE_2_27_3~12 X-Git-Url: https://www.fi.muni.cz/~kas/git//home/kas/public_html/git/?a=commitdiff_plain;h=87f461182672996e4c39341cf69cdc6beb362bc8;p=evince.git Only use eggdesktopfile on xsmp smclient backend --- diff --git a/shell/main.c b/shell/main.c index 41fd85f1..f2321e11 100644 --- a/shell/main.c +++ b/shell/main.c @@ -442,13 +442,13 @@ main (int argc, char *argv[]) ev_stock_icons_init (); -#if defined(WITH_SMCLIENT) && !defined(G_OS_WIN32) +#if defined(WITH_SMCLIENT) && defined(GDK_WINDOWING_X11) egg_set_desktop_file (GNOMEDATADIR "/applications/evince.desktop"); #else /* Manually set name and icon */ g_set_application_name (_("Document Viewer")); gtk_window_set_default_icon_name ("evince"); -#endif /* WITH_SMCLIENT && !G_OS_WIN32 */ +#endif /* WITH_SMCLIENT && GDK_WINDOWING_X11 */ ev_application_load_session (EV_APP); load_files (file_arguments, args);