Clement Lefebvre
29d14c01d1
Fix launching of pkexec applications
...
When launching mintsources, timeshift or an app which Exec field (in the desktop file)
starts with pkexec, nothing happens and the output states:
"Refusing to render service to dead parents."
For some reason this does not happen on fresh LMDE 4 and Mint 19.3 installations,
but it happens on LMDE 3 -> LMDE 4 and 19.1 -> 19.3 upgrades.
Similar bugs were fixed in nemo and cinnamon. Pkexec is known to cause issues
depending on how it's launched.
This introduces a workaround to wrap the pkexec call within an "sh -c".
2020-03-30 14:40:06 +01:00
Clement Lefebvre
b7a1fa0b94
Remove support for custom colors
...
Since the move to GTK3 custom color support is extremely hacky and buggy:
- It relies on gtk_widget_override_color() which is deprecated
- Only one call to gtk_widget_override_color() is functional, successive
calls are ignored, leading to the menu not changing colors when the custom
colors are changed or enabled/disabled.
- RegenPlugins leads to a loss of color.
- Theme changes are broken due to overridden colors.
The feature is also very niche and quite unecessary. If a custom color is
better than the default one we should apply the change in the theme or
define a new theme which inherits ours and simply defines the menu
differently.
The way to do this, in line with GTK's design, is via CSS at theme level.
2019-07-22 13:30:59 +02:00
Clement Lefebvre
65c9c3e003
Applications: Categories column always use natural width
...
Ported from https://github.com/linuxmint/mintmenu/pull/227
2019-05-14 14:20:37 +01: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
Andrew
d3ce506d45
Fix broke running with "xdg-su" in exec field ( #200 )
2019-01-21 15:50:58 +00:00
Clement Lefebvre
469eaf57e5
mint-remove-application: Don't use gksu
...
mint-common now uses pkexec internally
2018-03-13 15:05:17 +00:00
Leigh Scott
ce675497d1
fix indent ( #183 )
2017-08-26 17:35:45 +02:00
monsta
89c5ea08ae
easybuttons: fix runtime warning about missing MateDesktop version
2017-05-04 10:57:28 +01:00
JosephMcc
0653dcdf7a
Don't ignore icons from /usr/share/pixmaps
...
This fixes some apps like Slack and WMail not showing the proper icon
2017-04-29 03:00:45 -07:00
Clement Lefebvre
65fb842a81
Fix add to desktop
2017-04-28 16:00:31 +01:00
Clement Lefebvre
ee8ae40cd0
Remove more ctypes
2017-04-28 12:45:07 +01:00
leigh123linux
4e46d9b128
fix merge
2016-11-25 22:38:28 +00:00
Clement Lefebvre
eafbd9d7ef
Fixed launching some Wine applications
...
Replaces "\\" ocurrences in appExec with "\".
2016-10-05 10:21:21 +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
monsta
08c61dfc76
Escape ampersand in app names and comments
2014-05-22 17:44:38 +04:00
Clement Lefebvre
b90b835497
Switch uninstaller from mintRemove to mint-common
2014-05-06 10:17:21 +01:00
monsta
f07b58b310
Changed the remaining Gnome references to MATE
2014-03-28 10:48:47 +04:00
Clement Lefebvre
c93ffb2ffe
Merge branch 'button-focus' of https://github.com/hordepfo/mintmenu into hordepfo-button-focus
...
Conflicts:
usr/lib/linuxmint/mintMenu/plugins/applications.py
2014-03-18 11:15:33 +00:00
VitalD
c2c0e5fae2
Update easybuttons.py
...
Solving for bug: https://bugs.launchpad.net/linuxmint/+bug/1266751
2014-02-18 17:33:18 +03:00
hordepfo
24519ad233
Solves app and category buttons focus issues
...
The buttons were grabbing the focus out of the search entry on hover,
inducing strange behaviour.
Fixes #23
2014-02-03 19:21:53 +00:00
Clement Lefebvre
62bee525c8
Only use x-terminal-emulator as a fallback if mate-terminal isn't installed (also fixes x-terminal-emulator uses as default in distros where it doesn't exist - Fedora for instance)
2014-01-20 15:04:28 +00:00
Clement Lefebvre
55160de553
Handle category additions/removals one by one
2013-11-25 16:06:22 +00:00
Clement Lefebvre
0211675202
Merge branch 'cwd-fix' of https://github.com/xwizard/mintmenu into xwizard-cwd-fix
...
Conflicts:
usr/lib/linuxmint/mintMenu/plugins/execute.py
2013-11-25 12:58:37 +00:00
Clement Lefebvre
e433f8724f
Fixed unicode support (again...) :)
2013-05-21 21:24:30 +01:00
Michael Webster
f30f258ce6
Change how we check for updating the icon theme
2013-05-21 10:40:05 -04:00
Clement Lefebvre
6994188c71
Fixed mintMenu not working properly in Korean (don't re-encode unicode strings)
2013-05-21 11:00:55 +01:00
Michael Webster
9f8f76b0eb
Don't use gdkpixbufs, add path-based icons into a supplemental icon
...
directory and create Gtk.Images from their fake names.
2013-05-20 21:18:38 -04:00
Michael Webster
7727fa6e8a
Fix icon name encoding error when converting to ctypes
2013-05-11 13:43:18 -04:00
Clement Lefebvre
c010d279fb
Fixed some icons getting too big/small (use bitcoin-qt to reproduce)
2013-05-09 11:02:08 +01:00
Clement Lefebvre
201f1e718f
Fixed using the default icon when the icon isn't found
2013-05-09 10:51:33 +01:00
Michael Webster
95c4534590
Disable unnecessary logging
2013-05-08 14:45:29 -04:00
Michael Webster
17159d0492
Add a slight delay on reloading a changed desktop file, we were trying
...
to read it before it finished writing, and ending up with no entry.
2013-05-08 12:27:04 -04:00
Michael Webster
49d24e0f4c
Really fix drag icons
2013-05-08 09:16:55 -04:00
Michael Webster
471519d43b
restore drag source icons
2013-05-08 09:05:09 -04:00
Michael Webster
3e997985b8
Change how we get icons for easybuttons
2013-05-08 08:57:55 -04:00
Clement Lefebvre
924342161a
Don't refresh icons on icon theme change (this is a regression, but since the migration to g.i. this makes mintmenu crash)
2013-05-07 13:52:32 +02:00
Clement Lefebvre
821f7a1b50
Don't reload the icon when a desktop file changes (this is a regression, but after the migration to g.i, instanciating pixbufs repeatedly leads to segmentation faults and crashes mintmenu)
2013-05-07 13:35:00 +02:00
Clement Lefebvre
0382cc3682
More fixes...
2013-05-03 00:12:24 +01:00
Clement Lefebvre
795e6ec5bb
Added missing "self" in function calls
2013-05-02 23:08:56 +01:00
Clement Lefebvre
61793ab7d8
Fix ascii/unicode errors (mintmenu not loading in Mint 15 - French)
2013-05-02 20:06:55 +01:00
Michael Webster
b193600595
Don't use set_markup when it's not necessary, use set_text
2013-03-18 18:50:56 -04:00
Clement Lefebvre
a1127355db
Fixed: use default icon theme (IconTheme() returns a new empty one)
2013-03-13 14:00:13 +00:00
Michael Webster
276e72d9d6
Reduce startup spam
2013-03-10 19:47:02 -04:00
Michael Webster
c36cbfe690
Fix menu refresh
2013-03-08 17:56:45 -05:00
Michael Webster
a90cb0ac19
Dirty hack to get favorites re-ordering functional. All dnd working now
2013-03-08 15:25:14 -05:00
Michael Webster
fffebe8897
Drag and drop working for creating favorites, still problem with reordering
2013-03-08 13:12:25 -05:00