Commit Graph

595 Commits

Author SHA1 Message Date
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
Clement Lefebvre
cd43e2e9b9 About: Fix the path for mintcommon's version.py
It changed in mintcommon v2
2019-02-27 14:31:55 +00:00
gm10
8988476df2 Preferences: Normalize margins/alignment/layout between tabs (#220) 2019-02-20 14:12:07 +00:00
gm10
7b34063038 Preferences: Change "recent documents" to "recently used applications and documents" plugin (#215) 2019-02-20 10:25:00 +00:00
gm10
2e42cabf0a Applications: Replace the deprecated icon for adding packages (#216) 2019-02-20 10:24:34 +00:00
gm10
c2a0947dfd Applications: Replace deprecated xpad/ypad with margin-XYZ parameters (#218) 2019-02-20 10:24:19 +00:00
gm10
d5147caf9b Applications: Remove Search label (#217) 2019-02-20 10:24:04 +00:00
gm10
35fd4cce15 Preferences: Fix deprecated alignment parameters (#219) 2019-02-20 10:23:27 +00:00
gm10
7504a11bba remove unused variables from favoritesBuildLauncher 2019-02-12 16:31:46 +00:00
gm10
37cd852738 Applications.py: Clean up more whitespace and line lengths 2019-02-12 16:31:43 +00:00
Clement Lefebvre
4ee04c3869 Fix msgids and glade files 2019-02-12 13:52:47 +00:00
gm10
8844d89cec Clean up i18n, remove unnecessary duplication 2019-02-12 13:52:47 +00:00
gm10
d7ec861a4f Change makepot to parse .glade files (#210) 2019-02-12 13:12:04 +00:00
gm10
33865c4dc9 keybinding: Remove left-over debug messages (#213) 2019-02-12 13:10:58 +00: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
gm10
2f1329de7d 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
2019-01-21 15:37:01 +00:00
gm10
6f34ff8538 Places: Don't hardcode file browser (#204) 2019-01-21 15:20:00 +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