2007-12-09 Douglas S. Blank <dblank@cs.brynmawr.edu>

* src/plugins/CalculateEstimatedDates.py: define set_title
	* src/plugins/OwnerEditor.py: define build_menu_names
	* src/PluginUtils/_PluginWindows.py: Fixed layer window issues



svn: r9467
This commit is contained in:
Doug Blank
2007-12-09 16:25:28 +00:00
parent c4bf352d49
commit b12d33db45
4 changed files with 21 additions and 6 deletions

View File

@@ -152,6 +152,9 @@ class OwnerEditor(Tool.Tool, ManagedWindow.ManagedWindow):
if event.button == 3 and event.type == gtk.gdk.BUTTON_PRESS:
self.menu.popup(None,None,None,0,0)
def build_menu_names(self, obj):
return (_('Main window'), _("Edit database owner information"))
def on_menu_activate(self, menuitem):
"""Copies the owner information from/to the preferences"""
if menuitem.name == 'copy_from_preferences_to_db':