aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/dialogs/event-editor.c
diff options
context:
space:
mode:
authorEttore Perazzoli <ettore@src.gnome.org>2002-05-21 05:28:00 +0800
committerEttore Perazzoli <ettore@src.gnome.org>2002-05-21 05:28:00 +0800
commit9e052c1a099088a616396e7f7ffac41f1de8fadb (patch)
tree5a451893fd7d91ce98532f2a7f5c8ae283fe7c18 /calendar/gui/dialogs/event-editor.c
parent1c3a50109e1936f3693d00486eab1957fe025b12 (diff)
downloadgsoc2013-evolution-9e052c1a099088a616396e7f7ffac41f1de8fadb.tar.gz
gsoc2013-evolution-9e052c1a099088a616396e7f7ffac41f1de8fadb.tar.zst
gsoc2013-evolution-9e052c1a099088a616396e7f7ffac41f1de8fadb.zip
Pass the @component_pixmaps in so we give the new "Meeting" button an
* gui/dialogs/event-editor.c (event_editor_init): Pass the @component_pixmaps in so we give the new "Meeting" button an icon. * gui/dialogs/comp-editor.c (comp_editor_merge_ui): New arg @component_pixmaps to pass in custom pixmaps. svn path=/trunk/; revision=16955
Diffstat (limited to 'calendar/gui/dialogs/event-editor.c')
-rw-r--r--calendar/gui/dialogs/event-editor.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/calendar/gui/dialogs/event-editor.c b/calendar/gui/dialogs/event-editor.c
index 4c0862c9f7..08c98dfaba 100644
--- a/calendar/gui/dialogs/event-editor.c
+++ b/calendar/gui/dialogs/event-editor.c
@@ -69,6 +69,11 @@ static void forward_cmd (GtkWidget *widget, gpointer data);
static void model_row_changed_cb (ETableModel *etm, int row, gpointer data);
static void row_count_changed_cb (ETableModel *etm, int row, int count, gpointer data);
+static EPixmap pixmaps [] = {
+ E_PIXMAP ("/Toolbar/Actions/ActionScheduleMeeting", "schedule-meeting-24.png"),
+ E_PIXMAP_END
+};
+
static BonoboUIVerb verbs [] = {
BONOBO_UI_UNSAFE_VERB ("ActionScheduleMeeting", schedule_meeting_cmd),
BONOBO_UI_UNSAFE_VERB ("ActionRefreshMeeting", refresh_meeting_cmd),
@@ -206,7 +211,7 @@ event_editor_init (EventEditor *ee)
COMP_EDITOR_PAGE (priv->meet_page),
_("Meeting"));
- comp_editor_merge_ui (COMP_EDITOR (ee), "evolution-event-editor.xml", verbs);
+ comp_editor_merge_ui (COMP_EDITOR (ee), "evolution-event-editor.xml", verbs, pixmaps);
priv->meeting_shown = TRUE;
priv->existing_org = FALSE;