aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui
diff options
context:
space:
mode:
authorDan Winship <danw@src.gnome.org>2003-06-20 22:36:03 +0800
committerDan Winship <danw@src.gnome.org>2003-06-20 22:36:03 +0800
commit592995eeed2daee522f0fb52d7b64c7ce715c3e1 (patch)
treee520b94f344410d11117517d2147082d11605faa /calendar/gui
parentf663802fcf934e0af482b1d6717abc1abb652248 (diff)
downloadgsoc2013-evolution-592995eeed2daee522f0fb52d7b64c7ce715c3e1.tar
gsoc2013-evolution-592995eeed2daee522f0fb52d7b64c7ce715c3e1.tar.gz
gsoc2013-evolution-592995eeed2daee522f0fb52d7b64c7ce715c3e1.tar.bz2
gsoc2013-evolution-592995eeed2daee522f0fb52d7b64c7ce715c3e1.tar.lz
gsoc2013-evolution-592995eeed2daee522f0fb52d7b64c7ce715c3e1.tar.xz
gsoc2013-evolution-592995eeed2daee522f0fb52d7b64c7ce715c3e1.tar.zst
gsoc2013-evolution-592995eeed2daee522f0fb52d7b64c7ce715c3e1.zip
Plug in the defaults from the schemas file here, so that even if something
* gui/calendar-config.c (calendar_config_get_hpane_pos) (calendar_config_get_vpane_pos) (calendar_config_get_month_hpane_pos) (calendar_config_get_month_vpane_pos): Plug in the defaults from the schemas file here, so that even if something goes wrong with the schemas, people will still get reasonable defaults instead of "I click on the calendar and it shows me tasks". svn path=/trunk/; revision=21495
Diffstat (limited to 'calendar/gui')
-rw-r--r--calendar/gui/calendar-config.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/calendar/gui/calendar-config.c b/calendar/gui/calendar-config.c
index b9e94cc334..34b39eb53a 100644
--- a/calendar/gui/calendar-config.c
+++ b/calendar/gui/calendar-config.c
@@ -287,7 +287,7 @@ calendar_config_get_hpane_pos (void)
{
return e_config_listener_get_long_with_default (config,
"/apps/evolution/calendar/display/hpane_position",
- -1, NULL);
+ 400, NULL);
}
@@ -301,7 +301,7 @@ calendar_config_set_hpane_pos (gint hpane_pos)
gint
calendar_config_get_vpane_pos (void)
{
- return e_config_listener_get_long_with_default (config, "/apps/evolution/calendar/display/vpane_position", -1, NULL);
+ return e_config_listener_get_long_with_default (config, "/apps/evolution/calendar/display/vpane_position", 150, NULL);
}
@@ -315,7 +315,7 @@ calendar_config_set_vpane_pos (gint vpane_pos)
gint
calendar_config_get_month_hpane_pos (void)
{
- return e_config_listener_get_long_with_default (config, "/apps/evolution/calendar/display/month_hpane_position", -1, NULL);
+ return e_config_listener_get_long_with_default (config, "/apps/evolution/calendar/display/month_hpane_position", 32000, NULL);
}
@@ -329,7 +329,7 @@ calendar_config_set_month_hpane_pos (gint hpane_pos)
gint
calendar_config_get_month_vpane_pos (void)
{
- return e_config_listener_get_long_with_default (config, "/apps/evolution/calendar/display/month_vpane_position", 0, NULL);
+ return e_config_listener_get_long_with_default (config, "/apps/evolution/calendar/display/month_vpane_position", 150, NULL);
}