diff options
Diffstat (limited to 'shell')
-rw-r--r-- | shell/ev-application.c | 3 | ||||
-rw-r--r-- | shell/main.c | 4 |
2 files changed, 3 insertions, 4 deletions
diff --git a/shell/ev-application.c b/shell/ev-application.c index 49d10f4..9637940 100644 --- a/shell/ev-application.c +++ b/shell/ev-application.c @@ -31,7 +31,6 @@ #include "totem-scrsaver.h" #include "eggsmclient.h" -#include "eggdesktopfile.h" #include "ev-application.h" #include "ev-document-factory.h" @@ -227,8 +226,6 @@ smclient_quit_cb (EggSMClient *client, static void ev_application_init_session (EvApplication *application) { - egg_set_desktop_file (GNOMEDATADIR "/applications/evince.desktop"); - application->smclient = egg_sm_client_get (); g_signal_connect (application->smclient, "save_state", G_CALLBACK (smclient_save_state_cb), diff --git a/shell/main.c b/shell/main.c index ff8eafa..bb1e1c8 100644 --- a/shell/main.c +++ b/shell/main.c @@ -37,6 +37,7 @@ #include "ev-metadata-manager.h" #include "ev-stock-icons.h" #include "eggsmclient.h" +#include "eggdesktopfile.h" static gchar *ev_page_label; static gchar *ev_find_string; @@ -372,7 +373,8 @@ main (int argc, char *argv[]) ev_file_helpers_init (); ev_stock_icons_init (); - gtk_window_set_default_icon_name ("evince"); + + egg_set_desktop_file (GNOMEDATADIR "/applications/evince.desktop"); if (!ev_application_load_session (EV_APP)) load_files (file_arguments, args); |