+2008-11-02 Carlos Garcia Campos <carlosgc@gnome.org>
+
+ * shell/ev-application.c: (ev_application_init_session):
+ * shell/main.c: (main):
+
+ Move the egg_set_desktop_file() call to main and remove
+ gtk_window_set_default_icon_name() since it's already called by
+ egg_set_desktop_file()
+
2008-11-01 Carlos Garcia Campos <carlosgc@gnome.org>
* libdocument/ev-file-helpers.c: (ev_xfer_uri_simple):
#include "totem-scrsaver.h"
#include "eggsmclient.h"
-#include "eggdesktopfile.h"
#include "ev-application.h"
#include "ev-document-factory.h"
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),
#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;
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);