Hello community, here is the log from the commit of package evolution checked in at Fri Apr 7 16:41:06 CEST 2006. -------- --- GNOME/evolution/evolution.changes 2006-04-05 10:42:29.000000000 +0200 +++ evolution/evolution.changes 2006-04-06 19:36:38.000000000 +0200 @@ -2 +2,10 @@ -Wed Apr 5 10:41:57 CEST 2006 - vvaradhan@novell.com +Wed Apr 5 14:43:23 CEST 2006 - vvaradhan@novell.com + +- Fixes (bnc) + 160350 Calendar tooltip is partially offscreen - Srini + 162005 evolution-data-server crashed when deleting a recurring + appointment in my groupwise calendar - Chenthill +- Evolution alarm notify fixes - make alarm notify m-t safe - Srini + +------------------------------------------------------------------- +Tue Apr 4 10:55:01 CEST 2006 - vvaradhan@novell.com New: ---- alarm-fixes.patch bnc-160350-calendar-tooltip-partially-offscreen.patch bnc-162005-e-d-s-crash-deleting-recur-appt.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ evolution.spec ++++++ --- /var/tmp/diff_new_pack.c8wZS7/_old 2006-04-07 16:40:12.000000000 +0200 +++ /var/tmp/diff_new_pack.c8wZS7/_new 2006-04-07 16:40:12.000000000 +0200 @@ -21,7 +21,7 @@ Autoreqprov: on Obsoletes: bonobo-conf Version: 2.6.0 -Release: 17 +Release: 18 Summary: The Integrated GNOME Mail, Calendar, and Address Book Suite Source: ftp://ftp.gnome.org/pub/gnome/sources/evolution/2.6/%{name}-%{version}.tar.bz2 Source1: summerdance-about2.png @@ -67,6 +67,9 @@ Patch48: bnc-160049-change-gw-passwd-no-auth-prompt.patch Patch49: bnc-160357-busy-search-not-working.patch Patch50: bnc-161715-imap-lockup.patch +Patch51: bnc-160350-calendar-tooltip-partially-offscreen.patch +Patch52: bnc-162005-e-d-s-crash-deleting-recur-appt.patch +Patch53: alarm-fixes.patch URL: http://gnome.org/projects/evolution/ BuildRoot: %{_tmppath}/%{name}-%{version}-build PreReq: filesystem gconf2 shared-mime-info @@ -321,6 +324,9 @@ %patch48 -p0 %patch49 -p0 %patch50 -p0 +%patch51 -p0 +%patch52 -p0 +%patch53 -p0 %build rename no nb po/no.* @@ -444,6 +450,12 @@ %changelog -n evolution * Wed Apr 05 2006 - vvaradhan@novell.com - Fixes (bnc) + 160350 Calendar tooltip is partially offscreen - Srini + 162005 evolution-data-server crashed when deleting a recurring + appointment in my groupwise calendar - Chenthill +- Evolution alarm notify fixes - make alarm notify m-t safe - Srini +* Tue Apr 04 2006 - vvaradhan@novell.com +- Fixes (bnc) 160357 Busy serach is not working well for me - Chenthill 161715 Evolution hangs when IMAP account is configured - Partha * Wed Mar 29 2006 - dgollub@suse.de ++++++ alarm-fixes.patch ++++++ ++++ 1423 lines (skipped) ++++++ bnc-160350-calendar-tooltip-partially-offscreen.patch ++++++ Index: calendar/gui/e-calendar-view.c =================================================================== RCS file: /cvs/gnome/evolution/calendar/gui/e-calendar-view.c,v retrieving revision 1.117 diff -u -p -r1.117 e-calendar-view.c --- calendar/gui/e-calendar-view.c 14 Feb 2006 08:03:10 -0000 1.117 +++ calendar/gui/e-calendar-view.c 4 Apr 2006 16:46:31 -0000 @@ -1957,6 +1957,44 @@ get_label (struct icaltimetype *tt) return g_strdup (buffer); } +void +e_calendar_view_move_tip (GtkWidget *widget, int x, int y) +{ + GtkRequisition requisition; + gint w, h; + GdkScreen *screen; + GdkScreen *pointer_screen; + gint monitor_num, px, py; + GdkRectangle monitor; + + screen = gtk_widget_get_screen (widget); + + gtk_widget_size_request (widget, &requisition); + w = requisition.width; + h = requisition.height; + + gdk_display_get_pointer (gdk_screen_get_display (screen), + &pointer_screen, &px, &py, NULL); + if (pointer_screen != screen) + { + px = x; + py = y; + } + monitor_num = gdk_screen_get_monitor_at_point (screen, px, py); + gdk_screen_get_monitor_geometry (screen, monitor_num, &monitor); + + if ((x + w) > monitor.x + monitor.width) + x -= (x + w) - (monitor.x + monitor.width); + else if (x < monitor.x) + x = monitor.x; + + if ((y + h + widget->allocation.height + 4) > monitor.y + monitor.height) + y = y - h - 36; + + gtk_window_move (GTK_WINDOW (widget), x, y); + gtk_widget_show (widget); +} + /* * It is expected to show the tooltips in this below format * @@ -2098,6 +2136,9 @@ e_calendar_view_get_tooltips (ECalendarV gtk_container_add ((GtkContainer *)pevent->tooltip, frame); gtk_widget_show_all (pevent->tooltip); + + e_calendar_view_move_tip (pevent->tooltip, pevent->x +16, pevent->y+16); + gdk_keyboard_grab (pevent->tooltip->window, FALSE, GDK_CURRENT_TIME); g_signal_connect (pevent->tooltip, "key-press-event", G_CALLBACK (tooltip_grab), data->cal_view); pevent->timeout = -1; Index: calendar/gui/e-day-view.c =================================================================== RCS file: /cvs/gnome/evolution/calendar/gui/e-day-view.c,v retrieving revision 1.294 diff -u -p -r1.294 e-day-view.c --- calendar/gui/e-day-view.c 8 Feb 2006 13:06:02 -0000 1.294 +++ calendar/gui/e-day-view.c 4 Apr 2006 16:46:47 -0000 @@ -5895,7 +5897,7 @@ e_day_view_on_text_item_event (GnomeCanv pevent->tooltip = (GtkWidget *)g_object_get_data (G_OBJECT (day_view), "tooltip-window"); if (pevent->tooltip) { - gtk_window_move ((GtkWindow *)pevent->tooltip, ((int)((GdkEventMotion *)event)->x_root)+16, ((int)((GdkEventMotion *)event)->y_root) +16); + e_calendar_view_move_tip (pevent->tooltip, pevent->x+16, pevent->y+16); } return TRUE; Index: calendar/gui/e-week-view.c =================================================================== RCS file: /cvs/gnome/evolution/calendar/gui/e-week-view.c,v retrieving revision 1.257 diff -u -p -r1.257 e-week-view.c --- calendar/gui/e-week-view.c 8 Feb 2006 13:06:02 -0000 1.257 +++ calendar/gui/e-week-view.c 4 Apr 2006 16:46:57 -0000 @@ -2554,7 +2554,7 @@ tooltip_event_cb (GnomeCanvasItem *item, pevent->tooltip = (GtkWidget *)g_object_get_data (G_OBJECT (view), "tooltip-window"); if (pevent->tooltip) { - gtk_window_move ((GtkWindow *)pevent->tooltip, ((int)((GdkEventMotion *)event)->x_root)+16, ((int)((GdkEventMotion *)event)->y_root) +16); + e_calendar_view_move_tip (pevent->tooltip, pevent->x+16, pevent->y+16); } return TRUE; @@ -3125,9 +3125,9 @@ e_week_view_on_text_item_event (GnomeCan pevent->y = ((GdkEventMotion *)gdkevent)->y_root; pevent->tooltip = (GtkWidget *)g_object_get_data (G_OBJECT (week_view), "tooltip-window"); - if (pevent->tooltip) - gtk_window_move ((GtkWindow *)pevent->tooltip, ((int)((GdkEventMotion *)gdkevent)->x_root)+16, ((int)((GdkEventMotion *)gdkevent)->y_root) +16); - + if (pevent->tooltip) { + e_calendar_view_move_tip (pevent->tooltip, pevent->x+16, pevent->y+16); + } return TRUE; case GDK_FOCUS_CHANGE: if (gdkevent->focus_change.in) { ++++++ bnc-162005-e-d-s-crash-deleting-recur-appt.patch ++++++ Index: calendar/gui/comp-util.c =================================================================== RCS file: /cvs/gnome/evolution/calendar/gui/comp-util.c,v retrieving revision 1.28 diff -u -p -r1.28 comp-util.c --- calendar/gui/comp-util.c 19 Oct 2005 11:39:33 -0000 1.28 +++ calendar/gui/comp-util.c 5 Apr 2006 06:19:20 -0000 @@ -205,7 +205,7 @@ cal_comp_util_compare_event_timezones (E gboolean cal_comp_is_on_server (ECalComponent *comp, ECal *client) { - const char *uid; + const char *uid, *rid; icalcomponent *icalcomp; GError *error = NULL; @@ -221,8 +221,9 @@ cal_comp_is_on_server (ECalComponent *co * the user. */ e_cal_component_get_uid (comp, &uid); + rid = e_cal_component_get_recurid_as_string (comp); - if (e_cal_get_object (client, uid, NULL, &icalcomp, &error)) { + if (e_cal_get_object (client, uid, rid, &icalcomp, &error)) { icalcomponent_free (icalcomp); return TRUE; ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun...