From 52dbb055ec9f9e42da9c312b27b766481e178ba7 Mon Sep 17 00:00:00 2001 From: Rafael Ortiz Date: Fri, 29 Apr 2011 20:50:07 +0000 Subject: disabling become root button --- diff --git a/terminal.py b/terminal.py index a0f97ba..63605b3 100644..100755 --- a/terminal.py +++ b/terminal.py @@ -86,17 +86,17 @@ class TerminalActivity(activity.Activity): tab_toolbar_button.show() # Add a button that will be used to become root easily. - root_button = ToolButton('activity-become-root') - root_button.set_tooltip(_('Become root')) - root_button.connect('clicked', self.__become_root_cb) - toolbar_box.toolbar.insert(root_button, -1) - root_button.show() - - separator = gtk.SeparatorToolItem() - separator.props.draw = False - separator.set_expand(True) - toolbar_box.toolbar.insert(separator, -1) - separator.show() + #root_button = ToolButton('activity-become-root') + #root_button.set_tooltip(_('Become root')) + #root_button.connect('clicked', self.__become_root_cb) + #toolbar_box.toolbar.insert(root_button, -1) + #root_button.show() + + #separator = gtk.SeparatorToolItem() + #separator.props.draw = False + #separator.set_expand(True) + #toolbar_box.toolbar.insert(separator, -1) + #separator.show() stop_button = StopButton(self) stop_button.props.accelerator = 'Q' -- cgit v0.9.1