[evolution-patches] 66164 Popup shows in wrong spot
- From: JP Rosevear <jpr novell com>
- To: evolution-patches ximian com
- Subject: [evolution-patches] 66164 Popup shows in wrong spot
- Date: Tue, 28 Sep 2004 12:14:51 -0400
This replicates an earlier fix zucchi made in e-cell-combo.c in gal.
-JP
--
JP Rosevear <jpr novell com>
Novell, Inc.
? 66164.patch
? Makefile.bk
? dist.patch
? ps-misc.patch
? search-name.patch
? select.patch
? temp.patch
? temp2.patch
Index: ChangeLog
===================================================================
RCS file: /cvs/gnome/evolution/widgets/misc/ChangeLog,v
retrieving revision 1.324.2.1
diff -u -p -r1.324.2.1 ChangeLog
--- ChangeLog 13 Sep 2004 16:09:49 -0000 1.324.2.1
+++ ChangeLog 28 Sep 2004 16:16:16 -0000
@@ -1,3 +1,10 @@
+2004-09-28 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-09-13 Rodney Dawes <dobey novell com>
* e-multi-config-dialog.c (impl_response):
Index: e-cell-date-edit.c
===================================================================
RCS file: /cvs/gnome/evolution/widgets/misc/e-cell-date-edit.c,v
retrieving revision 1.20
diff -u -p -r1.20 e-cell-date-edit.c
--- e-cell-date-edit.c 18 Dec 2003 03:59:42 -0000 1.20
+++ e-cell-date-edit.c 28 Sep 2004 16:16:16 -0000
@@ -610,10 +610,15 @@ e_cell_date_edit_get_popup_pos (ECellDa
&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;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]