Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37403786
en ru br
Репозитории ALT
S:0.0.2-alt3.qa1
5.1: 0.0.2-alt3
4.1: 0.0.2-alt2
4.0: 0.0.2-alt1.1
www.altlinux.org/Changes

Группа :: Графические оболочки/Window Maker
Пакет: wmdiskmon

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

Патч: wmdiskmon-alt-src-print_help_fix.patch
Скачать


--- 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 <string>        display to use\n"
+    printf("  -d,  --display <string>        display to use\n"
            "  -bl, --backlight               turn on back-light\n"
            "  -lc, --light-color <string>    back-light color(rgb:6E/C6/3B is default)\n"
            "  -i,  --interval <number>       number of secs between updates (5 is default and minimum)\n"
@@ -489,10 +482,6 @@
            "  -p,  --partition <device>      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
-     */
 }
 
 
 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin