diff options
Diffstat (limited to 'apps/plugins/text_viewer/tv_menu.c')
-rw-r--r-- | apps/plugins/text_viewer/tv_menu.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/apps/plugins/text_viewer/tv_menu.c b/apps/plugins/text_viewer/tv_menu.c index 15b684fe08..5b43a910c6 100644 --- a/apps/plugins/text_viewer/tv_menu.c +++ b/apps/plugins/text_viewer/tv_menu.c | |||
@@ -65,7 +65,7 @@ MAKE_MENU(horizontal_scroll_menu, "Horizontal", NULL, Icon_NOICON, // XXX i18n | |||
65 | 65 | ||
66 | static bool tv_vertical_scrollbar_setting(void) | 66 | static bool tv_vertical_scrollbar_setting(void) |
67 | { | 67 | { |
68 | return rb->set_bool("Vertical Scrollbar", &new_prefs.vertical_scrollbar); // XXX i18n | 68 | return rb->set_bool("Vertical Scrollbar", &new_prefs.vertical_scrollbar); |
69 | } | 69 | } |
70 | 70 | ||
71 | static bool tv_vertical_scroll_mode_setting(void) | 71 | static bool tv_vertical_scroll_mode_setting(void) |
@@ -75,18 +75,18 @@ static bool tv_vertical_scroll_mode_setting(void) | |||
75 | {"Scroll by Line", -1}, | 75 | {"Scroll by Line", -1}, |
76 | }; | 76 | }; |
77 | 77 | ||
78 | return rb->set_option("Scroll Mode", &new_prefs.vertical_scroll_mode, RB_INT, // XXX i18n | 78 | return rb->set_option("Scroll Mode", &new_prefs.vertical_scroll_mode, RB_INT, |
79 | names, 2, NULL); | 79 | names, 2, NULL); |
80 | } | 80 | } |
81 | 81 | ||
82 | static bool tv_overlap_page_mode_setting(void) | 82 | static bool tv_overlap_page_mode_setting(void) |
83 | { | 83 | { |
84 | return rb->set_bool("Overlap Pages", &new_prefs.overlap_page_mode); // XXX i18n | 84 | return rb->set_bool("Overlap Pages", &new_prefs.overlap_page_mode); |
85 | } | 85 | } |
86 | 86 | ||
87 | static bool tv_autoscroll_speed_setting(void) | 87 | static bool tv_autoscroll_speed_setting(void) |
88 | { | 88 | { |
89 | return rb->set_int("Auto-scroll Speed", "", UNIT_INT, // XXX i18n | 89 | return rb->set_int("Auto-scroll Speed", "", UNIT_INT, |
90 | &new_prefs.autoscroll_speed, NULL, 1, 1, 10, NULL); | 90 | &new_prefs.autoscroll_speed, NULL, 1, 1, 10, NULL); |
91 | } | 91 | } |
92 | 92 | ||
@@ -97,7 +97,7 @@ static bool tv_narrow_mode_setting(void) | |||
97 | {"Top/Bottom Page", -1}, | 97 | {"Top/Bottom Page", -1}, |
98 | }; | 98 | }; |
99 | 99 | ||
100 | return rb->set_option("Left/Right Key", &new_prefs.narrow_mode, RB_INT, // XXX i18n | 100 | return rb->set_option("Left/Right Key", &new_prefs.narrow_mode, RB_INT, |
101 | names, 2, NULL); | 101 | names, 2, NULL); |
102 | } | 102 | } |
103 | 103 | ||
@@ -165,12 +165,12 @@ static bool tv_line_mode_setting(void) | |||
165 | }; | 165 | }; |
166 | 166 | ||
167 | return rb->set_option("Line Mode", &new_prefs.line_mode, RB_INT, names, | 167 | return rb->set_option("Line Mode", &new_prefs.line_mode, RB_INT, names, |
168 | sizeof(names) / sizeof(names[0]), NULL); // XXX i18n | 168 | sizeof(names) / sizeof(names[0]), NULL); |
169 | } | 169 | } |
170 | 170 | ||
171 | static bool tv_windows_setting(void) | 171 | static bool tv_windows_setting(void) |
172 | { | 172 | { |
173 | return rb->set_int("Screens Per Page", "", UNIT_INT, // XXX i18n | 173 | return rb->set_int("Screens Per Page", "", UNIT_INT, |
174 | &new_prefs.windows, NULL, 1, 1, 5, NULL); | 174 | &new_prefs.windows, NULL, 1, 1, 5, NULL); |
175 | } | 175 | } |
176 | 176 | ||
@@ -182,7 +182,7 @@ static bool tv_alignment_setting(void) | |||
182 | }; | 182 | }; |
183 | 183 | ||
184 | return rb->set_option("Alignment", &new_prefs.alignment, RB_INT, | 184 | return rb->set_option("Alignment", &new_prefs.alignment, RB_INT, |
185 | names , 2, NULL); // XXX i18n | 185 | names , 2, NULL); |
186 | } | 186 | } |
187 | 187 | ||
188 | static bool tv_header_setting(void) | 188 | static bool tv_header_setting(void) |