Commit Graph

477 Commits

Author SHA1 Message Date
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
Clement Lefebvre
d17f21e237 Merge pull request #103 from monsta/patch-4
Fixed a typo (probably a copy-paste mistake)
2014-11-08 13:43:59 +01:00
Clement Lefebvre
e5681fe6ca Fixed bookmarks with quotes not opening properly 2014-11-08 13:41:22 +01:00
monsta
30dd193169 removed unused stuff 2014-11-03 20:43:03 +03:00
monsta
ec5e8eda63 Fixed a typo which led to loading non-localized string 2014-08-01 14:57:08 +04:00
monsta
a07dcab26a Fixed a typo (probably a copy-paste mistake) 2014-07-31 10:52:26 +04:00
Clement Lefebvre
8b83495dfe Removed mintRemove.py (re-added by mistake in last merge) 2014-07-07 11:56:07 +02:00
Clement Lefebvre
b58e617446 Use /usr/bin/python always 2014-07-07 11:49:32 +02:00
Clement Lefebvre
ef19daaf31 Merge pull request #97 from darealshinji/master
update Debian files
2014-07-07 11:39:53 +02:00
Clement Lefebvre
edebc8c1f2 Merge pull request #91 from monsta/patch-1
Escape ampersand in app names and comments
2014-07-07 11:07:16 +02:00
djcj
ed7463149c update Debian files 2014-06-17 23:11:03 +02:00
Clement Lefebvre
a4694cc7c1 Revert "Simple fix for the flickering."
This reverts commit 5a7b246b7e.
2014-05-25 14:10:41 +01:00
monsta
08c61dfc76 Escape ampersand in app names and comments 2014-05-22 17:44:38 +04:00
Clement Lefebvre
22f034db0e Applications: Don't show duplicates by default (prior to applying filters) 2014-05-22 11:39:17 +01:00
Clement Lefebvre
9ef295f167 Merge pull request #90 from hordepfo/search-button-clear-fix
Fixes search button clearing the search entry
2014-05-22 10:44:25 +01:00
Clement Lefebvre
251f1c80a7 Merge pull request #89 from hordepfo/pointer-fix
Fixes reported issues with the mouse pointer
2014-05-22 10:41:36 +01:00
hordepfo
b2d5563451 Fixes an event cycle on the search entry
When pasting a string on the search entry that triggers suggestions
(google, etc) and this is done on the favorites tab, a cycle of changed
events occurs. It throws an exception, although everything still seems
to work.
With this fix the search entry isn't modified when changing tabs.
2014-05-07 16:32:18 +01:00
hordepfo
63b8a24527 Fixed search button
The search button was clearing the search entry when clicked.
2014-05-07 15:54:39 +01:00
hordepfo
5a7b246b7e Simple fix for the flickering. 2014-05-06 22:05:14 +01:00
Clement Lefebvre
f630cc291f Adapted favorites to MATE 1.8 2014-05-06 15:03:51 +01:00
Clement Lefebvre
b90b835497 Switch uninstaller from mintRemove to mint-common 2014-05-06 10:17:21 +01:00
hordepfo
200653975f Use current time for events that might not have a timestamp. 2014-05-01 20:54:43 +01:00
hordepfo
7b43e5e2b6 Fixes reported issues with the mouse pointer. 2014-05-01 18:13:17 +01:00
Clement Lefebvre
38f3cc5bec Merge pull request #82 from monsta/dont-hide-on-trash-popup
Don't hide mintMenu on "Empty trash" popup
2014-04-02 12:26:24 +01:00
Clement Lefebvre
2cc7f19546 Merge pull request #81 from monsta/better-focusout-blocking
Better logic in focus-out-event blocking/unblocking
2014-04-02 12:25:23 +01:00
Clement Lefebvre
fbf13f70cc Merge pull request #74 from hordepfo/themes-fixed
Themes fixed
2014-04-02 12:23:32 +01:00
Clement Lefebvre
57cb8561ef Merge pull request #77 from monsta/remove-obsolete-gconf
Removed obsolete module with gconf
2014-04-02 12:18:08 +01:00
Clement Lefebvre
afd56daef3 Merge pull request #79 from monsta/remove-unused-stuff
Removed unused imports and some other stuff
2014-04-02 12:15:27 +01:00
Clement Lefebvre
a626d44e4e Replaced non-ascii character in source file 2014-04-02 12:14:24 +01:00
Clement Lefebvre
822682bc00 Merge pull request #80 from NiceandGently/master
add some missing shbangs
2014-04-02 12:12:28 +01:00
monsta
597c30c67d Don't hide mintMenu on "Empty trash" popup 2014-04-02 12:42:43 +04:00
Clement Lefebvre
f5741daabe Merge pull request #76 from monsta/fix-system-plugin
System plugin: fix applying of settings immediately after changing them
2014-04-01 12:48:58 +01:00
Clement Lefebvre
2e66a7aaff Merge pull request #75 from monsta/remove-duplicate-line
Removed duplicate line
2014-04-01 12:47:51 +01:00
monsta
7ef248fa8e Better logic in focus-out-event blocking/unblocking, will not crash in Mint 13 2014-04-01 15:26:00 +04:00
raveit65
b6bd121925 add some missing shbangs 2014-03-28 16:44:13 +01:00
monsta
52a030411a Removed unused imports and some other stuff 2014-03-28 14:46:28 +04:00
monsta
f16accc35d Removed obsolete module with gconf 2014-03-28 11:07:01 +04:00
monsta
f07b58b310 Changed the remaining Gnome references to MATE 2014-03-28 10:48:47 +04:00
monsta
7e48fd62cd System plugin: fix applying of settings immediately after changing them 2014-03-27 13:37:39 +04:00
monsta
4f996a69ea Removed duplicate line 2014-03-27 11:28:45 +04:00
hordepfo
491595bfbd Several theming and color fixes
Restructured a bit how theming and coloring works. Now theme and color
changes work on the fly. No need to restart mintMenu anymore. Note that
changing theme no longer regenerates plugins, so it's faster.

Fixes issue #47
2014-03-18 16:08:55 +00:00
hordepfo
42e25810f5 Removed invisible widgets from coloring 2014-03-18 15:55:57 +00:00
Clement Lefebvre
524d7c7408 Fixed merge conflicts 2014-03-18 11:32:06 +00:00
Clement Lefebvre
b013fa83ae Merge branch 'new-show-hide' of https://github.com/hordepfo/mintmenu into hordepfo-new-show-hide
Conflicts:
	usr/lib/linuxmint/mintMenu/plugins/applications.py
2014-03-18 11:26:00 +00:00
Clement Lefebvre
c93ffb2ffe Merge branch 'button-focus' of https://github.com/hordepfo/mintmenu into hordepfo-button-focus
Conflicts:
	usr/lib/linuxmint/mintMenu/plugins/applications.py
2014-03-18 11:15:33 +00:00
Clement Lefebvre
02a92645b8 Merge pull request #71 from VitalD/patch-1
Update easybuttons.py
2014-03-18 11:07:55 +00:00
Clement Lefebvre
55f19b3d28 Merge pull request #63 from hordepfo/orientation
Fixed some panel orientation issues
2014-03-18 11:00:43 +00:00
Clement Lefebvre
4504e7e130 Merge pull request #61 from hordepfo/search-entry
Search entry
2014-03-18 10:57:50 +00:00
Clement Lefebvre
e3a8af50d4 Merge pull request #59 from hordepfo/popups
Popup Menus
2014-03-18 10:53:45 +00:00
VitalD
c2c0e5fae2 Update easybuttons.py
Solving for bug: https://bugs.launchpad.net/linuxmint/+bug/1266751
2014-02-18 17:33:18 +03:00
hordepfo
b14e2e0450 Changed all showing/hiding logic
It seems most GTK apps like mintMenu and the default Gnome2/Mate menu
use the GDK grab focus functions to grab input (pointer/keyboard).
These functions appear to suck all input to the app like a blackhole.
This patch gives more interactivity to the mintMenu window, making it
a first class object in the desktop.

Things that work now:
* When the window is open, hovering on other desktop icons highlights them

* Clicking outside the window propagates the event (e.g. select another
window)

* Alt-tab and other events unfocus and hide the window

* Scrollbars in the mintMenu finally work right

* Probably several other small things
2014-02-03 20:14:52 +00:00
hordepfo
3113334efb Fixed some panel orientation issues 2014-02-03 20:05:43 +00:00
hordepfo
f4091dffe3 Fixes transparency issues on first composited draw
When using compositing and transparency, the first draw was only
showing the shadow borders on the window. To fix this the opacity has
to be set after the first show. Don't know why this is needed, but it's
probably a bug in the underlying toolkits (maybe GTK or GDK).

It still looks a little jerky the first time the window is drawn.
2014-02-03 20:03:46 +00:00
hordepfo
42a0e8cd47 Clear search entry when switching from Apps to Favorites
Took two clicks because of a loop in the logic (setting to empty
also invokes setting the tab).

Fixes #44
2014-02-03 19:35:29 +00:00
hordepfo
8560efebea Fixes search entry losing typing focus
When the search entry was out of focus and types were redirected to it,
if the current selected application was hidden by the filtering, both
the holder and entry lost focus. This stopped the typing event
redirection. Now the entry is always focused when typing.
2014-02-03 19:30:40 +00:00
hordepfo
2353f958d3 Correction of previous commit - clear when clicked
Now category buttons only clear text when clicked, not when hovered.
It seems more natural, because a now the mouse position is irrelevant
when trying to type on the search entry.
2014-02-03 19:25:47 +00:00
hordepfo
24519ad233 Solves app and category buttons focus issues
The buttons were grabbing the focus out of the search entry on hover,
inducing strange behaviour.

Fixes #23
2014-02-03 19:21:53 +00:00
hordepfo
8ae0e15b00 Search button was clearing the search entry preemptively 2014-02-03 19:10:14 +00:00
hordepfo
492a4219c1 Fixed popup menus behaviour
Some popups, like the right click menus on the Apps page or the Search
button, pop up and back down immediately. Now they work as they should.

Fixes #28
2014-02-03 19:06:35 +00:00
Clement Lefebvre
9e8c4d9a22 Don't crash when failing to manually launch an application 2014-01-20 15:08:35 +00:00
Clement Lefebvre
62bee525c8 Only use x-terminal-emulator as a fallback if mate-terminal isn't installed (also fixes x-terminal-emulator uses as default in distros where it doesn't exist - Fedora for instance) 2014-01-20 15:04:28 +00:00
Clement Lefebvre
18d293ef4a Fixed applet background not following panel style 2014-01-20 14:56:17 +00:00
Clement Lefebvre
55160de553 Handle category additions/removals one by one 2013-11-25 16:06:22 +00:00
Clement Lefebvre
d8372a6846 When launching apps, use os.system instead of popen so children don't end up in zombie waiting for us to wait() for them 2013-11-25 14:04:49 +00:00
Clement Lefebvre
cd0139389c Merge pull request #49 from ktaragorn/fix_favorites
Fix Minor issues with favorite menu and others
2013-11-25 05:17:35 -08:00
Clement Lefebvre
0211675202 Merge branch 'cwd-fix' of https://github.com/xwizard/mintmenu into xwizard-cwd-fix
Conflicts:
	usr/lib/linuxmint/mintMenu/plugins/execute.py
2013-11-25 12:58:37 +00:00
Clement Lefebvre
79cadefca8 Merge branch 'master' of https://github.com/hellman/mintmenu into hellman-master
Conflicts:
	usr/lib/linuxmint/mintMenu/plugins/places.py
2013-11-25 12:42:36 +00:00
Karthik T
91916c2d42 Fix mistake in previous commit 2013-10-27 17:03:46 +08:00
Karthik T
02348d604d Click Search menu - > click outside menu
Same problem, same cause same person, same commit.. I wonder why..
2013-10-24 01:22:28 +08:00
Karthik T
01d4a6e6fe Fix Keystroke lost in favorites pane issue
If user is in favorites pane -> starts typing, first character is lost
This is because the changeTab->focusSearchEntry->set_text("")
Not sure if right way, but fixing this by setting the text to its prev
value after the changeTab, works well for me
2013-10-24 01:05:38 +08:00
Karthik T
285376b049 Fix mouse focus bug with favorites menu
If you click on favorites and click on any area outside menu -> nothing happens
This is because the mouse is grabed by window.
Fix this by registering a callback instead of immediately grabbing(not sure why this was added by Michael)
Frankly this code can use some DRY love
2013-10-24 00:51:19 +08:00
Michael Webster
f81e9c2d12 Prevent race condition when adding a new custom place 2013-05-31 13:28:03 -04:00
Michael Webster
e55263a666 Fix custom places creation 2013-05-31 13:14:02 -04:00
Michael Webster
3a7cf21d05 Always show the last-opened tab if there is no search text 2013-05-21 17:36:15 -04:00
Clement Lefebvre
e433f8724f Fixed unicode support (again...) :) 2013-05-21 21:24:30 +01:00
Michael Webster
32b4b90f76 Fix segfault and/or losing custom icons when opening preferences 2013-05-21 15:22:16 -04:00
Michael Webster
4da15a6478 Fix regression where applications are shown always - last tab is ignored. 2013-05-21 15:01:02 -04:00
Michael Webster
f66f854c8e Add destroy method to recent plugin 2013-05-21 13:15:39 -04:00
Michael Webster
d1a6dc819f Fix recent plugin - buggy api 2013-05-21 11:24:01 -04:00
Michael Webster
f30f258ce6 Change how we check for updating the icon theme 2013-05-21 10:40:05 -04:00
Clement Lefebvre
6994188c71 Fixed mintMenu not working properly in Korean (don't re-encode unicode strings) 2013-05-21 11:00:55 +01:00
Clement Lefebvre
b1849f6195 Fixed mintmenu reset (use gsettings instead of mateconf) 2013-05-21 10:39:22 +01:00
Michael Webster
4b7ec202ca Some cleanup 2013-05-20 22:07:56 -04:00
Michael Webster
e6fdecaba4 Don't show apps twice in search results 2013-05-20 22:00:40 -04:00