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-warning-empty-keybinding.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File gnome-do-fix-warning-empty-keybinding.patch of Package gnome-do
Index: gnome-do-0.8.4/Do.Platform/src/Do.Platform/Do.Platform.Common/AbstractKeyBindingService.cs =================================================================== --- gnome-do-0.8.4.orig/Do.Platform/src/Do.Platform/Do.Platform.Common/AbstractKeyBindingService.cs +++ gnome-do-0.8.4/Do.Platform/src/Do.Platform/Do.Platform.Common/AbstractKeyBindingService.cs @@ -53,9 +53,9 @@ namespace Do.Platform.Common //try to register the key from the prefs with the OS if (!RegisterOSKey (binding.KeyString, binding.Callback)) { //if we fail to register the summon key, try again with the default binding - if (RegisterOSKey (binding.DefaultKeyString, binding.Callback)) { + if (!string.IsNullOrEmpty (binding.DefaultKeyString) && RegisterOSKey (binding.DefaultKeyString, binding.Callback)) { binding.KeyString = binding.DefaultKeyString; - } else { + } else if (!string.IsNullOrEmpty (binding.KeyString) && !string.IsNullOrEmpty (binding.DefaultKeyString)) { Log<AbstractKeyBindingService>.Error ("Failed to bind \"{0}\" to \"{1}\"", binding.Description, binding.KeyString); binding.KeyString = "";
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