diff options
author | António Fernandes <antoniof@gnome.org> | 2020-12-17 13:18:58 +0000 |
---|---|---|
committer | António Fernandes <antoniof@gnome.org> | 2021-02-06 18:20:10 +0000 |
commit | 64326f0331a3df62708d87868bc8e7dab0f8597e (patch) | |
tree | f1faa1fb9e55bfd3f07c9a1d3b6f4afb854e0321 /src/nautilus-preferences-window.c | |
parent | 0584f6cb93b26d2052e3214ce5894656ea79be27 (diff) | |
download | nautilus-64326f0331a3df62708d87868bc8e7dab0f8597e.tar.gz |
mime-actions: Drop ACTIVATION_ACTION_ASK
There is an option in Preferences which enables a dialog asking users
what they intend to do when they double-click an executable text file:
open as a text file or run as a program?
The dialog asking that question has known design problems, but they
remain unaddressed, which is not surprising because it's non-default.
Now, with the new menu item added in the last commit, the two options
("Open" and "Run as a Program") are both available by default in the
context menu, so there is no need to ask the question in a dialog.
Remove the option, the dialog, and the related code.
Closes https://bugzilla.gnome.org/show_bug.cgi?id=598671
Part of https://gitlab.gnome.org/GNOME/nautilus/-/issues/1700
Diffstat (limited to 'src/nautilus-preferences-window.c')
-rw-r--r-- | src/nautilus-preferences-window.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nautilus-preferences-window.c b/src/nautilus-preferences-window.c index b49ee3e9a..d35775428 100644 --- a/src/nautilus-preferences-window.c +++ b/src/nautilus-preferences-window.c @@ -82,12 +82,12 @@ static const char * const click_behavior_values[] = {"single", "double", NULL}; static const char * const executable_text_components[] = { "scripts_execute_radiobutton", "scripts_view_radiobutton", - "scripts_confirm_radiobutton", NULL + NULL }; static const char * const executable_text_values[] = { - "launch", "display", "ask", + "launch", "display", NULL }; |