Commit f84934ac authored by sumpfralle's avatar sumpfralle

gtk.Entry.get_buffer is not available for older versions of PyGTK (Closed: 3476635)


git-svn-id: https://pycam.svn.sourceforge.net/svnroot/pycam/trunk@1258 bbaffbd6-741e-11dd-a85d-61de82d9cad9
parent 1a37fb04
...@@ -68,11 +68,6 @@ class GtkConsole(pycam.Plugins.PluginBase): ...@@ -68,11 +68,6 @@ class GtkConsole(pycam.Plugins.PluginBase):
"ToggleConsoleWindow") "ToggleConsoleWindow")
self.core.register_ui("view_menu", "ToggleConsoleWindow", self.core.register_ui("view_menu", "ToggleConsoleWindow",
console_action, 90) console_action, 90)
# create input buffer for "CommandInput"
# (missing in Glade v3.6.7)
command_input = self.gui.get_object("CommandInput")
if not command_input.get_buffer():
command_input.set_buffer(self._gtk.TextBuffer())
self._window = self.gui.get_object("ConsoleDialog") self._window = self.gui.get_object("ConsoleDialog")
self._window_position = None self._window_position = None
self._gtk_handlers = [] self._gtk_handlers = []
......
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