Commit Graph

278 Commits

Author SHA1 Message Date
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
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
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
73a412acea Don't run mintinstall as root
It now runs in user mode.
2017-11-12 14:33:42 +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
824efd26a9 Recent: Expand plugin to fill empty space 2017-06-27 09:01:18 +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
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
monsta
89c5ea08ae easybuttons: fix runtime warning about missing MateDesktop version 2017-05-04 10:57:28 +01:00
Clement Lefebvre
2373274304 Fix launching apps which use su-to-root
This was removed by mistake during the port to GTK3.
2017-05-02 13:07:29 +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
272a9079e4 [Alexei Sorokin] Recent: Fix Gtk warnings 2017-04-28 16:18:43 +01:00
Clement Lefebvre
c7a2d83dde Fix empty trash popup 2017-04-28 16:04:01 +01:00
Clement Lefebvre
65fb842a81 Fix add to desktop 2017-04-28 16:00:31 +01:00
Clement Lefebvre
916ad7b731 Fix DND in favorites 2017-04-28 15:50:25 +01:00
Clement Lefebvre
ccf9573581 Fix popup menus 2017-04-28 13:44:09 +01:00
Clement Lefebvre
bf34d718cc Fix unknown variable name 2017-04-28 13:30: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
leigh123linux
4e46d9b128 fix merge 2016-11-25 22:38:28 +00:00
Clement Lefebvre
3f5895145b Search engines: Point to local version of Wikipedia
Look at the locale and point at the appropriate version of Wikipedia.

Before this commit, mintmenu always pointed at the English Wikipedia.

Note: This commit might introduce regressions when a particular locale isn't supported by Wikipedia.
If this becomes a problem, we can fix this based on feedback.
2016-11-23 15:33:34 +00:00
Clement Lefebvre
d1ee760670 Search engines: Fix community links when Internet search is disabled 2016-11-23 15:20:35 +00:00
Clement Lefebvre
60461c5a0b Search engines: Replace Google CSE with DDG
In the absence of locale detection, DDG should be the default engine for everybody.
It's a Mint partner and a much better engine than CSE.
2016-11-23 15:13:29 +00:00
Clement Lefebvre
e18bcf5633 Merge pull request #160 from JKAbrams/optional-internet-search
Optional internet search
2016-11-23 13:59:40 +00:00
Clement Lefebvre
eafbd9d7ef Fixed launching some Wine applications
Replaces "\\" ocurrences in appExec with "\".
2016-10-05 10:21:21 +01:00
leigh123linux
a1d5e35535 fix errors 2016-09-06 22:07:46 +01:00
leigh123linux
be31734ffb glade part #1 2016-09-06 17:52:12 +01:00
leigh123linux
150e02c0a0 gtk3 2016-09-06 15:58:34 +01:00
JKAbrams
b3f84781db Making internet searching from the start menu optional 2016-08-09 13:45:02 +02:00
JKAbrams
2bae237155 Revert "Added setting to disable internet searching"
This reverts commit a8f751a4aa.
2016-08-09 13:27:49 +02:00
JKAbrams
a8f751a4aa Added setting to disable internet searching 2016-08-09 13:04:37 +02:00
Clement Lefebvre
8adc16e7a7 System: Use pkexec for synaptic 2016-06-06 10:56:01 +01:00
Clement Lefebvre
bb36ce7151 Refresh the apps on icon-theme-changed
This shouldn't be necessary. The icons change by themselves when the theme changes, ithout the need to refresh the list of apps.

That said, at login, we're observing what looks like a race condition, which sometimes results in category and sometimes apps icons not being displayed.

The possible cause for this is a late initialization of the icon theme, so this commit might fix it.

If after this commit, this issue is still visible, then this commit should be reverted.
2016-05-21 18:33:00 +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
Benjamin L. Campbell
8ba93f9eef Fix space behavior. 2016-04-21 10:00:35 +01:00
Benjamin L. Campbell
e12dee7b01 applications plugin: Launch first application matching search on ENTER keypress. 2016-04-21 10:00:27 +01:00
Clement Lefebvre
755083406b Don't refer to /usr/lib/linuxmint/mintInstall/icon.svg 2016-01-21 16:32:58 +00:00
Clement Lefebvre
2ea8e07a27 Fine-tuned border widths and padding 2015-11-04 01:23:00 +00:00
Clement Lefebvre
9c5b943fb1 Little improvements in system dir detection 2015-09-20 14:36:33 +01:00
Clement Lefebvre
1a97c41458 Merge pull request #140 from ChromaticDragon/master
Changes to support 64-bit pointers passing the C-python interface.
2015-09-20 13:00:20 +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