Here is a patch that adds a fullscreen button to the terminal, because
the alt-enter shortcut isn't obvious.
It isn't vim or irssi friendly because pressing escape exits
fullscreen mode. I looked in /usr/share/sugar/shell/view/keyhandler.py
but couldn't find the keybinding for this.
Nik
--- terminal.py 2008-05-02 06:00:02.000000000 -0700
+++ terminal.py 2008-05-02 06:00:18.000000000 -0700
@@ -66,6 +66,14 @@
activity_toolbar.insert(activity_toolbar.become_root, 2)
activity_toolbar.become_root.show()
+ # Add a button to enter full screen mode
+ activity_toolbar.fullscreen = ToolButton('view-fullscreen')
+ activity_toolbar.fullscreen.set_tooltip(_('Fullscreen'))
+ activity_toolbar.fullscreen.connect('clicked',
+ self._fullscreen_cb)
+ activity_toolbar.insert(activity_toolbar.fullscreen, 3)
+ activity_toolbar.fullscreen.show()
+
self.set_toolbox(toolbox)
toolbox.show()
@@ -96,6 +104,9 @@
def _become_root_cb(self, button):
self._vte.fork_command("/bin/su")
+ def _fullscreen_cb(self, button):
+ self.fullscreen()
+
def __key_press_cb(self, window, event):
if event.state & gtk.gdk.CONTROL_MASK and event.state & gtk.gdk.SHIFT_MASK:
_______________________________________________
Sugar mailing list
[email protected]
http://lists.laptop.org/listinfo/sugar