summaryrefslogtreecommitdiff
path: root/libcaja-private/caja-mime-actions.c
diff options
context:
space:
mode:
authorStefano Karapetsas <[email protected]>2012-09-05 14:19:23 +0200
committerStefano Karapetsas <[email protected]>2012-09-05 14:19:23 +0200
commitf82a305cde0842e53d7468ce37b4cd02161838c5 (patch)
tree206300706dfeb17d20417300601d5d533ff98b85 /libcaja-private/caja-mime-actions.c
parentf3fda69cae01b52e65a5608ed7c86d2abbb8f80a (diff)
downloadcaja-f82a305cde0842e53d7468ce37b4cd02161838c5.tar.bz2
caja-f82a305cde0842e53d7468ce37b4cd02161838c5.tar.xz
convert executable-text-activation to gsettings
Diffstat (limited to 'libcaja-private/caja-mime-actions.c')
-rw-r--r--libcaja-private/caja-mime-actions.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/libcaja-private/caja-mime-actions.c b/libcaja-private/caja-mime-actions.c
index 33897f5d..9cbc2f45 100644
--- a/libcaja-private/caja-mime-actions.c
+++ b/libcaja-private/caja-mime-actions.c
@@ -822,8 +822,8 @@ get_executable_text_file_action (GtkWindow *parent_window, CajaFile *file)
g_assert (caja_file_contains_text (file));
- preferences_value = eel_preferences_get_enum
- (CAJA_PREFERENCES_EXECUTABLE_TEXT_ACTIVATION);
+ preferences_value = g_settings_get_enum (caja_preferences,
+ CAJA_PREFERENCES_EXECUTABLE_TEXT_ACTIVATION);
switch (preferences_value)
{
case CAJA_EXECUTABLE_TEXT_LAUNCH:
@@ -881,8 +881,8 @@ get_default_executable_text_file_action (void)
{
int preferences_value;
- preferences_value = eel_preferences_get_enum
- (CAJA_PREFERENCES_EXECUTABLE_TEXT_ACTIVATION);
+ preferences_value = g_settings_get_enum (caja_preferences,
+ CAJA_PREFERENCES_EXECUTABLE_TEXT_ACTIVATION);
switch (preferences_value)
{
case CAJA_EXECUTABLE_TEXT_LAUNCH: