--- wmdiskmon-0.0.1/src/main.c.orig 2006-01-28 19:43:08 +0600 +++ wmdiskmon-0.0.1/src/main.c 2006-01-28 19:46:39 +0600 @@ -72,7 +72,6 @@ static unsigned update_interval = 5; static int background = 2; static light backlight = LIGHTOFF; -static Bool switch_authorized = True; static Bool show_devs = False; static Partition *partitions = NULL; static Partition *current = NULL; @@ -210,9 +209,6 @@ } update(); break; - case 3: - switch_authorized = !switch_authorized; - break; default: break; } @@ -457,8 +454,6 @@ dockapp_iswindowed = True; } else if (!strcmp(argv[i], "--broken-wm") || !strcmp(argv[i], "-bw")) { dockapp_isbrokenwm = True; - } else if (!strcmp(argv[i], "--no-blink") || !strcmp(argv[i], "-nb")) { - switch_authorized = False; } else if (!strcmp(argv[i], "--device") || !strcmp(argv[i], "-n")) { show_devs = True; } else if (!strcmp(argv[i], "--single") || !strcmp(argv[i], "-s")) { @@ -477,8 +471,7 @@ static void print_help(char *prog) { printf("Usage : %s [OPTIONS]\n", prog); - printf("wmmaiload - Window Maker mails monitor dockapp\n" - " -d, --display display to use\n" + printf(" -d, --display display to use\n" " -bl, --backlight turn on back-light\n" " -lc, --light-color back-light color(rgb:6E/C6/3B is default)\n" " -i, --interval number of secs between updates (5 is default and minimum)\n" @@ -489,10 +482,6 @@ " -p, --partition show informations for device (may be used more than once)\n" " -n, --device show device instead of mount point\n" " -s, --single show only one device at a time\n"); - /* OPTIONS SUPP : - " -nb, --no-blink disable blinking\n"); - * ? -f, --file : configuration file - */ }