Commit a9236068 authored by sumpfralle's avatar sumpfralle

clipboard: fixed "teardown" function

model support plugins: added dependency on base model support plugin


git-svn-id: https://pycam.svn.sourceforge.net/svnroot/pycam/trunk@1133 bbaffbd6-741e-11dd-a85d-61de82d9cad9
parent 9ddad411
......@@ -71,7 +71,9 @@ class Clipboard(pycam.Plugins.PluginBase):
self.core.unregister_event("model-selection-changed",
self._update_clipboard_widget)
self.unregister_gtk_accelerator("clipboard", self.copy_action)
self.core.unregister_ui("edit_menu", self.copy_action)
self.unregister_gtk_accelerator("clipboard", self.paste_action)
self.core.unregister_ui("edit_menu", self.paste_action)
self.core.set("clipboard-set", None)
# TODO: check if this disconnects the clipboard-change-handler
self.clipboard = None
......
......@@ -27,7 +27,7 @@ import pycam.Plugins
class ModelSupportDistributed(pycam.Plugins.PluginBase):
UI_FILE = "model_support_distributed.ui"
DEPENDS = ["Models"]
DEPENDS = ["Models", "ModelSupport"]
def setup(self):
if self.gui:
......
......@@ -29,7 +29,7 @@ import pycam.Plugins
class ModelSupportGrid(pycam.Plugins.PluginBase):
UI_FILE = "model_support_grid.ui"
DEPENDS = ["Models"]
DEPENDS = ["Models", "ModelSupport"]
def setup(self):
if self.gui:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment