diff options
author | Glenn Richardson <glenn.richardson@live.com> | 2016-08-02 22:45:02 +0200 |
---|---|---|
committer | Sebastian Koslowski <koslowski@kit.edu> | 2016-08-09 21:02:24 +0200 |
commit | cbe1e43b0f0d1ee0d356b7110700400578855ac6 (patch) | |
tree | e72d5fbcf7c343e896dcdb9e145456931ef6d97d /grc/gui/FlowGraph.py | |
parent | e682374d9f7eda4fd2c2701092470ee912e6c33b (diff) |
grc: gtk3: fixup dialogs
Diffstat (limited to 'grc/gui/FlowGraph.py')
-rw-r--r-- | grc/gui/FlowGraph.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/grc/gui/FlowGraph.py b/grc/gui/FlowGraph.py index 83796f35fd..7333519a4f 100644 --- a/grc/gui/FlowGraph.py +++ b/grc/gui/FlowGraph.py @@ -28,7 +28,7 @@ from itertools import count import six from six.moves import filter -from gi.repository import GObject +from gi.repository import GLib from . import Actions, Colors, Utils, Bars, Dialogs from .Element import Element @@ -95,7 +95,7 @@ class FlowGraph(CoreFlowgraph, Element): else: config = self.parent_platform.config editor = (find_executable(config.editor) or - Dialogs.ChooseEditorDialog(config)) + Dialogs.choose_editor(None, config)) # todo: pass in parent if not editor: return updater = functools.partial( @@ -103,7 +103,7 @@ class FlowGraph(CoreFlowgraph, Element): editor = self._external_updaters[target] = ExternalEditor( editor=editor, name=target[0], value=param.get_value(), - callback=functools.partial(GObject.idle_add, updater) + callback=functools.partial(GLib.idle_add, updater) ) editor.start() try: |