Commit Graph

525 Commits

Author SHA1 Message Date
Clement Lefebvre
7f920dfb72 5.9.1.2 2020-03-31 12:37:49 +01:00
Clement Lefebvre
cb9d4875f3 Fix launching pkexec applications (#248)
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:37:09 +01:00
Andrew
20a98cd287 Fix broke running with "xdg-su" in exec field (#200) 2020-03-31 12:36:19 +01:00
gm10
df1460d7c5 Applications: Fix keypress event handler (#205)
* Applications: Fix keypress event handler

* further fix and simplify the keypress handler

* disconnect the keyPress handler when destroying the plugin
2020-03-31 12:36:16 +01:00
gm10
02f49184ed Places: Don't hardcode file browser (#204) 2020-03-31 12:36:03 +01:00
Clement Lefebvre
30579e0b41 5.9.1.1 2020-03-19 11:04:57 +00:00
Clement Lefebvre
dfa0758153 Inject the app version during the build 2020-03-19 11:04:17 +00:00
Clement Lefebvre
9e97c7d33b 5.9.1 2018-11-30 20:17:51 +00:00
Clement Lefebvre
5520ad9d12 Change default menu icon 2018-11-30 20:17:30 +00:00
Clement Lefebvre
7442d496ec 5.9.0 2018-07-08 16:00:49 +02:00
Clement Lefebvre
841bce86cb Packaging: Don't force dependency on MATE 1.18+
In LMDE MATE 1.16 is using GTK3.
2018-07-08 16:00:01 +02:00
Clement Lefebvre
11f49ebe37 5.8.9 2018-06-08 12:21:36 +01:00
Clement Lefebvre
54e695b056 Fix RecentHelper spam in logs
When recent plugin is disabled, recentAppBox is None,
resulting in errors in the logs:

org.mate.panel.applet.MintMenuAppletFactory[1038]: File “/usr/lib/linuxmint/mintMenu/plugins/recentHelper.py”, line 130, in applicationButtonClicked
org.mate.panel.applet.MintMenuAppletFactory[1038]: doRecentApps()
org.mate.panel.applet.MintMenuAppletFactory[1038]: File “/usr/lib/linuxmint/mintMenu/plugins/recentHelper.py”, line 112, in doRecentApps
org.mate.panel.applet.MintMenuAppletFactory[1038]: for i in recentAppBox.get_children():
org.mate.panel.applet.MintMenuAppletFactory[1038]: AttributeError: ‘NoneType’ object has no attribute ‘get_children’
2018-06-08 12:19:59 +01:00
Clement Lefebvre
c2ddf199aa 5.8.8 2018-05-31 13:54:05 +01:00
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
Clement Lefebvre
eab381470d 5.8.7 2018-05-30 18:20:33 +01:00
monsta
66a9217da7 add missing deps on python-apt and python-configobj (#193) 2018-05-30 17:19:56 +00:00
Clement Lefebvre
e374ee5e9f 5.8.6 2018-05-15 15:14:13 +01:00
Clement Lefebvre
d64ffb9a94 Favorites: Remove pidgin, add pix, fix gnome-calculator.. 2018-05-15 15:13:06 +01:00
Clement Lefebvre
018d67e1bb 5.8.5 2018-05-07 12:27:04 +01: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
Vincent Vermeulen
5f190ceac9 Highlight previous search so typing overwrites it (#191)
* Highlight previous search so typing overwrites it

When set to remember the last search, on next opening the menu it would display the last search and put the cursor at the end of it. If you wanted to do a new search you would first have to delete your previous search. More convenient if you starting typing it overwrites the last search and only if you place the cursor with arrow keys or mouse it switches to insert / append text to the last search.

There was existing code that did in fact do that but it was in the wrong place. This patch puts it in the right place. Fixes #86.

* Remove code to set position at end

Because it doesn't do anything when you select all the text.
2018-03-09 15:45:25 +00:00
Vincent Vermeulen
448299efb2 safe apt search with shell escapes (#190)
This fixes #178.

add_apt_filter_results ran a command with keywords from the menu's Search entry without shell escaping. This made it possible to have it run shell commands by using command substitution. E.g. searching for `$(xeyes)` would run xeyes.

When/if mintmenu gets ported to Python3 pipes.quote should be replaced by shlex.quote.
2018-03-07 09:43:04 +00:00
Clement Lefebvre
ed5a2b35fb 5.8.4 2017-11-12 14:34:11 +00:00
Clement Lefebvre
73a412acea Don't run mintinstall as root
It now runs in user mode.
2017-11-12 14:33:42 +00:00
Clement Lefebvre
7e005b94ea 5.8.3 2017-11-11 09:01:45 +00:00
Hrotkó Gábor
de3aed33f8 Show recently used apps (#167)
Show recently used apps
2017-11-11 08:59:49 +00:00
wesdawg
8f00708252 Search updates (#185)
* Update search URLs to use HTTPS

* Update Wikipedia icon
2017-09-25 15:54:35 +02:00
Leigh Scott
ce675497d1 fix indent (#183) 2017-08-26 17:35:45 +02:00
Clement Lefebvre
a082473a66 5.8.2 2017-06-27 10:02:38 +02:00
Clement Lefebvre
824efd26a9 Recent: Expand plugin to fill empty space 2017-06-27 09:01:18 +01:00
Clement Lefebvre
54dd78bdf2 5.8.1 2017-06-12 15:55:25 +01:00
monsta
d6ebffa9b9 build: add build-dep on dh-python to fix build warning (#179) 2017-06-12 15:54:23 +01: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
1d739da691 applications: don't spam system log with system tools names (#177) 2017-05-25 15:04:48 +01:00
Clement Lefebvre
27c4a837da 5.8.0 2017-05-06 16:19:16 +01:00
Clement Lefebvre
1091f70df0 l10n: Update POT file 2017-05-06 16:18:06 +01:00
Clement Lefebvre
e7931f2956 Places: Explicitly import GLib
Not actually needed, but for clarity and consistency with other plugins.
2017-05-06 14:10:07 +01:00
Alexei Sorokin
bd2e150e6e Use the Gtk3 bookmarks location (#174) 2017-05-06 14:07:02 +01:00
Clement Lefebvre
07124667b7 5.7.9 2017-05-05 16:11:02 +01:00
Victor Kareh
76ba6daf64 Fix windows-key global keybinding. (#172)
This fixes #98 where setting the windows-key as the menu hotkey blocks
all other windows-key-based shortcuts.
2017-05-05 16:09:26 +01:00
monsta
89c5ea08ae easybuttons: fix runtime warning about missing MateDesktop version 2017-05-04 10:57:28 +01:00
monsta
2c8a68633e fix menu crash when placed on left vertical panel 2017-05-04 10:57:28 +01:00
Clement Lefebvre
d1e4d504a7 Merge pull request #171 from linuxmint/fix-gtk-deps
build: fix dependencies for GTK+3 and more
2017-05-03 10:00:36 +01:00
monsta
fe5b4403a8 build: remove dependencies on C libs of MATE
they're not used directly, we only need GI packages,
and these already depend on the corresponding C libs
2017-05-03 10:44:52 +03:00
monsta
403d493375 build: depend on GI packages of MATE >= 1.18.0
to avoid accidental usage with old GTK+2 build of MATE
2017-05-03 10:43:57 +03:00
monsta
9064176c5c build: fix dependencies for GTK+3 2017-05-03 10:13:11 +03:00