[gnac/devel] Notify 'verbose' only if 'debug' not present



commit 9de55aa7e36be34c5ac552036af967e0e9fdb6c8
Author: BenoÃt Dupasquier <bdupasqu src gnome org>
Date:   Wed Jan 25 23:18:38 2012 +0000

    Notify 'verbose' only if 'debug' not present

 src/gnac-ui.c |    4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)
---
diff --git a/src/gnac-ui.c b/src/gnac-ui.c
index 8b41148..31b446e 100644
--- a/src/gnac-ui.c
+++ b/src/gnac-ui.c
@@ -986,10 +986,8 @@ gnac_ui_init_unique(void)
       if (response != UNIQUE_RESPONSE_OK) {
         libgnac_warning(_("Failed to transmit the debug option"));
       }
-    }
-
     /* Transmit the verbose option */
-    if (options.verbose) {
+    } else if (options.verbose) {
       response = unique_app_send_message(app, UNIQUE_CMD_VERBOSE, NULL);
       if (response != UNIQUE_RESPONSE_OK) {
         libgnac_warning(_("Failed to transmit the verbose option"));



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]