Commit Graph

23 Commits

Author SHA1 Message Date
gm10
33865c4dc9 keybinding: Remove left-over debug messages (#213) 2019-02-12 13:10:58 +00:00
gm10
3c6e384a1d Assorted cleanup, fixes and performance improvements (#206)
* initial cleanup with some debug messaging

* further cleanup, mostly coding style

* - more cleanup, and speed-up
- more fixes, including many icon and encoding related issues
- replace some icons and remove compile.py
- prepare for python3 port as much as possible

* remove some more unneeded files, few left-over cleanups

* move some external scripts to python3 already

* Fix and clean up add_search_suggestions and add_apt_filter_results logic

* more cleanup, thx Codacity

* fix issue with a path

* add a killall to the test script, fix a method declaration

* fix custom colour setting

* keybinding: re-add GdkX11

* re-add mint-common dep

* Use os.path.expanduser("~") instead of os.environ

* revert re-add GdkX11, but import Gtk first
2019-02-11 13:54:20 +00:00
Leigh Scott
ce675497d1 fix indent (#183) 2017-08-26 17:35:45 +02:00
Victor Kareh
76ba6daf64 Fix windows-key global keybinding. (#172)
This fixes #98 where setting the windows-key as the menu hotkey blocks
all other windows-key-based shortcuts.
2017-05-05 16:09:26 +01:00
Clement Lefebvre
240c5cbc26 Fix keybinding in LMDE 2017-04-28 13:24:38 +01:00
Clement Lefebvre
ee8ae40cd0 Remove more ctypes 2017-04-28 12:45:07 +01:00
leigh123linux
150e02c0a0 gtk3 2016-09-06 15:58:34 +01:00
Chromatic Dragon
d0f2fb8fb0 Changes to support 64-bit pointers passing the C-python interface.
This fixes recent problems encountered on systems using python2
compiled with the PIE option set.
2015-09-09 16:17:47 -05:00
James Lu
d004409af9 Coerse shebangs to #!/usr/bin/python2
Arch Linux's default "python" install points to Python 3, and mintmenu is certainly not compatible with it!

Closes #134.
2015-06-25 17:44:30 -07:00
monsta
51873b120d fixed wrong indentation 2015-01-16 15:16:25 +03:00
Clement Lefebvre
b58e617446 Use /usr/bin/python always 2014-07-07 11:49:32 +02:00
Clement Lefebvre
a626d44e4e Replaced non-ascii character in source file 2014-04-02 12:14:24 +01:00
raveit65
b6bd121925 add some missing shbangs 2014-03-28 16:44:13 +01:00
hordepfo
b14e2e0450 Changed all showing/hiding logic
It seems most GTK apps like mintMenu and the default Gnome2/Mate menu
use the GDK grab focus functions to grab input (pointer/keyboard).
These functions appear to suck all input to the app like a blackhole.
This patch gives more interactivity to the mintMenu window, making it
a first class object in the desktop.

Things that work now:
* When the window is open, hovering on other desktop icons highlights them

* Clicking outside the window propagates the event (e.g. select another
window)

* Alt-tab and other events unfocus and hide the window

* Scrollbars in the mintMenu finally work right

* Probably several other small things
2014-02-03 20:14:52 +00:00
Michael Webster
bc514d1c8c Don't break keybinding service when we get an unexpected event
(onscreen keyboard)
2013-05-20 21:37:21 -04:00
Michael Webster
0c2626d1ff Add un-set keybinding action, improve key grabbing during keybinding edit 2013-04-01 19:50:50 -04:00
Michael Webster
4b963d4069 Allow clicking the keybinding button a second time to cancel the binding
operation.
2013-03-31 21:11:54 -04:00
Michael Webster
3cf26cf96c Implemented a better keybinding widget - recognizes lone modifiers
as hotkeys (like Gtk3 can).
2013-03-31 21:02:36 -04:00
Michael Webster
b07f97c35e Use current keybinding to close menu when it's open. Update keybinding
when gsettings key changes.  Improve keybinding setter in preferences
to allow teaching the keybinding.  Needs further improvement - a way
to use/assign single modifiers.  Added a combobox temporarily, not
happy with it yet... maybe buttons instead...
2013-03-30 23:46:01 -04:00
Michael Webster
e50af35715 Fix GObject deprecations 2013-03-13 20:24:32 -04:00
Michael Webster
58ee643264 Hotkey binding working 2013-03-09 19:43:27 -05:00
Michael Webster
c6f19e56bd Disable keybinding temporarily, not working yet 2013-03-09 15:37:17 -05:00
Michael Webster
cab7f82899 Add keybinding lib 2013-03-09 14:26:22 -05:00