Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichal Vaner <vorner+evince@ucw.cz>2009-01-18 18:51:33 (GMT)
committer Nickolay V. Shmyrev <nshmyrev@src.gnome.org>2009-01-18 18:51:33 (GMT)
commit9d52040ae91a6cd561bd5acf25c4a725a57b27b8 (patch)
tree0a67094a5a6fcda082abff7bbb0a0184636fe3d0
parenta30f0b53f8702f5acf38712e6c53ed0ca49dd219 (diff)
Fix for a minor code typo.
2009-01-18 Michal Vaner <vorner+evince@ucw.cz> * shell/main.c (arguments_parse): Fix for a minor code typo. svn path=/trunk/; revision=3355
-rw-r--r--ChangeLog4
-rw-r--r--shell/main.c6
2 files changed, 7 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index 42e7317..69550d0 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2009-01-18 Michal Vaner <vorner+evince@ucw.cz>
+
+ * shell/main.c (arguments_parse): Fix for a minor code typo.
+
2009-01-18 Christian Persch <chpe@gnome.org>
* help/reference/Makefile.am:
diff --git a/shell/main.c b/shell/main.c
index 37db7e4..a6a95cf 100644
--- a/shell/main.c
+++ b/shell/main.c
@@ -42,7 +42,7 @@
static gchar *ev_page_label;
static gchar *ev_find_string;
static gboolean preview_mode = FALSE;
-static gboolean fullscren_mode = FALSE;
+static gboolean fullscreen_mode = FALSE;
static gboolean presentation_mode = FALSE;
static gboolean unlink_temp_file = FALSE;
static gchar *print_settings;
@@ -51,7 +51,7 @@ static const char **file_arguments = NULL;
static const GOptionEntry goption_options[] =
{
{ "page-label", 'p', 0, G_OPTION_ARG_STRING, &ev_page_label, N_("The page of the document to display."), N_("PAGE")},
- { "fullscreen", 'f', 0, G_OPTION_ARG_NONE, &fullscren_mode, N_("Run evince in fullscreen mode"), NULL },
+ { "fullscreen", 'f', 0, G_OPTION_ARG_NONE, &fullscreen_mode, N_("Run evince in fullscreen mode"), NULL },
{ "presentation", 's', 0, G_OPTION_ARG_NONE, &presentation_mode, N_("Run evince in presentation mode"), NULL },
{ "preview", 'w', 0, G_OPTION_ARG_NONE, &preview_mode, N_("Run evince as a previewer"), NULL },
{ "find", 'l', 0, G_OPTION_ARG_STRING, &ev_find_string, N_("The word or phrase to find in the document"), N_("STRING")},
@@ -140,7 +140,7 @@ arguments_parse (void)
ev_page_label = NULL;
}
- if (fullscren_mode)
+ if (fullscreen_mode)
mode = EV_WINDOW_MODE_FULLSCREEN;
else if (presentation_mode)
mode = EV_WINDOW_MODE_PRESENTATION;