From 214a12846eb0fb6969d42274bda52fe8f90945d0 Mon Sep 17 00:00:00 2001 From: Martin Hawlisch Date: Wed, 31 Oct 2007 20:47:43 +0000 Subject: [PATCH] * src/DataViews/_EventView.py: Add properties icon to column editor menu entry - the other views use that too. svn: r9285 --- ChangeLog | 4 ++++ src/DataViews/_EventView.py | 11 +++++++++-- 2 files changed, 13 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 236caeb9a..80bfafb58 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2007-10-31 Martin Hawlisch + * src/DataViews/_EventView.py: Add properties icon to column editor + menu entry - the other views use that too. + 2007-10-31 Blank * src/plugins/Calendar.py: added capitalize() to months/days; dst() * src/plugins/holidays.xml: uses dst() Daylight Saving Time function diff --git a/src/DataViews/_EventView.py b/src/DataViews/_EventView.py index 00b306c7d..1b62c22d6 100644 --- a/src/DataViews/_EventView.py +++ b/src/DataViews/_EventView.py @@ -26,6 +26,13 @@ Provides the event view __author__ = "Don Allingham" __revision__ = "$Revision$" +#------------------------------------------------------------------------- +# +# GTK/Gnome modules +# +#------------------------------------------------------------------------- +import gtk + #------------------------------------------------------------------------- # # gramps modules @@ -170,8 +177,8 @@ class EventView(PageView.ListView): PageView.ListView.define_actions(self) self._add_action('FilterEdit', None, _('Event Filter Editor'), callback=self.filter_editor,) - self._add_action('ColumnEdit', None, _('_Column Editor'), - callback=self._column_editor,) + self._add_action('ColumnEdit', gtk.STOCK_PROPERTIES, + _('_Column Editor'), callback=self._column_editor,) def get_handle_from_gramps_id(self, gid): obj = self.dbstate.db.get_event_from_gramps_id(gid)