From aecdc5ea62a038d60b371bc334e34b3dbeef8561 Mon Sep 17 00:00:00 2001 From: Doug Blank Date: Thu, 7 Jan 2010 14:13:38 +0000 Subject: [PATCH] Changed Apply to more generic Execute; Added return value for results tab textbuffer svn: r13984 --- src/PluginUtils/_PluginWindows.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/PluginUtils/_PluginWindows.py b/src/PluginUtils/_PluginWindows.py index b6f46720f..ee82e6cb0 100644 --- a/src/PluginUtils/_PluginWindows.py +++ b/src/PluginUtils/_PluginWindows.py @@ -392,7 +392,7 @@ class ToolManagedWindowBase(ManagedWindow.ManagedWindow): gtk.RESPONSE_CANCEL) self.cancel.connect('clicked', self.close) - self.ok = self.window.add_button(gtk.STOCK_APPLY, gtk.RESPONSE_OK) + self.ok = self.window.add_button(gtk.STOCK_EXECUTE, gtk.RESPONSE_OK) self.ok.connect('clicked', self.on_ok_clicked) self.window.set_default_size(600, -1) @@ -604,6 +604,7 @@ class ToolManagedWindowBase(ManagedWindow.ManagedWindow): else: self.results_clear() self.set_current_frame(frame_name) + return self.results_text def setup_other_frames(self): """Similar to add_option this method takes a frame_name, a