* src/DataViews/_EventView.py: Add properties icon to column editor menu entry - the other views use that too.

svn: r9285
This commit is contained in:
Martin Hawlisch 2007-10-31 20:47:43 +00:00
parent 940832895d
commit 214a12846e
2 changed files with 13 additions and 2 deletions

View File

@ -1,3 +1,7 @@
2007-10-31 Martin Hawlisch <Martin.Hawlisch@gmx.de>
* src/DataViews/_EventView.py: Add properties icon to column editor
menu entry - the other views use that too.
2007-10-31 Blank <dblank@cs.brynmawr.edu>
* src/plugins/Calendar.py: added capitalize() to months/days; dst()
* src/plugins/holidays.xml: uses dst() Daylight Saving Time function

View File

@ -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)