From f0ef6466ec0987807fcffdd41b09e88fc1292802 Mon Sep 17 00:00:00 2001 From: Stefano Karapetsas Date: Wed, 5 Sep 2012 15:07:40 +0200 Subject: convert new tab position to gsettings --- src/caja-navigation-window-menus.c | 2 +- src/caja-window-manage-views.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/caja-navigation-window-menus.c b/src/caja-navigation-window-menus.c index 033bfaa0..69caca50 100644 --- a/src/caja-navigation-window-menus.c +++ b/src/caja-navigation-window-menus.c @@ -637,7 +637,7 @@ action_new_tab_callback (GtkAction *action, { flags = 0; - new_slot_position = eel_preferences_get_enum (CAJA_PREFERENCES_NEW_TAB_POSITION); + new_slot_position = g_settings_get_enum (caja_preferences, CAJA_PREFERENCES_NEW_TAB_POSITION); if (new_slot_position == CAJA_NEW_TAB_POSITION_END) { flags = CAJA_WINDOW_OPEN_SLOT_APPEND; diff --git a/src/caja-window-manage-views.c b/src/caja-window-manage-views.c index 980c780c..35091bed 100644 --- a/src/caja-window-manage-views.c +++ b/src/caja-window-manage-views.c @@ -636,7 +636,7 @@ caja_window_slot_open_location_full (CajaWindowSlot *slot, slot_flags = 0; - new_slot_position = eel_preferences_get_enum (CAJA_PREFERENCES_NEW_TAB_POSITION); + new_slot_position = g_settings_get_enum (caja_preferences, CAJA_PREFERENCES_NEW_TAB_POSITION); if (new_slot_position == CAJA_NEW_TAB_POSITION_END) { slot_flags = CAJA_WINDOW_OPEN_SLOT_APPEND; -- cgit v1.2.1