renamed custom move-to-workspace-* keys to switch-to-workspace-*

This commit is contained in:
Sergey Shnatsel Davidoff 2013-01-30 13:58:59 +04:00
parent 826a6f72cd
commit c3f96300c1
2 changed files with 4 additions and 4 deletions

View File

@ -66,12 +66,12 @@
<summary></summary>
<description></description>
</key>
<key type="as" name="move-to-workspace-first">
<key type="as" name="switch-to-workspace-first">
<default><![CDATA[['<Super>Home']]]></default>
<summary>Shortcut to move to first workspace</summary>
<description></description>
</key>
<key type="as" name="move-to-workspace-last">
<key type="as" name="switch-to-workspace-last">
<default><![CDATA[['<Super>End', '<Super>0']]]></default>
<summary>Shortcut to move to last workspace</summary>
<description></description>

View File

@ -99,10 +99,10 @@ namespace Gala
screen.get_display ().add_keybinding ("expose-all-windows", BehaviorSettings.get_default ().schema, 0, () => {
window_overview.open (true, true);
});
screen.get_display ().add_keybinding ("move-to-workspace-first", BehaviorSettings.get_default ().schema, 0, () => {
screen.get_display ().add_keybinding ("switch-to-workspace-first", BehaviorSettings.get_default ().schema, 0, () => {
screen.get_workspace_by_index (0).activate (screen.get_display ().get_current_time ());
});
screen.get_display ().add_keybinding ("move-to-workspace-last", BehaviorSettings.get_default ().schema, 0, () => {
screen.get_display ().add_keybinding ("switch-to-workspace-last", BehaviorSettings.get_default ().schema, 0, () => {
screen.get_workspace_by_index (screen.n_workspaces - 1).activate (screen.get_display ().get_current_time ());
});
screen.get_display ().add_keybinding ("zoom-in", BehaviorSettings.get_default ().schema, 0, () => {