Commit Graph

102 Commits

Author SHA1 Message Date
Clement Lefebvre
7dde0271ee Fix race condition with dconf on session start
gsettings is known to randomly spit changes signal by mistake at session start.

Only start listening to these after the menu elements are created.
2017-04-28 16:26:39 +01:00
Clement Lefebvre
0824cdf39d Fix get_origin calls in Betsy 2017-04-28 13:02:28 +01:00
Clement Lefebvre
ee8ae40cd0 Remove more ctypes 2017-04-28 12:45:07 +01:00
Clement Lefebvre
931ccd73c6 Merge pull request #162 from leigh123linux/master
Port to gtk3
2017-04-28 12:04:14 +01:00
Clement Lefebvre
4dc179d3ed Add Cinnamon support
We can use mintmenu in fallback mode
2016-12-07 01:43:01 +00:00
Clement Lefebvre
9747e2ec81 Use setproctitle to name the process 2016-12-06 22:37:02 +00:00
Clement Lefebvre
75b5c98894 Reorganize imports 2016-12-06 22:30:46 +00:00
leigh123linux
daac10823f fix border colour 2016-09-07 09:40:38 +01:00
leigh123linux
a1d5e35535 fix errors 2016-09-06 22:07:46 +01:00
leigh123linux
150e02c0a0 gtk3 2016-09-06 15:58:34 +01:00
Clement Lefebvre
79f2e2f4f0 Menu icon: Scale svg files to 22px to prevent them from getting too big 2016-06-22 15:51:03 +01:00
Clement Lefebvre
e2a0fabff7 Removed support for opacity
It was buggy and only worked with composition.

It might be reintroduced after the port to GTK3.
2016-06-21 17:13:45 +01:00
Clement Lefebvre
3f1e04c577 Clean up and add debugging info 2016-05-21 18:08:09 +01:00
Clement Lefebvre
877ce3640b Fixed indentation and trailing spaces 2016-05-21 17:11:36 +01:00
Clement Lefebvre
9941267dc5 Remove window titlebar (some metacity themes insist on showing a titlebar..) 2015-12-16 11:37:29 +00:00
Clement Lefebvre
2ea8e07a27 Fine-tuned border widths and padding 2015-11-04 01:23:00 +00:00
Clement Lefebvre
506ab67fa4 Add a frame around the menu 2015-11-04 00:55:31 +00: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
bc98ede28e Merge pull request #114 from monsta/patch-9
small fixes
2015-02-24 13:15:33 +00:00
monsta
51873b120d fixed wrong indentation 2015-01-16 15:16:25 +03:00
monsta
77e1177604 removed unused and confusing argument 2014-12-01 15:16:01 +03:00
Clement Lefebvre
b58e617446 Use /usr/bin/python always 2014-07-07 11:49:32 +02:00
Clement Lefebvre
a4694cc7c1 Revert "Simple fix for the flickering."
This reverts commit 5a7b246b7e.
2014-05-25 14:10:41 +01:00
hordepfo
5a7b246b7e Simple fix for the flickering. 2014-05-06 22:05:14 +01:00
Clement Lefebvre
2cc7f19546 Merge pull request #81 from monsta/better-focusout-blocking
Better logic in focus-out-event blocking/unblocking
2014-04-02 12:25:23 +01:00
Clement Lefebvre
fbf13f70cc Merge pull request #74 from hordepfo/themes-fixed
Themes fixed
2014-04-02 12:23:32 +01:00
Clement Lefebvre
afd56daef3 Merge pull request #79 from monsta/remove-unused-stuff
Removed unused imports and some other stuff
2014-04-02 12:15:27 +01:00
monsta
7ef248fa8e Better logic in focus-out-event blocking/unblocking, will not crash in Mint 13 2014-04-01 15:26:00 +04:00
monsta
52a030411a Removed unused imports and some other stuff 2014-03-28 14:46:28 +04:00
monsta
f07b58b310 Changed the remaining Gnome references to MATE 2014-03-28 10:48:47 +04:00
hordepfo
491595bfbd Several theming and color fixes
Restructured a bit how theming and coloring works. Now theme and color
changes work on the fly. No need to restart mintMenu anymore. Note that
changing theme no longer regenerates plugins, so it's faster.

Fixes issue #47
2014-03-18 16:08:55 +00:00
Clement Lefebvre
b013fa83ae Merge branch 'new-show-hide' of https://github.com/hordepfo/mintmenu into hordepfo-new-show-hide
Conflicts:
	usr/lib/linuxmint/mintMenu/plugins/applications.py
2014-03-18 11:26:00 +00:00
Clement Lefebvre
55f19b3d28 Merge pull request #63 from hordepfo/orientation
Fixed some panel orientation issues
2014-03-18 11:00:43 +00: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
hordepfo
3113334efb Fixed some panel orientation issues 2014-02-03 20:05:43 +00:00
hordepfo
f4091dffe3 Fixes transparency issues on first composited draw
When using compositing and transparency, the first draw was only
showing the shadow borders on the window. To fix this the opacity has
to be set after the first show. Don't know why this is needed, but it's
probably a bug in the underlying toolkits (maybe GTK or GDK).

It still looks a little jerky the first time the window is drawn.
2014-02-03 20:03:46 +00:00
Clement Lefebvre
18d293ef4a Fixed applet background not following panel style 2014-01-20 14:56:17 +00:00
Michael Webster
32b4b90f76 Fix segfault and/or losing custom icons when opening preferences 2013-05-21 15:22:16 -04:00
Michael Webster
d1a6dc819f Fix recent plugin - buggy api 2013-05-21 11:24:01 -04:00
Michael Webster
f30f258ce6 Change how we check for updating the icon theme 2013-05-21 10:40:05 -04:00
Michael Webster
4b7ec202ca Some cleanup 2013-05-20 22:07:56 -04:00
Michael Webster
3e997985b8 Change how we get icons for easybuttons 2013-05-08 08:57:55 -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
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
c765d03a34 Fix onGrabBroken when dragging items or using popup menus (Yay!) 2013-03-10 20:31: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
Michael Webster
baf34b6b4b Remove old glade files 2013-03-09 12:36:46 -05:00