diff options
Diffstat (limited to 'shell/main.c')
-rw-r--r-- | shell/main.c | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/shell/main.c b/shell/main.c index 7a4658be..321bdaa5 100644 --- a/shell/main.c +++ b/shell/main.c @@ -36,7 +36,6 @@ #include "eggsmclient.h" #include "eggdesktopfile.h" - static gchar *ev_page_label; static gchar *ev_find_string; static gint ev_page_index = 0; @@ -48,7 +47,6 @@ static gboolean unlink_temp_file = FALSE; static gchar *print_settings; static const char **file_arguments = NULL; - static gboolean option_version_cb (const gchar *option_name, const gchar *value, @@ -206,8 +204,6 @@ load_files (const char **files) continue; } - - ev_application_open_uri_at_dest (EV_APP, uri, screen, dest, mode, ev_find_string, GDK_CURRENT_TIME); @@ -231,10 +227,12 @@ main (int argc, char *argv[]) bindtextdomain (GETTEXT_PACKAGE, ev_get_locale_dir()); bind_textdomain_codeset (GETTEXT_PACKAGE, "UTF-8"); textdomain (GETTEXT_PACKAGE); -#endif +#endif /* ENABLE_NLS */ context = g_option_context_new (N_("MATE Document Viewer")); +#ifdef ENABLE_NLS g_option_context_set_translation_domain(context, GETTEXT_PACKAGE); +#endif /* ENABLE_NLS */ g_option_context_add_main_entries (context, goption_options, GETTEXT_PACKAGE); g_option_context_add_group (context, egg_sm_client_get_option_group ()); g_option_context_add_group (context, gtk_get_option_group (TRUE)); @@ -283,7 +281,6 @@ main (int argc, char *argv[]) done: ev_shutdown (); - ev_stock_icons_shutdown (); g_object_unref (application); return status; |