summaryrefslogtreecommitdiff
path: root/src/caja-application.c
diff options
context:
space:
mode:
authorStefano Karapetsas <[email protected]>2012-09-05 15:57:35 +0200
committerStefano Karapetsas <[email protected]>2012-09-05 15:57:35 +0200
commitbf5ae0b15f125d949e4e8cc2a52abb94f809dc94 (patch)
treefde0968bc568770d8fa73756a424d27ffb3956cc /src/caja-application.c
parent5164b9fd8c316da50ec10ef944c389dc98f140dd (diff)
downloadcaja-bf5ae0b15f125d949e4e8cc2a52abb94f809dc94.tar.bz2
caja-bf5ae0b15f125d949e4e8cc2a52abb94f809dc94.tar.xz
convert window-state to gsettings
Diffstat (limited to 'src/caja-application.c')
-rw-r--r--src/caja-application.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/caja-application.c b/src/caja-application.c
index 9eb18d57..3c1c3f07 100644
--- a/src/caja-application.c
+++ b/src/caja-application.c
@@ -1556,8 +1556,8 @@ caja_application_create_navigation_window (CajaApplication *application,
window = create_window (application, CAJA_TYPE_NAVIGATION_WINDOW, startup_id, screen);
- maximized = eel_preferences_get_boolean
- (CAJA_PREFERENCES_NAVIGATION_WINDOW_MAXIMIZED);
+ maximized = g_settings_get_boolean (caja_window_state,
+ CAJA_WINDOW_STATE_MAXIMIZED);
if (maximized)
{
gtk_window_maximize (GTK_WINDOW (window));
@@ -1567,8 +1567,8 @@ caja_application_create_navigation_window (CajaApplication *application,
gtk_window_unmaximize (GTK_WINDOW (window));
}
- geometry_string = eel_preferences_get
- (CAJA_PREFERENCES_NAVIGATION_WINDOW_SAVED_GEOMETRY);
+ geometry_string = g_settings_get_string (caja_window_state,
+ CAJA_WINDOW_STATE_GEOMETRY);
if (geometry_string != NULL &&
geometry_string[0] != 0)
{