diff options
Diffstat (limited to 'calendar/gui/dialogs/meeting-page.c')
-rw-r--r-- | calendar/gui/dialogs/meeting-page.c | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/calendar/gui/dialogs/meeting-page.c b/calendar/gui/dialogs/meeting-page.c index 2504ed3993..7333380195 100644 --- a/calendar/gui/dialogs/meeting-page.c +++ b/calendar/gui/dialogs/meeting-page.c @@ -698,12 +698,14 @@ enum { static EPopupMenu context_menu[] = { #if 0 - E_POPUP_ITEM (N_("_Delegate To..."), GTK_SIGNAL_FUNC (popup_delegate_cb), CAN_DELEGATE), + { N_("_Delegate To..."), NULL, + GTK_SIGNAL_FUNC (popup_delegate_cb),NULL, CAN_DELEGATE }, E_POPUP_SEPARATOR, #endif - E_POPUP_ITEM (N_("_Delete"), GTK_SIGNAL_FUNC (popup_delete_cb), CAN_DELETE), + { N_("_Delete"), GNOME_STOCK_MENU_TRASH, + GTK_SIGNAL_FUNC (popup_delete_cb), NULL, CAN_DELETE }, E_POPUP_TERMINATOR }; @@ -721,10 +723,7 @@ right_click_cb (ETable *etable, gint row, gint col, GdkEvent *event, gpointer da view_row = e_table_model_to_view_row (etable, row); priv->row = e_meeting_model_etable_view_to_model_row (etable, priv->model, view_row); - - /* FIXME: if you enable Delegate, then change index to '1' */ - context_menu[0].pixmap_widget = gnome_stock_new_with_icon (GNOME_STOCK_MENU_TRASH); - + menu = e_popup_menu_create (context_menu, enable_mask, hide_mask, data); e_auto_kill_popup_menu_on_hide (menu); |