Skip to content

Commit 026d657

Browse files
committed
Replaced GlobalHotkeys with the keybinder module
The keybinder module is available at https://github.com/engla/keybinder Note: when setting a global hotkey the setter is responsable for calling unbind on the previously bound key
1 parent 2272a57 commit 026d657

14 files changed

+12
-1717
lines changed

configure.ac

-1
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,6 @@ AC_CONFIG_FILES([
9696
data/icons/Makefile
9797
po/Makefile.in
9898
src/guake/Makefile
99-
src/guake/globalhotkeys/Makefile
10099
src/guake/globals.py
101100
doc/src/conf.py
102101
])

src/guake/Makefile.am

-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
SUBDIRS = globalhotkeys
2-
31
guakemoduledir = $(pkgpythondir)
42
guakemodule_PYTHON = __init__.py \
53
__main__.py \

src/guake/gconfhandler.py

-1
Original file line numberDiff line numberDiff line change
@@ -364,7 +364,6 @@ def reload_globals(self, client, connection_id, entry, data):
364364
method. If more global hotkeys should be added, just connect
365365
the gconf key to the watch system and add.
366366
"""
367-
self.guake.hotkeys.unbind_all()
368367
key = entry.get_value().get_string()
369368
if not self.guake.hotkeys.bind(key, self.guake.show_hide):
370369
raise ShowableError(_('key binding error'),

src/guake/globalhotkeys.so

-1
This file was deleted.

src/guake/globalhotkeys/Makefile.am

-17
This file was deleted.

0 commit comments

Comments
 (0)