diff options
Diffstat (limited to 'src/nautilus-preferences-window.c')
-rw-r--r-- | src/nautilus-preferences-window.c | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/src/nautilus-preferences-window.c b/src/nautilus-preferences-window.c index 75134bf7f..48861cfb4 100644 --- a/src/nautilus-preferences-window.c +++ b/src/nautilus-preferences-window.c @@ -79,6 +79,18 @@ static const char * const click_behavior_components[] = 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 +}; + +static const char * const executable_text_values[] = +{ + "launch", "display", "ask", + NULL +}; + static const char * const recursive_search_components[] = { "search_recursive_only_this_computer_radiobutton", "search_recursive_all_locations_radiobutton", "search_recursive_never_radiobutton", NULL @@ -468,6 +480,10 @@ static void nautilus_preferences_window_setup(GtkBuilder *builder, builder, nautilus_preferences, (const char **) click_behavior_components, NAUTILUS_PREFERENCES_CLICK_POLICY, (const char **) click_behavior_values); bind_builder_radio (builder, nautilus_preferences, + (const char **) executable_text_components, + NAUTILUS_PREFERENCES_EXECUTABLE_TEXT_ACTIVATION, + (const char **) executable_text_values); + bind_builder_radio (builder, nautilus_preferences, (const char **) recursive_search_components, NAUTILUS_PREFERENCES_RECURSIVE_SEARCH, (const char **) speed_tradeoff_values); |