* 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:
parent
940832895d
commit
214a12846e
@ -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>
|
2007-10-31 Blank <dblank@cs.brynmawr.edu>
|
||||||
* src/plugins/Calendar.py: added capitalize() to months/days; dst()
|
* src/plugins/Calendar.py: added capitalize() to months/days; dst()
|
||||||
* src/plugins/holidays.xml: uses dst() Daylight Saving Time function
|
* src/plugins/holidays.xml: uses dst() Daylight Saving Time function
|
||||||
|
@ -26,6 +26,13 @@ Provides the event view
|
|||||||
__author__ = "Don Allingham"
|
__author__ = "Don Allingham"
|
||||||
__revision__ = "$Revision$"
|
__revision__ = "$Revision$"
|
||||||
|
|
||||||
|
#-------------------------------------------------------------------------
|
||||||
|
#
|
||||||
|
# GTK/Gnome modules
|
||||||
|
#
|
||||||
|
#-------------------------------------------------------------------------
|
||||||
|
import gtk
|
||||||
|
|
||||||
#-------------------------------------------------------------------------
|
#-------------------------------------------------------------------------
|
||||||
#
|
#
|
||||||
# gramps modules
|
# gramps modules
|
||||||
@ -170,8 +177,8 @@ class EventView(PageView.ListView):
|
|||||||
PageView.ListView.define_actions(self)
|
PageView.ListView.define_actions(self)
|
||||||
self._add_action('FilterEdit', None, _('Event Filter Editor'),
|
self._add_action('FilterEdit', None, _('Event Filter Editor'),
|
||||||
callback=self.filter_editor,)
|
callback=self.filter_editor,)
|
||||||
self._add_action('ColumnEdit', None, _('_Column Editor'),
|
self._add_action('ColumnEdit', gtk.STOCK_PROPERTIES,
|
||||||
callback=self._column_editor,)
|
_('_Column Editor'), callback=self._column_editor,)
|
||||||
|
|
||||||
def get_handle_from_gramps_id(self, gid):
|
def get_handle_from_gramps_id(self, gid):
|
||||||
obj = self.dbstate.db.get_event_from_gramps_id(gid)
|
obj = self.dbstate.db.get_event_from_gramps_id(gid)
|
||||||
|
Loading…
Reference in New Issue
Block a user