Commit Graph

460 Commits

Author SHA1 Message Date
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
d64ffb9a94 Favorites: Remove pidgin, add pix, fix gnome-calculator.. 2018-05-15 15:13:06 +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
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
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
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
298f565998 Merge pull request #170 from JosephMcc/custom-borders
Remove the ability to set a custom border
2017-05-02 13:10:10 +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
e86e11044d Remove the ability to set a custom border
This just doesn't work the way a user would expect under gtk3 so go ahead and
remove it.
2017-05-01 13:09:09 -07:00
Clement Lefebvre
f67292b048 Give the applet box a class name to allow easier themeing 2017-05-01 17:00:00 +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
63b9abce0e Fix #157 2017-04-28 16:34:26 +01:00
Clement Lefebvre
7dde0271ee Fix race condition with dconf on session start
gsettings is known to randomly spit changes signal by mistake at session start.

Only start listening to these after the menu elements are created.
2017-04-28 16:26:39 +01:00
Clement Lefebvre
272a9079e4 [Alexei Sorokin] Recent: Fix Gtk warnings 2017-04-28 16:18:43 +01:00
Clement Lefebvre
419136c89a Removed obsolete opacity support in config window 2017-04-28 16:12:21 +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
240c5cbc26 Fix keybinding in LMDE 2017-04-28 13:24:38 +01:00
Clement Lefebvre
0824cdf39d Fix get_origin calls in Betsy 2017-04-28 13:02: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
Clement Lefebvre
9747e2ec81 Use setproctitle to name the process 2016-12-06 22:37:02 +00:00
Clement Lefebvre
75b5c98894 Reorganize imports 2016-12-06 22:30:46 +00:00
leigh123linux
4e46d9b128 fix merge 2016-11-25 22:38:28 +00:00
Clement Lefebvre
b1331807cf Favorites: Add rhythmbox 2016-11-23 22:49:31 +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
1810b6b3ee l10n: Capitalize "Internet" 2016-11-23 15:22:37 +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
f37700f5a0 Search engines: Re-enable search engines by default.
This was disabled in a previous commit due to the presence of Google CSE.
2016-11-23 15:15:05 +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
daac10823f fix border colour 2016-09-07 09:40:38 +01:00
leigh123linux
4d9de57f27 fix some glade typos 2016-09-07 00:40:16 +01:00
leigh123linux
a1d5e35535 fix errors 2016-09-06 22:07:46 +01:00
leigh123linux
acf692a95e glade part #3 2016-09-06 21:45:42 +01:00
leigh123linux
76b0ace41f glade part #2 2016-09-06 18:27:13 +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
79f2e2f4f0 Menu icon: Scale svg files to 22px to prevent them from getting too big 2016-06-22 15:51:03 +01:00
Clement Lefebvre
e2a0fabff7 Removed support for opacity
It was buggy and only worked with composition.

It might be reintroduced after the port to GTK3.
2016-06-21 17:13:45 +01:00
Clement Lefebvre
91690b9dea Changed default for use-custom-color to False 2016-06-12 16:19:11 +01:00
Clement Lefebvre
c72b4be660 Deleted trailing spaces in gsettings schema 2016-06-12 16:18:52 +01: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
Clement Lefebvre
d31aa2616f Favorites: Replace gedit/pluma with xed 2016-05-18 10:25:52 +01:00
Clement Lefebvre
cddebeb02d Fixed applet icon missing in Add-New-Applet dialog 2016-04-21 10:17:41 +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
Sorokin Alexei
4b876e7faa Fix crash on Gtk 2.24.29+ 2016-01-25 16:03:15 +00:00
Clement Lefebvre
755083406b Don't refer to /usr/lib/linuxmint/mintInstall/icon.svg 2016-01-21 16:32:58 +00:00
Clement Lefebvre
9941267dc5 Remove window titlebar (some metacity themes insist on showing a titlebar..) 2015-12-16 11:37:29 +00:00
Clement Lefebvre
2ea8e07a27 Fine-tuned border widths and padding 2015-11-04 01:23:00 +00:00
Clement Lefebvre
506ab67fa4 Add a frame around the menu 2015-11-04 00:55:31 +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
Maxime-J
1350f8072a Localized Desktop folder fix
XDG_DESKTOP_DIR contains environment variable which is not automatically expanded by Python
`XDG_DESKTOP_DIR="$HOME/Bureau"`
We have to use os.path.expandvars
2015-07-30 22:48:12 +02:00
James Lu
d004409af9 Coerse shebangs to #!/usr/bin/python2
Arch Linux's default "python" install points to Python 3, and mintmenu is certainly not compatible with it!

Closes #134.
2015-06-25 17:44:30 -07:00
Clement Lefebvre
de10e5bd84 Fixed ubiquity not launching from mintmenu 2015-06-14 13:37:04 +02:00
Clement Lefebvre
28677c0884 Changed default settings to make mintMenu a little better looking 2015-06-12 16:38:45 +02:00
James Lu
4d4558cc4e Sort available themes in Menu preferences->Theme 2015-03-14 19:46:07 -07:00
Clement Lefebvre
da1b3f9d00 Added gnome-system-monitor to list of favorites 2015-02-26 19:35:08 +01:00
Clement Lefebvre
b6abf4b755 Favorites: replaces obsolete mate-calc with gnome-calculator 2015-02-24 14:21:58 +01:00
Clement Lefebvre
849bbfe94c Don't pass env variable value through bash echo 2015-02-24 14:20:09 +01:00
Clement Lefebvre
fba603bc63 Merge pull request #118 from darealshinji/manpage
add a help command line option and a manpage
2015-02-24 13:17:57 +00:00
Clement Lefebvre
bc98ede28e Merge pull request #114 from monsta/patch-9
small fixes
2015-02-24 13:15:33 +00:00
Clement Lefebvre
a2df76ed28 Merge pull request #120 from monsta/patch-1
removed unused and confusing argument
2015-02-24 13:14:32 +00:00
monsta
a5ed9c26ab fixed wrong indentation again 2015-01-16 15:25:15 +03:00
monsta
40e93407e8 fixed saving old config in RegenPlugin
Now saving all the old settings (hopefully) and avoiding saving things that aren't even defined in class
2015-01-16 15:16:26 +03:00
monsta
2342eabb17 no need to import the same thing twice 2015-01-16 15:16:25 +03:00
monsta
51873b120d fixed wrong indentation 2015-01-16 15:16:25 +03:00
Monsta
7d70cb42ba properly create a desktop shortcut from a menu entry
fixes https://github.com/linuxmint/mintmenu/issues/123
2015-01-16 15:11:41 +03:00
monsta
77e1177604 removed unused and confusing argument 2014-12-01 15:16:01 +03:00
darealshinji
abb2d6b74b install a manpage 2014-11-30 13:37:33 +01:00
darealshinji
c4bb51d0db add a help command line option 2014-11-30 13:36:56 +01:00
Monsta
bd3da67890 mintMenuConfig: make Plugins tab title translatable 2014-11-27 15:15:54 +03:00