~ubuntu-branches/ubuntu/utopic/gramps/utopic

« back to all changes in this revision

Viewing changes to src/gui/plug/__init__.py

  • Committer: Package Import Robot
  • Author(s): James A. Treacy
  • Date: 2012-05-22 17:18:36 UTC
  • mfrom: (39.1.4 sid)
  • Revision ID: package-import@ubuntu.com-20120522171836-35fi62lp4w7jnrd7
Tags: 3.4.0-1
* New upstream version
* Updated desktop file. Closes: #667472

Show diffs side-by-side

added added

removed removed

Lines of Context:
22
22
#
23
23
# gui.plug.__init__.py
24
24
#
25
 
# $Id: __init__.py 15332 2010-05-06 03:40:30Z pez4brian $
 
25
# $Id: __init__.py 18047 2011-08-19 01:57:43Z pez4brian $
26
26
#
27
27
__author__="jfriant"
28
28
__date__ ="$Apr 20, 2010 3:13:24 PM$"
29
29
 
30
30
from gui.plug import tool
31
31
 
32
 
from _guioptions import GuiMenuOptions, make_gui_option
 
32
from _guioptions import make_gui_option, add_gui_options
 
33
from gen.plug import MenuOptions
33
34
 
34
35
from _dialogs import ReportPluginDialog, ToolPluginDialog
35
36
import _windows as PluginWindows
36
37
 
37
38
# This needs to go above Tool and MenuOption as it needs both
38
 
class MenuToolOptions(GuiMenuOptions, tool.ToolOptions):
 
39
class MenuToolOptions(MenuOptions, tool.ToolOptions):
39
40
    """
40
41
    The MenuToolOptions class implements the ToolOptions
41
42
    functionality in a generic way so that the user does not need to
47
48
    """
48
49
    def __init__(self, name, person_id=None, dbstate=None):
49
50
        tool.ToolOptions.__init__(self, name, person_id)
50
 
        GuiMenuOptions.__init__(self)
 
51
        MenuOptions.__init__(self)