summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDaniel Friesel <derf@derf.homelinux.org>2010-02-14 21:32:35 +0100
committerDaniel Friesel <derf@derf.homelinux.org>2010-02-14 21:32:35 +0100
commitc5e1059031e2e22c90b9f7088f3151264be16e51 (patch)
treef121d60147211d4cc189897df68b39da4513150b /src
parentea0b82fb31c5e84f10c6fb3ea246c5f119f885da (diff)
Remove fmmode relicts
Diffstat (limited to 'src')
-rw-r--r--src/main.c7
-rw-r--r--src/options.c7
-rw-r--r--src/options.h1
3 files changed, 0 insertions, 15 deletions
diff --git a/src/main.c b/src/main.c
index 7bea2ab..386943f 100644
--- a/src/main.c
+++ b/src/main.c
@@ -68,13 +68,6 @@ int main(int argc, char **argv)
feh_wm_set_bg_file(opt.output_file, opt.bgmode);
exit(0);
}
-/* else if (opt.fmmode)
- {
- fmmode();
- opt.slideshow = 1;
- init_slideshow_mode();
- }
- */
else {
/* Slideshow mode is the default. Because it's spiffy */
opt.slideshow = 1;
diff --git a/src/options.c b/src/options.c
index 4e05c9c..de9e58a 100644
--- a/src/options.c
+++ b/src/options.c
@@ -83,8 +83,6 @@ void init_parse_options(int argc, char **argv)
opt.xinerama = 1;
#endif /* HAVE_LIBXINERAMA */
- opt.fmmode = 0;
-
D(3, ("About to parse env options (if any)\n"));
/* Check for and parse any options in FEH_OPTIONS */
feh_parse_environment_options();
@@ -388,7 +386,6 @@ static void feh_parse_option_array(int argc, char **argv)
{"action7", 1, 0, 216},
{"action8", 1, 0, 217},
{"action9", 1, 0, 218},
- {"fmmode", 0, 0, 219},
{"draw-actions", 0, 0, 222},
{"cache-thumbnails", 0, 0, 223},
{"cycle-once", 0, 0, 224},
@@ -710,10 +707,6 @@ static void feh_parse_option_array(int argc, char **argv)
case 221:
opt.hide_pointer = 1;
break;
- case 219:
- opt.fmmode = 1;
- opt.sort = SORT_FILENAME;
- break;
case 222:
opt.draw_actions = 1;
break;
diff --git a/src/options.h b/src/options.h
index cba2b37..a06643f 100644
--- a/src/options.h
+++ b/src/options.h
@@ -66,7 +66,6 @@ struct __fehoptions {
unsigned char xinerama;
unsigned char screen_clip;
unsigned char hide_pointer;
- unsigned char fmmode;
unsigned char draw_actions;
unsigned char cache_thumbnails;
unsigned char cycle_once;