aboutsummaryrefslogtreecommitdiffstats
path: root/modules
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
parent76229dcb001dc7a72f35e89fbad4835d6529d728 (diff)
downloadgsoc2013-evolution-0b293d6318db3c8a9f0de076eec5da2408888f6d.tar.gz
gsoc2013-evolution-0b293d6318db3c8a9f0de076eec5da2408888f6d.tar.zst
gsoc2013-evolution-0b293d6318db3c8a9f0de076eec5da2408888f6d.zip
Fix calendar pane positioning.
Diffstat (limited to 'modules')
-rw-r--r--modules/calendar/e-cal-shell-content.c10
-rw-r--r--modules/calendar/e-cal-shell-sidebar.c6
2 files changed, 8 insertions, 8 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);
diff --git a/modules/calendar/e-cal-shell-sidebar.c b/modules/calendar/e-cal-shell-sidebar.c
index c25b247f36..05b3a47d72 100644
--- a/modules/calendar/e-cal-shell-sidebar.c
+++ b/modules/calendar/e-cal-shell-sidebar.c
@@ -27,6 +27,8 @@
#include "e-util/e-error.h"
#include "e-util/e-binding.h"
#include "e-util/gconf-bridge.h"
+#include "widgets/misc/e-paned.h"
+
#include "calendar/common/authentication.h"
#include "calendar/gui/calendar-config.h"
#include "calendar/gui/e-calendar-selector.h"
@@ -401,7 +403,7 @@ cal_shell_sidebar_constructed (GObject *object)
container = GTK_WIDGET (shell_sidebar);
- widget = gtk_vpaned_new ();
+ widget = e_paned_new (GTK_ORIENTATION_VERTICAL);
gtk_container_add (GTK_CONTAINER (container), widget);
priv->paned = g_object_ref (widget);
gtk_widget_show (widget);
@@ -497,7 +499,7 @@ cal_shell_sidebar_constructed (GObject *object)
object = G_OBJECT (priv->paned);
key = "/apps/evolution/calendar/display/date_navigator_vpane_position";
- gconf_bridge_bind_property_delayed (bridge, key, object, "position");
+ gconf_bridge_bind_property_delayed (bridge, key, object, "vposition");
}
static void
d>2012-06-061-10/+11 * Revert "dix: use the event mask of the grab for TryClientEvents."naddy2012-04-252-1/+91 * - Please welcome Xorg 7.5.2miwi2012-04-2220-283/+226 * Repeated words are are hard to to find sometimes.eadler2012-01-081-1/+1 * - Remove WITH_FBSD10_FIX, is no longer neededmiwi2011-11-093-3/+0 * - Fix build on FreeBSD 10.0miwi2011-10-293-1/+3 * Fix CVE-2011-4028 and CVE-2011-4029.kwm2011-10-192-4/+22 * - Add LDFLAGS to CONFIGURE_ENV and MAKE_ENV (as it was done with LDFLAGS)amdmi32011-09-241-2/+2 * Mark as broken on recent i386-9: fails to compile.linimon2011-08-291-1/+7 * Remove USE_GNOME=gnometarget from ports. It has been a empty keyword sincekwm2011-08-121-1/+0 * Fix the "exaGetPixmapFirstPixel called for invalid bpp" problem. This bugkwm2011-08-072-1/+27 * Unbreak this -- random automake fallout not shown up on amd64 -exp runsade2011-03-212-1/+7 * - Get Rid MD5 supportmiwi2011-03-194-5/+0 * - point x2x to its new homebapt2011-03-113-2/+3 * Revert "dix: use the event mask of the grab for TryClientEvents."naddy2011-02-282-0/+90 * - Please welcome Xorg 7.5.1miwi2011-02-2613-41/+15 * - There's no nv(4x) manpage in xorg-server distribution anymore.stas2011-01-251-1/+0 * - Fix build on powerpc64.stas2011-01-251-1/+1 * - DISTNAME= ${PORTNAME}-${PORTVERSION} is the default and not needed.pgollucci2010-12-301-1/+0 * Sync to new bsd.autotools.mkade2010-12-041-1/+1 * Punt autoconf267->autoconf268ade2010-10-161-1/+1 * Autotools update. Read ports/UPDATING 20100915 for details.ade2010-09-161-2/+2 * - Fix build on ppcmiwi2010-05-051-11/+0 * - Update to Xorg 7.5miwi2010-05-0113-46/+37 * Given that HAL doesn't work on sparc64 and always needs to be disabledmarius2010-02-081-2/+11 * Update xorg-server and friends to 1.6.5.rnoland2010-02-0711-44/+20 * For ports maintained by ports@FreeBSD.org, remove names and/ordougb2009-12-211-3/+0 * Mark BROKEN on 9.x: does not builderwin2009-12-161-0/+4 * -Repocopy devel/libtool15 -> libtool22 and libltdl15 -> libltdl22.mezz2009-08-031-1/+1 * Allow building on ia64. This does not make it functional, becausemarcel2009-06-202-1/+229 * Convert most of remaining ports that depend on xorg-libraries toamdmi32009-06-091-1/+2 * Update Xserver and friends to 1.6.1rnoland2009-05-0812-41/+35 * Update Xorg server to 1.6.0rnoland2009-04-0419-625/+111 * Given that the x86-centric approach of mmap(2)'ing PCI memory viamarius2009-04-012-1/+14 * Add the patch that I missed in the last commit.rnoland2009-03-091-0/+90 * Add a patch from git to fix issues with gnome-2.25.rnoland2009-03-092-2/+1 * Add a patch to handle memory barriers on amd64 the same as linux.rnoland2009-03-032-1/+12 * Add a patch to deal with the hald/xorg startup race. With this patchrnoland2009-02-082-1/+144 * - Replace open(2)/close(2) pairs with stat(2). Closing mouse device hasjkim2009-02-052-28/+62 * - Partially back out the previous attempt to fix PS/2 protocol support.jkim2009-02-032-14/+23 * Add dependency on dri2proto to more server components.rnoland2009-01-283-3/+6 * Build record and xtrap extensions.flz2009-01-272-2/+7 * add dri2proto depend here as wellrnoland2009-01-261-1/+2 * Add dependency on dri2protornoland2009-01-261-1/+2 * - Update X.org ports to 7.4+ (few ports are more recent than the katamari).flz2009-01-2419-566/+60 * Update CONFIGURE_ARGS for how we pass CONFIGURE_TARGET to configure script.rafan2008-08-211-1/+0 * Conversion from (now defunct) autoconf-2.61 to autoconf-2.62ade2008-08-201-1/+1 * Reset grog@FreeBSD.org: last commit was more than 6 months ago, andlinimon2008-08-071-1/+1 * - fix typo -> plist for -DNOPORTDOCSitetcu2008-07-042-7/+10 * Remove x11-servers/xorg-server-snap as it has been unmaintained for a while.flz2008-06-1916-698/+0 * Update x11-servers/xorg-server to 1.4.2 (security update).flz2008-06-155-681/+4 * Explicitely disable dtrace support for now.flz2008-06-094-4/+4 * Bump portrevision due to upgrade of devel/gettext.edwin2008-06-064-3/+4 * Add upstream patch (don't free not-allocated dbus socket).flz2008-05-292-1/+15 * Disable dtrace support for now as userland tracing isn't supported yet.flz2008-05-271-1/+1 * Add xephyr, a kdrive-based X server. Xephyr will ultimately replace Xnest.flz2008-05-204-0/+55 * Mark xorg-server-snap as DEPRECATED and set EXPIRATION_DATE to next month.flz2008-05-201-0/+2 * Retire xorg-printserver.flz2008-05-165-972/+0 * - Remove unneeded dependency from gtk12/gtk20 [1]miwi2008-04-207-11/+12 * - Auto-detect and use native extended PS/2 protocols with the latest psm(4).jkim2008-04-163-33/+102 * Fix mouse probing issues with HAL support:jkim2008-04-023-1/+154 * - Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORGmiwi2008-03-261-1/+1 * Add inputproto and xtrans to USE_XORG.flz2008-03-151-2/+3 * Add inputproto and xtrans to USE_XORG.flz2008-03-151-2/+3 * Add patch that fixes xmodmap use in .xinitrc.flz2008-03-132-1/+148 * Remove support for XFree8-4.flz2008-03-0850-2241/+0 * - Check correct POSIX spec. date for clock_gettime(2) whetherjkim2008-03-063-1/+26 * Fix xserver multiple vulnerabilities.flz2008-01-232-1/+516 * - Add local patch to fix alpha build. [1]flz2008-01-023-2/+40 * - OPTIONS'ify.flz2007-12-133-1/+40 * - OPTIONS'ify (HAL, AIGLX, SUID).flz2007-12-131-20/+24 * Fix plist for sparc64. Should be a no-op on other archs, but bumplinimon2007-11-202-13/+14 * Add temporary fix for LEDs. Proper fix will be available in nextflz2007-10-292-1/+21 * Restore default optimization on RELENG_7.flz2007-10-241-4/+0 * - Explicit some configure arguments.flz2007-10-101-11/+7 * Change to new x11-drivers category.nork2007-10-069-382/+0 * Teach xorg-server that FreeBSD >= 700053 supports PCI domains andmarius2007-09-303-0/+395 * Switch autoconf dependencies from 2.53 or 2.59 to 2.61.linimon2007-09-301-2/+2 * - Update X.org ports to 7.3.flz2007-09-1427-406/+147 * - Consistencify descriptionsdanfe2007-07-031-4/+2 * Fix missing Xlibs dependency.danfe2007-07-031-0/+1 * - Fix the build with recent GCC [1]danfe2007-07-013-10/+135 * Band-aid over memory hungry gcc 4.2 when compiling xf86ScanPci.c.lesi2007-06-222-0/+15 * Clenup share/X11 directory upon deinstall.lesi2007-05-312-0/+2 * xorg-fontserver moved from x11-servers to x11-fonts (xfs).flz2007-05-209-160/+0 * - Welcome X.org 7.2 \o/.flz2007-05-20