Commit Graph

489 Commits

Author SHA1 Message Date
Jesper
7c0bcbb5b7 simplificaiton + removal of fuzzy 2024-06-13 22:18:01 +02:00
Jesper
f9325f2870 Bring back scrollintoview 2024-06-13 08:12:41 +02:00
Jesper
4ab8d2120c Fix capitalization 2024-06-12 13:25:05 +02:00
Jesper
b0ab8320da Bring back apt search suggestions 2024-06-12 12:40:00 +02:00
Jesper
a31731f127 appGenericName, appComment and appExec to the fuzzysearch function 2024-06-12 12:19:05 +02:00
Jesper
2e0f503d08 Add appGenericName, appComment and appExec search 2024-06-12 11:51:31 +02:00
Jesper
3feda3af08 Exact search 2024-06-12 11:42:47 +02:00
Jesper
90ad278098 Remove whitespace 2024-06-12 10:38:27 +02:00
Jesper
cf76c4837e Fuzzy Search 2024-06-12 10:37:26 +02:00
Jesper
d8820edd7d Fuzzy search setting 2024-06-12 10:35:31 +02:00
Jesper
185b925b6b schema for fuzzysearch 2024-06-12 10:32:13 +02:00
Michael Webster
c3bea70396
Add our own 'all applications' icon for consistency.
Fixes linuxmint/mint21.2-beta#12
2023-06-23 14:35:49 -04:00
Michael Webster
e4eab43d06
Use XAppGpuOffloadHelper for gpu offloading, respect
PrefersNonDefaultGPU desktop entry key.

XApp.util_gpu_offload_supported() is still used as a fallback
for older libxapp versions.
2023-05-10 11:52:02 -04:00
Clement Lefebvre
b08050dfbb Recent: Fix buttons layout
Fixes https://github.com/linuxmint/mint20.2-beta/issues/75
2021-07-01 13:38:23 +01:00
Vincent Vermeulen
9b96af6602 fix recently used documents sorting
recently used documents were incorrectly sorted on when a file was first added to recently-used.xbel file, not reflecting when it was opened again later
this fix changes it so they are sorted correctly on when they were last used (when last their entry was modified in recently-used.xbel)

fixes https://github.com/linuxmint/mint20.2-beta/issues/10
2021-06-23 15:03:21 -04:00
Clement Lefebvre
94dec8415f
Favorites: Add a scrolledwindow (#263)
* Favorites: Add a scrolledwindow

* Remove shadow around scrolledwindow
2021-01-02 22:21:02 +00:00
Vincent Vermeulen
57632a3e30 fix APT search
replace broken cgi.escape with working html.escape
2020-12-30 10:19:23 -05:00
Michael Webster
645c941b0b recentHelper.py: Don't try to modify the recent list unless recents
are enabled.

This was throwing an error when launching a program with the recent
plugin disabled.
2020-06-17 10:46:27 -04:00
Michael Webster
30ef26afa0 applications.py: Fix dnd for re-ordering/adding favorites.
Fixes https://github.com/linuxmint/mint20-beta/issues/22
2020-06-17 10:45:10 -04:00
Michael Webster
8342b85b91 gtk: Fix a couple of deprecations 2020-06-10 11:42:03 -04:00
Michael Webster
23e3eb60df mintMenu.py: Refactor panel button construction to fix padding in
different configurations.
2020-06-10 11:39:03 -04:00
Clement Lefebvre
e948102e58 Search: Fix searching for accentuated strings 2020-06-10 11:49:10 +01:00
Michael Webster
a819d570eb Support nvidia on-demand app launching.
Requires linuxmint/xapps@dcb600595d to function correctly.
2020-05-09 12:12:46 -04:00
Clement Lefebvre
8e1d467b78 Remove applet text by default 2020-04-24 10:17:26 +01:00
Clement Lefebvre
ad479c18b5 Switch to symbolic panel icon 2020-04-24 10:16:52 +01:00
Clement Lefebvre
1007793670 Fix typo in file path 2020-04-23 11:34:54 +01:00
Clement Lefebvre
4bbd037178
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:29:07 +01:00
Michael Webster
7a3532a395 about dialog: Fix program name and use a license type. 2020-03-30 19:31:45 -04:00
Michael Webster
ff93497459 recent.py: Allow the clear button to apply to whichever tab is currently
active.
2020-03-30 19:31:45 -04:00
Michael Webster
6f69d0e499 Use gsettings for recent and favorite apps
during migration,
- rename the old favorites file
- delete the old recent file
2020-03-30 19:30:54 -04:00
Michael Webster
d694deb65e all: Use python3 2020-03-30 19:14:05 -04: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
7cded29c87 Preferences: Fix IconChooser argument 2019-11-29 12:01:29 +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
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
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
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
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
6f7a4bf3a6 Add support for menulibre 2019-07-23 12:33:52 +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
42ef09742a Switch to symbolic icons 2019-07-21 16:01:50 +02:00
Clement Lefebvre
b41e843aa0 Fix default favorites not being created 2019-07-17 15:49:04 +02:00
Clement Lefebvre
b5f4789090 Applications: Port to GI MateMenu 2019-07-05 11:31:30 +02:00