Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/shell/main.c
diff options
context:
space:
mode:
authorCarlos Garcia Campos <carlosgc@gnome.org>2008-11-02 10:24:58 (GMT)
committer Carlos Garcia Campos <carlosgc@src.gnome.org>2008-11-02 10:24:58 (GMT)
commit41d936f5cbf3d5686ab6e6c2f8e8fd928a3c86f6 (patch)
tree4120cd055163a980e42775fd7b0aefd026cf1ed0 /shell/main.c
parent0fb3d73b728f2ffcab0364bd2ec19259e73bbf59 (diff)
Move the egg_set_desktop_file() call to main and remove
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() svn path=/trunk/; revision=3250
Diffstat (limited to 'shell/main.c')
-rw-r--r--shell/main.c4
1 files changed, 3 insertions, 1 deletions
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);