From f82a305cde0842e53d7468ce37b4cd02161838c5 Mon Sep 17 00:00:00 2001 From: Stefano Karapetsas Date: Wed, 5 Sep 2012 14:19:23 +0200 Subject: convert executable-text-activation to gsettings --- libcaja-private/caja-global-preferences.c | 29 ----------------------------- 1 file changed, 29 deletions(-) (limited to 'libcaja-private/caja-global-preferences.c') diff --git a/libcaja-private/caja-global-preferences.c b/libcaja-private/caja-global-preferences.c index 98b96e46..00c1e743 100644 --- a/libcaja-private/caja-global-preferences.c +++ b/libcaja-private/caja-global-preferences.c @@ -118,25 +118,6 @@ static EelEnumerationEntry click_policy_enum_entries[] = } }; -static EelEnumerationEntry executable_text_activation_enum_entries[] = -{ - { - "launch", - N_("E_xecute files when they are clicked"), - CAJA_EXECUTABLE_TEXT_LAUNCH - }, - { - "display", - N_("Display _files when they are clicked"), - CAJA_EXECUTABLE_TEXT_DISPLAY - }, - { - "ask", - N_("_Ask each time"), - CAJA_EXECUTABLE_TEXT_ASK - } -}; - static EelEnumerationEntry search_bar_type_enum_entries[] = { { @@ -279,13 +260,6 @@ static const PreferenceDefault preference_defaults[] = NULL, NULL, "click_policy" }, - { - CAJA_PREFERENCES_EXECUTABLE_TEXT_ACTIVATION, - PREFERENCE_STRING, - "ask", - NULL, NULL, - "executable_text_activation" - }, { CAJA_PREFERENCES_INSTALL_MIME_ACTIVATION, PREFERENCE_BOOLEAN, @@ -607,9 +581,6 @@ global_preferences_register_enumerations (void) eel_enumeration_register ("default_zoom_level", default_zoom_level_enum_entries, G_N_ELEMENTS (default_zoom_level_enum_entries)); - eel_enumeration_register ("executable_text_activation", - executable_text_activation_enum_entries, - G_N_ELEMENTS (executable_text_activation_enum_entries)); eel_enumeration_register ("file_size", file_size_enum_entries, G_N_ELEMENTS (file_size_enum_entries)); -- cgit v1.2.1