[nautilus/774-no-desktop-option: 44/44] application: Add dummy --no-desktop option



commit 51b15e13cb4bc5c623138eec8c5561d08e1c3da8
Author: António Fernandes <antoniof gnome org>
Date:   Fri Jul 12 00:28:50 2019 +0100

    application: Add dummy --no-desktop option
    
    It was removed in commit 74dd9c9f72002d482c898a704bb5b95655e35e08
    
    Its absence breaks old scripts or apps that try to launch nautilus with
    this option, like dropbox.
    
    To avoid this, and like we already do for other obsolete options,
    reintroduce the --no-desktop as a hidden dead option.
    
    Fixes https://gitlab.gnome.org/GNOME/nautilus/issues/774

 src/nautilus-application.c | 2 ++
 1 file changed, 2 insertions(+)
---
diff --git a/src/nautilus-application.c b/src/nautilus-application.c
index aff5ebf30..3deae733f 100644
--- a/src/nautilus-application.c
+++ b/src/nautilus-application.c
@@ -1084,6 +1084,8 @@ nautilus_application_init (NautilusApplication *self)
           NULL, NULL },
         { "no-default-window", 'n', G_OPTION_FLAG_HIDDEN, G_OPTION_ARG_NONE, NULL,
           NULL, NULL },
+        { "no-desktop", '\0', G_OPTION_FLAG_HIDDEN, G_OPTION_ARG_NONE, NULL,
+          NULL, NULL },
 
         { NULL }
     };


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