Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Evergreen:11.4
gnome-do
gnome-do-fix-keybindings-gconf.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File gnome-do-fix-keybindings-gconf.patch of Package gnome-do
=== modified file 'Do/src/Do.Core/Controller.cs' Index: Do/src/Do.Core/Controller.cs =================================================================== --- Do/src/Do.Core/Controller.cs.orig +++ Do/src/Do.Core/Controller.cs @@ -133,46 +133,46 @@ namespace Do.Core OnSummonKeyPressEvent, true)); // this keybinding is disabled by default - note the empty keybinding - Services.Keybinder.RegisterKeyBinding (new KeyBinding (Catalog.GetString ("Summon in Text Mode"), "", + Services.Keybinder.RegisterKeyBinding (new KeyBinding ("Summon in Text Mode", "", OnTextModeSummonKeyPressEvent, true)); - Services.Keybinder.RegisterKeyBinding (new KeyBinding (Catalog.GetString ("Enter Text Mode"), "period", + Services.Keybinder.RegisterKeyBinding (new KeyBinding ("Enter Text Mode", "period", OnTextModePressEvent)); - Services.Keybinder.RegisterKeyBinding (new KeyBinding (Catalog.GetString ("Clear"), "Escape", + Services.Keybinder.RegisterKeyBinding (new KeyBinding ("Clear", "Escape", OnClearKeyPressEvent)); - Services.Keybinder.RegisterKeyBinding (new KeyBinding (Catalog.GetString ("Copy to Clipboard"), "<Control>c", + Services.Keybinder.RegisterKeyBinding (new KeyBinding ("Copy to Clipboard", "<Control>c", OnCopyEvent)); - Services.Keybinder.RegisterKeyBinding (new KeyBinding (Catalog.GetString ("Paste from Clipboard"), "<Control>v", + Services.Keybinder.RegisterKeyBinding (new KeyBinding ("Paste from Clipboard", "<Control>v", OnPasteEvent)); - Services.Keybinder.RegisterKeyBinding (new KeyBinding (Catalog.GetString ("Previous Pane"), "<Shift>Tab", + Services.Keybinder.RegisterKeyBinding (new KeyBinding ("Previous Pane", "<Shift>Tab", OnPreviousPanePressEvent)); - Services.Keybinder.RegisterKeyBinding (new KeyBinding (Catalog.GetString ("Next Pane"), "Tab", + Services.Keybinder.RegisterKeyBinding (new KeyBinding ("Next Pane", "Tab", OnNextPanePressEvent)); - Services.Keybinder.RegisterKeyBinding (new KeyBinding (Catalog.GetString ("Previous Item"), "Up", + Services.Keybinder.RegisterKeyBinding (new KeyBinding ("Previous Item", "Up", OnPreviousItemPressEvent)); - Services.Keybinder.RegisterKeyBinding (new KeyBinding (Catalog.GetString ("Next Item"), "Down", + Services.Keybinder.RegisterKeyBinding (new KeyBinding ("Next Item", "Down", OnNextItemPressEvent)); - Services.Keybinder.RegisterKeyBinding (new KeyBinding (Catalog.GetString ("First Item"), "Home", + Services.Keybinder.RegisterKeyBinding (new KeyBinding ("First Item", "Home", OnFirstItemPressEvent)); - Services.Keybinder.RegisterKeyBinding (new KeyBinding (Catalog.GetString ("Last Item"), "End", + Services.Keybinder.RegisterKeyBinding (new KeyBinding ("Last Item", "End", OnLastItemPressEvent)); - Services.Keybinder.RegisterKeyBinding (new KeyBinding (Catalog.GetString ("Previous 5 Results"), "Page_Up", + Services.Keybinder.RegisterKeyBinding (new KeyBinding ("Previous 5 Results", "Page_Up", OnNextItemPagePressEvent)); - Services.Keybinder.RegisterKeyBinding (new KeyBinding (Catalog.GetString ("Next 5 Results"), "Page_Down", + Services.Keybinder.RegisterKeyBinding (new KeyBinding ("Next 5 Results", "Page_Down", OnPreviousItemPagePressEvent)); - Services.Keybinder.RegisterKeyBinding (new KeyBinding (Catalog.GetString ("Step Out of Item"), "Left", + Services.Keybinder.RegisterKeyBinding (new KeyBinding ("Step Out of Item", "Left", OnStepOutItemPressEvent)); - Services.Keybinder.RegisterKeyBinding (new KeyBinding (Catalog.GetString ("Step Into Item"), "Right", + Services.Keybinder.RegisterKeyBinding (new KeyBinding ("Step Into Item", "Right", OnStepInItemPressEvent)); - Services.Keybinder.RegisterKeyBinding (new KeyBinding (Catalog.GetString ("Select Multiple Items"), "comma", + Services.Keybinder.RegisterKeyBinding (new KeyBinding ("Select Multiple Items", "comma", OnSelectionKeyPressEvent)); } Index: Do/src/Do.UI/KeybindingTreeView.cs =================================================================== --- Do/src/Do.UI/KeybindingTreeView.cs.orig +++ Do/src/Do.UI/KeybindingTreeView.cs @@ -71,7 +71,7 @@ namespace Do.UI foreach (KeyBinding binding in Services.Keybinder.Bindings) { ks = (string.IsNullOrEmpty (binding.KeyString)) ? Catalog.GetString ("Disabled") : binding.KeyString; - store.AppendValues (binding.Description, ks, binding.DefaultKeyString, binding); + store.AppendValues (Catalog.GetString(binding.Description), ks, binding.DefaultKeyString, binding); } }
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor