This commit replaces the Keep and Stop accelerators from the Terminal's activity toolbar, since the default accelerators are quite heavily used keyboard shortcuts: Ctrl-s and Ctrl-q. These old defaults are replaced with shift-ed equivalents: Ctrl-Shift-s and Ctrl-Shift-q. This is consistent with how Terminal has modified versions of commonly-used Sugar shortcuts like Ctrl-Shift-c (copy) and Ctrl-Shift-v (paste). --- terminal.py | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/terminal.py b/terminal.py index 913652f..0c9b554 100644 --- a/terminal.py +++ b/terminal.py @@ -106,6 +106,9 @@ class TerminalActivity(sugar.activity.activity.Activity): activity_toolbar = toolbox.get_activity_toolbar() activity_toolbar.share.props.visible = False activity_toolbar.keep.props.visible = False + activity_toolbar.keep.props.accelerator = '<Ctrl><Shift>S' + + activity_toolbar.stop.props.accelerator = '<Ctrl><Shift>Q' fullscreenbtn = sugar.graphics.toolbutton.ToolButton('view-fullscreen') fullscreenbtn.set_tooltip(_("Fullscreen")) -- 1.6.0.6 _______________________________________________ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel