aboutsummaryrefslogtreecommitdiffstats
path: root/modules/calendar/e-cal-shell-content.c
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2009-08-28 06:39:38 +0800
committerMatthew Barnes <mbarnes@redhat.com>2009-08-28 06:39:38 +0800
commit0b293d6318db3c8a9f0de076eec5da2408888f6d (patch)
treea6fb1866eb4cb2c608da2c8f44df6afed9e772bd /modules/calendar/e-cal-shell-content.c
parent76229dcb001dc7a72f35e89fbad4835d6529d728 (diff)
downloadgsoc2013-evolution-0b293d6318db3c8a9f0de076eec5da2408888f6d.tar
gsoc2013-evolution-0b293d6318db3c8a9f0de076eec5da2408888f6d.tar.gz
gsoc2013-evolution-0b293d6318db3c8a9f0de076eec5da2408888f6d.tar.bz2
gsoc2013-evolution-0b293d6318db3c8a9f0de076eec5da2408888f6d.tar.lz
gsoc2013-evolution-0b293d6318db3c8a9f0de076eec5da2408888f6d.tar.xz
gsoc2013-evolution-0b293d6318db3c8a9f0de076eec5da2408888f6d.tar.zst
gsoc2013-evolution-0b293d6318db3c8a9f0de076eec5da2408888f6d.zip
Fix calendar pane positioning.
Diffstat (limited to 'modules/calendar/e-cal-shell-content.c')
-rw-r--r--modules/calendar/e-cal-shell-content.c10
1 files changed, 4 insertions, 6 deletions
diff --git a/modules/calendar/e-cal-shell-content.c b/modules/calendar/e-cal-shell-content.c
index 408f07fdc6..e199f0524d 100644
--- a/modules/calendar/e-cal-shell-content.c
+++ b/modules/calendar/e-cal-shell-content.c
@@ -26,6 +26,8 @@
#include "e-util/e-binding.h"
#include "e-util/gconf-bridge.h"
+#include "widgets/menus/gal-view-etable.h"
+#include "widgets/misc/e-paned.h"
#include "calendar/gui/calendar-config.h"
#include "calendar/gui/calendar-view.h"
@@ -36,8 +38,6 @@
#include "calendar/gui/e-day-view.h"
#include "calendar/gui/e-week-view.h"
-#include "widgets/menus/gal-view-etable.h"
-
#define E_CAL_SHELL_CONTENT_GET_PRIVATE(obj) \
(G_TYPE_INSTANCE_GET_PRIVATE \
((obj), E_TYPE_CAL_SHELL_CONTENT, ECalShellContentPrivate))
@@ -132,7 +132,7 @@ cal_shell_content_notify_view_id_cb (ECalShellContent *cal_shell_content)
key = "/apps/evolution/calendar/display/hpane_position";
binding_id = gconf_bridge_bind_property_delayed (
- bridge, key, G_OBJECT (paned), "position");
+ bridge, key, G_OBJECT (paned), "hposition");
cal_shell_content->priv->paned_binding_id = binding_id;
}
@@ -344,9 +344,7 @@ cal_shell_content_constructed (GObject *object)
container = GTK_WIDGET (object);
- /* FIXME Need to deal with saving and restoring the position.
- * Month view has its own position. */
- widget = gtk_hpaned_new ();
+ widget = e_paned_new (GTK_ORIENTATION_HORIZONTAL);
gtk_container_add (GTK_CONTAINER (container), widget);
priv->hpaned = g_object_ref (widget);
gtk_widget_show (widget);