aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/misc
diff options
context:
space:
mode:
authorJP Rosevear <jpr@novell.com>2004-10-06 22:12:53 +0800
committerJP Rosevear <jpr@src.gnome.org>2004-10-06 22:12:53 +0800
commit76f57895759f8f0088a9648489f8a73ab79145d2 (patch)
tree0a118af659af44c7bdaf950f8ba6e4d317dfec1c /widgets/misc
parentfb1d8bb7710820ef4acd27337f1219f77655ef2a (diff)
downloadgsoc2013-evolution-76f57895759f8f0088a9648489f8a73ab79145d2.tar.gz
gsoc2013-evolution-76f57895759f8f0088a9648489f8a73ab79145d2.tar.zst
gsoc2013-evolution-76f57895759f8f0088a9648489f8a73ab79145d2.zip
Fixes #66164
2004-10-06 JP Rosevear <jpr@novell.com> Fixes #66164 * e-cell-date-edit.c (e_cell_date_edit_get_popup_pos): replicate fix to e-cell-combo.c by NotZed svn path=/trunk/; revision=27475
Diffstat (limited to 'widgets/misc')
-rw-r--r--widgets/misc/ChangeLog7
-rw-r--r--widgets/misc/e-cell-date-edit.c9
2 files changed, 14 insertions, 2 deletions
diff --git a/widgets/misc/ChangeLog b/widgets/misc/ChangeLog
index b08c9683dc..d01d0fb2db 100644
--- a/widgets/misc/ChangeLog
+++ b/widgets/misc/ChangeLog
@@ -1,3 +1,10 @@
+2004-10-06 JP Rosevear <jpr@novell.com>
+
+ Fixes #66164
+
+ * e-cell-date-edit.c (e_cell_date_edit_get_popup_pos): replicate
+ fix to e-cell-combo.c by NotZed
+
2004-10-01 Not Zed <NotZed@Ximian.com>
* e-util-marshal.list: added boolean object boxed.
diff --git a/widgets/misc/e-cell-date-edit.c b/widgets/misc/e-cell-date-edit.c
index 737c7da14f..5564f20ea6 100644
--- a/widgets/misc/e-cell-date-edit.c
+++ b/widgets/misc/e-cell-date-edit.c
@@ -610,10 +610,15 @@ e_cell_date_edit_get_popup_pos (ECellDateEdit *ecde,
&wx,
&wy);
- *x += wx;
+ x1 = wx;
+ y1 = wy;
+
+ *x += x1;
/* The ETable positions don't include the grid lines, I think, so we
add 1. */
- *y += wy + 1;
+ *y += y1 + 1
+ - (int)((GnomeCanvas *)canvas)->layout.vadjustment->value
+ + ((GnomeCanvas *)canvas)->zoom_yofs;
avail_height = gdk_screen_height () - *y;