Commit Graph

585 Commits

Author SHA1 Message Date
Clement Lefebvre
28c7126bba Fix launching 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.

Specifying DO_NOT_REAP_CHILD in the spawn flags helps here. Afaik it makes it so
we're the parent of the pkexec process during launch. Pkexec fails to launch
otherwise.

gather_pid_callback() does nothing, it's just there to ack the pid callback. Afaik
this helps preventing zombie [defunct] processes when they terminate.
2020-03-31 12:15:48 +01:00
Clement Lefebvre
e603bee1f3 6.0.3 2019-12-10 16:08:20 +00:00
Clement Lefebvre
3c8e638c01 Prefer mozo over menulibre
mozo was fixed in 1.22.1 (new items can be created again).
menulibre suffers a new regression (new items are duplicated).

Prefer the homegrown solution again...
2019-12-10 16:06:40 +00:00
Clement Lefebvre
d80c8b9fa4 6.0.2 2019-11-29 12:02:01 +00:00
Clement Lefebvre
7cded29c87 Preferences: Fix IconChooser argument 2019-11-29 12:01:29 +00:00
Clement Lefebvre
82345466e9 6.0.1 2019-11-19 14:00:53 +00:00
Clement Lefebvre
1c4c4dd365 l10n: Update POT 2019-11-19 14:00:33 +00:00
Clement Lefebvre
52e82071b8 Add menu icon selection 2019-11-19 14:00:10 +00:00
Clement Lefebvre
22ceb1f3e1 Change default menu icon 2019-11-19 13:43:33 +00:00
Clement Lefebvre
34356389c3 6.0.0 2019-11-13 10:37:33 +01:00
Clement Lefebvre
d4b1535685 Add missing dep on python-gi-cairo 2019-11-13 10:33:07 +01:00
Clement Lefebvre
3d31537da0 Applet: Fix compatibility with symbolic pngs
See https://developer.gnome.org/gtk3/stable/gtk-encode-symbolic-svg.html

Also properly set the icon size.
2019-09-27 22:26:39 +01:00
Clement Lefebvre
74bdad23cf Applet: Fix changing the icon to a symbolic icon 2019-09-27 13:52:16 +01:00
Clement Lefebvre
01ae4b0f74 Applet: Fix handling of symbolic icons 2019-09-26 14:16:05 +01:00
Clement Lefebvre
298719a911 Fix blurry icon in HiDPI 2019-09-26 11:32:07 +01:00
Clement Lefebvre
cada2d72c1 5.9.9 2019-09-26 10:10:39 +01:00
Clement Lefebvre
3d38765734 Applications: Fix empty apps when a category has no icon 2019-09-26 09:57:10 +01:00
Clement Lefebvre
f1c321d255 RecentApp: Fix crash when location doesn't exist 2019-09-26 09:42:43 +01:00
monsta
c6aef1bb28 depend on python3-xapp instead of python-xapp (#238)
new preferences code added in 2a4267673d is actually Python 3
2019-09-05 13:07:53 +02:00
monsta
210eaf0929 plugins: fix number of callback arguments (#236)
* system management: fix number of callback arguments

fixes runtime warning:
TypeError: changePluginSize() takes exactly 4 arguments (3 given)

looks like it was overlooked in 66f76df4d3

* places: remove leftover argument from callback
2019-08-19 15:23:46 +02:00
monsta
99797f3a40 depend on gir1.2-matedesktop-2.0 instead of gir1.2-mate-desktop (#231)
gir1.2-mate-desktop is a transitional package
2019-08-19 15:22:35 +02:00
Clement Lefebvre
703068ab65 5.9.8 2019-07-29 12:24:17 +02:00
Clement Lefebvre
69475bbb38 Don't depend on a menu editor
mintMenu also runs as fallback in Cinnamon,
we don't want to pull an editor there.
2019-07-29 12:23:37 +02:00
Clement Lefebvre
c02fc00522 5.9.7 2019-07-23 12:34:22 +02:00
Clement Lefebvre
6f7a4bf3a6 Add support for menulibre 2019-07-23 12:33:52 +02:00
Clement Lefebvre
3173f6cc6b 5.9.6 2019-07-22 13:46:09 +02:00
Clement Lefebvre
048b6c042c l10n: Update POT 2019-07-22 13:45:21 +02: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
3ad195599b Fix crash on non-existing favorites
Corner case when rebuilding favs from scratch
2019-07-21 16:52:46 +02:00
Clement Lefebvre
89f9071bd4 l10n: Update POT 2019-07-21 16:08:34 +02:00
Clement Lefebvre
42ef09742a Switch to symbolic icons 2019-07-21 16:01:50 +02:00
Clement Lefebvre
3170a2a6b9 5.9.5 2019-07-17 15:49:31 +02:00
Clement Lefebvre
b41e843aa0 Fix default favorites not being created 2019-07-17 15:49:04 +02:00
Clement Lefebvre
3c45ca9c25 5.9.4 2019-07-17 11:38:58 +02:00
Clement Lefebvre
2419c9d36c Packaging: Add dependency on python3-xlib
preferences.py are run using python3, when they import
the keybdinging module, it needs access to python3-xlib.
2019-07-17 11:37:52 +02:00
Clement Lefebvre
d0d29936f7 5.9.3 2019-07-05 11:32:15 +02:00
Clement Lefebvre
b5f4789090 Applications: Port to GI MateMenu 2019-07-05 11:31:30 +02:00
Clement Lefebvre
bc3c9078b6 5.9.2 2019-06-30 15:44:13 +02:00
Clement Lefebvre
7a3891647f Applet icon: Add support for icon names 2019-06-13 14:41:18 +01:00
Clement Lefebvre
a6ec1b3114 Preferences: Fix support for low resolutions 2019-05-21 10:18:03 +01:00
Clement Lefebvre
66f76df4d3 Remove obsolete code 2019-05-20 15:44:26 +01:00
Clement Lefebvre
8ef7e15d19 Recent: Move documents to the left
It's more useful than recent apps

Fixes https://github.com/linuxmint/mintmenu/issues/186
2019-05-20 15:19:36 +01:00
Clement Lefebvre
ca78764c13 Fix l10n
Move .ui to share folder
Fix makepot and translations
2019-05-20 14:50:32 +01:00
Clement Lefebvre
2a4267673d Revamp preferences
Use xapp widgets
Rewrite
2019-05-20 14:50:28 +01:00
Clement Lefebvre
e2e4531380 l10n: Update POT 2019-05-14 17:24:55 +01:00
Clement Lefebvre
476cf29d38 Add option to show search bar on top
Ported from https://github.com/linuxmint/mintmenu/pull/221
2019-05-14 17:15:42 +01:00
Clement Lefebvre
1984d57525 Fix tooltips and make them optional, remove category tooltips in apps
Ported from https://github.com/linuxmint/mintmenu/pull/226
2019-05-14 16:49:40 +01: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
Clement Lefebvre
7fa91f721e Configuration screen: Fix alignmnents and margins
Credits to:
https://github.com/linuxmint/mintmenu/pull/222
https://github.com/linuxmint/mintmenu/pull/224
2019-05-14 14:09:45 +01:00
Clement Lefebvre
c293d485d9 Inject the app version during the build 2019-02-27 17:12:14 +00:00