summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorStefano Karapetsas <[email protected]>2012-09-05 15:07:40 +0200
committerStefano Karapetsas <[email protected]>2012-09-05 15:07:40 +0200
commitf0ef6466ec0987807fcffdd41b09e88fc1292802 (patch)
treeb8e0590ff10422b92989deff306e2c559c1077ba /src
parentab3a27b67b830897c49ecf395ee5e63e4dfdfc26 (diff)
downloadcaja-f0ef6466ec0987807fcffdd41b09e88fc1292802.tar.bz2
caja-f0ef6466ec0987807fcffdd41b09e88fc1292802.tar.xz
convert new tab position to gsettings
Diffstat (limited to 'src')
-rw-r--r--src/caja-navigation-window-menus.c2
-rw-r--r--src/caja-window-manage-views.c2
2 files changed, 2 insertions, 2 deletions
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;