[gnome-screenshot] screenshot: Warn if --interactive is combined with --clipboard



commit cc3e215770298adcbf11fdd4405e671142f7d585
Author: Kjell Ahlstedt <kjell ahlstedt bredband net>
Date:   Wed May 23 20:20:04 2012 +0200

    screenshot: Warn if --interactive is combined with --clipboard

 src/screenshot-config.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/screenshot-config.c b/src/screenshot-config.c
index d920d45..e102ca8 100644
--- a/src/screenshot-config.c
+++ b/src/screenshot-config.c
@@ -72,6 +72,8 @@ screenshot_load_config (gboolean clipboard_arg,
   config->settings = g_settings_new ("org.gnome.gnome-screenshot");
   if (config->interactive)
     {
+      if (clipboard_arg)
+        g_warning ("Option --clipboard is ignored in interactive mode.");
       if (file_arg)
         g_warning ("Option --file is ignored in interactive mode.");
 



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