diff options
author | Ettore Perazzoli <ettore@src.gnome.org> | 2003-02-07 07:25:10 +0800 |
---|---|---|
committer | Ettore Perazzoli <ettore@src.gnome.org> | 2003-02-07 07:25:10 +0800 |
commit | eacd38d4ee73d9c3d6e1882b52f7ec9bef487fcd (patch) | |
tree | 7d7387f77a9110a253ae6d72a210e9cd485143f6 /calendar/gui | |
parent | 292e7184f665e30b1e1239b34065ada089e31b29 (diff) | |
download | gsoc2013-evolution-eacd38d4ee73d9c3d6e1882b52f7ec9bef487fcd.tar.gz gsoc2013-evolution-eacd38d4ee73d9c3d6e1882b52f7ec9bef487fcd.tar.zst gsoc2013-evolution-eacd38d4ee73d9c3d6e1882b52f7ec9bef487fcd.zip |
Use e_auto_kill_popup_menu_on_selection_done() instead of
* gui/e-day-view-time-item.c
(e_day_view_time_item_show_popup_menu): Use
e_auto_kill_popup_menu_on_selection_done() instead of
e_auto_kill_popup_menu_on_hide().
* gui/dialogs/meeting-page.c (right_click_cb): Likewise.
svn path=/trunk/; revision=19835
Diffstat (limited to 'calendar/gui')
-rw-r--r-- | calendar/gui/dialogs/meeting-page.c | 2 | ||||
-rw-r--r-- | calendar/gui/e-day-view-time-item.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/calendar/gui/dialogs/meeting-page.c b/calendar/gui/dialogs/meeting-page.c index 72e70f20e3..3a6b0d77bf 100644 --- a/calendar/gui/dialogs/meeting-page.c +++ b/calendar/gui/dialogs/meeting-page.c @@ -670,7 +670,7 @@ right_click_cb (ETable *etable, gint row, gint col, GdkEvent *event, gpointer da gtk_image_new_from_stock (GTK_STOCK_DELETE, GTK_ICON_SIZE_MENU); menu = e_popup_menu_create (context_menu, enable_mask, hide_mask, data); - e_auto_kill_popup_menu_on_hide (menu); + e_auto_kill_popup_menu_on_selection_done (menu); gtk_menu_popup (menu, NULL, NULL, NULL, NULL, event->button.button, event->button.time); diff --git a/calendar/gui/e-day-view-time-item.c b/calendar/gui/e-day-view-time-item.c index af180c4e1b..ab55bc2b9d 100644 --- a/calendar/gui/e-day-view-time-item.c +++ b/calendar/gui/e-day-view-time-item.c @@ -524,7 +524,7 @@ e_day_view_time_item_show_popup_menu (EDayViewTimeItem *dvtmitem, menu = gtk_menu_new (); /* Make sure the menu is destroyed when it disappears. */ - e_auto_kill_popup_menu_on_hide (GTK_MENU (menu)); + e_auto_kill_popup_menu_on_selection_done (GTK_MENU (menu)); for (i = 0; i < num_divisions; i++) { g_snprintf (buffer, sizeof (buffer), |