Commit Graph

12 Commits

Author SHA1 Message Date
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
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
Clement Lefebvre
877ce3640b Fixed indentation and trailing spaces 2016-05-21 17:11:36 +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
Clement Lefebvre
b58e617446 Use /usr/bin/python always 2014-07-07 11:49:32 +02:00
hordepfo
200653975f Use current time for events that might not have a timestamp. 2014-05-01 20:54:43 +01:00
hordepfo
7b43e5e2b6 Fixes reported issues with the mouse pointer. 2014-05-01 18:13:17 +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