Clement Lefebvre
9f22254425
Don't set window decorations
...
This works ootb with recent GTK versions now.
The workaround we used creates problems when run in HiDPI
(the window is misplaced and its size is twice larger).
2018-05-31 12:56:16 +01:00
Victor Kareh
45faa83e52
Fix menu positioning to account for multiple monitors ( #24 )
...
* Fix menu positioning to account for multiple monitors
It takes into account the orientation of the panel applet. It also
offsets its right/left positioning to avoid clipping.
Fixes #21
* Take into account possible clipping in the top/bottom of the monitor
2018-05-31 10:46:35 +01:00
Victor Kareh
ce03b1674d
Support correct widget sizes for HiDPI displays
2018-05-31 10:42:30 +01:00
Leigh Scott
ce675497d1
fix indent ( #183 )
2017-08-26 17:35:45 +02:00
Clement Lefebvre
7e19123adc
Add exception handling around keybinder
...
The keybinder isn't functional in guest sessions.
2017-06-12 15:44:24 +01:00
Clement Lefebvre
0d3702b716
Add exception handling around pointer monitor
...
The pointer monitor isn't functional in guest sessions.
2017-06-12 15:36:46 +01:00
monsta
2c8a68633e
fix menu crash when placed on left vertical panel
2017-05-04 10:57:28 +01:00
JosephMcc
e86e11044d
Remove the ability to set a custom border
...
This just doesn't work the way a user would expect under gtk3 so go ahead and
remove it.
2017-05-01 13:09:09 -07:00
Clement Lefebvre
f67292b048
Give the applet box a class name to allow easier themeing
2017-05-01 17:00:00 +01:00
Clement Lefebvre
63b9abce0e
Fix #157
2017-04-28 16:34:26 +01:00
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