Commit Graph

308 Commits

Author SHA1 Message Date
Clement Lefebvre
b90b835497 Switch uninstaller from mintRemove to mint-common 2014-05-06 10:17:21 +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
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
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
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
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
4504e7e130 Merge pull request #61 from hordepfo/search-entry
Search entry
2014-03-18 10:57:50 +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
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
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
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
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
Michael Webster
e6fdecaba4 Don't show apps twice in search results 2013-05-20 22:00:40 -04:00
Michael Webster
9f8f76b0eb Don't use gdkpixbufs, add path-based icons into a supplemental icon
directory and create Gtk.Images from their fake names.
2013-05-20 21:18:38 -04:00
Michael Webster
daed7b863b Don't crash if .gtk-bookmarks doesn't exist yet 2013-05-20 17:58:02 -04:00
Michael Webster
7727fa6e8a Fix icon name encoding error when converting to ctypes 2013-05-11 13:43:18 -04:00
Clement Lefebvre
c010d279fb Fixed some icons getting too big/small (use bitcoin-qt to reproduce) 2013-05-09 11:02:08 +01:00
Clement Lefebvre
201f1e718f Fixed using the default icon when the icon isn't found 2013-05-09 10:51:33 +01:00
Michael Webster
95c4534590 Disable unnecessary logging 2013-05-08 14:45:29 -04:00
Michael Webster
17159d0492 Add a slight delay on reloading a changed desktop file, we were trying
to read it before it finished writing, and ending up with no entry.
2013-05-08 12:27:04 -04:00
Michael Webster
49d24e0f4c Really fix drag icons 2013-05-08 09:16:55 -04:00
Michael Webster
471519d43b restore drag source icons 2013-05-08 09:05:09 -04:00
Michael Webster
3e997985b8 Change how we get icons for easybuttons 2013-05-08 08:57:55 -04:00
Clement Lefebvre
924342161a Don't refresh icons on icon theme change (this is a regression, but since the migration to g.i. this makes mintmenu crash) 2013-05-07 13:52:32 +02:00
Clement Lefebvre
821f7a1b50 Don't reload the icon when a desktop file changes (this is a regression, but after the migration to g.i, instanciating pixbufs repeatedly leads to segmentation faults and crashes mintmenu) 2013-05-07 13:35:00 +02:00
Alexey Hellman
cefac7680a Fixed order in gtk-bookmarks plugin. Fixed parsing filenames with spaces 2013-05-03 22:02:17 +04:00
Clement Lefebvre
d8aa552998 Fixed algo used to retrieve matching packages 2013-05-03 14:46:47 +01:00
Clement Lefebvre
0382cc3682 More fixes... 2013-05-03 00:12:24 +01:00
Clement Lefebvre
795e6ec5bb Added missing "self" in function calls 2013-05-02 23:08:56 +01:00
Clement Lefebvre
61793ab7d8 Fix ascii/unicode errors (mintmenu not loading in Mint 15 - French) 2013-05-02 20:06:55 +01:00
Michael Webster
9c471564f8 Fix bug where categories would stay selected until passed over again. 2013-04-20 19:49:29 -04:00
Michael Webster
84aa87727f Add option to remember last category or search when reopening the
menu (default to true, which was previous behavior).
2013-04-20 19:49:29 -04:00
Michael Webster
b193600595 Don't use set_markup when it's not necessary, use set_text 2013-03-18 18:50:56 -04:00
Michael Webster
cb524d5d79 Fix theme issues on separators, spacers 2013-03-14 10:11:15 -04:00
Michael Webster
e50af35715 Fix GObject deprecations 2013-03-13 20:24:32 -04:00
Michael Webster
5f029342ed Fix focusSearchEntry - select_region is completely broken, even with ctypes -
for a fix, just override the default 'select-all' by positioning the cursor at the
end of any existing text, which is most likely what we want anyhow
2013-03-13 20:13:56 -04:00
Clement Lefebvre
a1127355db Fixed: use default icon theme (IconTheme() returns a new empty one) 2013-03-13 14:00:13 +00:00
Michael Webster
276e72d9d6 Reduce startup spam 2013-03-10 19:47:02 -04:00
Michael Webster
c6f19e56bd Disable keybinding temporarily, not working yet 2013-03-09 15:37:17 -05:00
Michael Webster
cab7f82899 Add keybinding lib 2013-03-09 14:26:22 -05:00
Michael Webster
baf34b6b4b Remove old glade files 2013-03-09 12:36:46 -05:00
Michael Webster
f8860e629f Fix bookmarks display 2013-03-09 11:55:13 -05:00
Michael Webster
fcbbbccb1f But make sure to initialize the panel and panel_position properties
immediately
2013-03-09 11:50:43 -05:00
Michael Webster
5acc22b66e Move panel data read to when we need it 2013-03-09 11:46:36 -05:00
Michael Webster
9895c54409 Fix Add to Panel launcher creation 2013-03-09 11:43:54 -05:00
Michael Webster
50d3bb0c65 Start reimplementing panel launcher creation 2013-03-09 00:34:24 -05:00
Michael Webster
e9d11bccaf Some settings fixes 2013-03-08 21:29:49 -05:00
Michael Webster
5b66f2edfe Menu Config working 2013-03-08 20:37:24 -05:00
Michael Webster
c36cbfe690 Fix menu refresh 2013-03-08 17:56:45 -05:00
Michael Webster
a90cb0ac19 Dirty hack to get favorites re-ordering functional. All dnd working now 2013-03-08 15:25:14 -05:00
Michael Webster
fffebe8897 Drag and drop working for creating favorites, still problem with reordering 2013-03-08 13:12:25 -05:00
Michael Webster
28d89a7297 More drag and drop work 2013-03-08 11:41:19 -05:00
Michael Webster
edbfda1764 Make favorites separators removeable 2013-03-08 11:21:26 -05:00
Michael Webster
dcb9999b8d Almost fixed drag and drop, fixed favorites popup 2013-03-08 11:01:42 -05:00
Michael Webster
c1c93b59dc Start to fix drag and drop 2013-03-08 09:53:50 -05:00
Michael Webster
3e2cf840eb Fix ellipsizing on suggestion buttons 2013-03-08 08:13:30 -05:00
Michael Webster
5e69fefe8e Fix search suggestions hangup, apt search. Need to fix multiline though 2013-03-08 08:02:48 -05:00
Michael Webster
a47e17dfbf Fix suggestions in application plugin, threading not working though 2013-03-07 22:18:41 -05:00
Michael Webster
9289b7a0e0 Converted recent plugin 2013-03-07 20:53:03 -05:00
Michael Webster
bef171028d Fix add/remove favorites 2013-03-07 19:50:53 -05:00
Michael Webster
8812475eac popups and focus working now 2013-03-07 19:25:41 -05:00
Michael Webster
614764a7e8 Fix popups, need to fix focus now 2013-03-07 17:27:50 -05:00
Michael Webster
1a22a9b03e Progress on popup menus, something to do with focus grabbing, as well as
we may need to manually destroy popup menus after we're done with them.
2013-03-07 13:55:12 -05:00
Michael Webster
e81b078789 More fixes 2013-03-06 22:08:11 -05:00
Michael Webster
ca56fa8e19 Fix panel context menu generation 2013-03-06 20:16:45 -05:00
Michael Webster
5b102017b6 Fix focus grabbers 2013-03-06 18:57:06 -05:00
Michael Webster
12a30eb965 Fix some regressions 2013-03-06 18:23:28 -05:00
Michael Webster
b84bad70e0 more ctypes for popup menus (not working yet) 2013-03-05 22:45:52 -05:00
Michael Webster
1b1781d78f Convert system management plugin 2013-03-05 21:14:11 -05:00
Michael Webster
3884197e01 Convert applications plugin to gsettings 2013-03-05 20:31:58 -05:00
Michael Webster
49c0803f70 applications page working (barely) 2013-03-05 18:50:35 -05:00
Michael Webster
a18a26c796 More transitioning 2013-03-04 21:56:18 -05:00
Clement Lefebvre
c940e3a735 Started migrating places plugin.. 2013-03-04 16:50:14 +00:00
Clement Lefebvre
e09333794a Removed calls to matefvs 2013-03-01 16:23:34 +00:00
Clement Lefebvre
64ced31d5d Removed pyc files 2013-03-01 16:18:31 +00:00
Clement Lefebvre
2af2a7ec81 Merge pull request #22 from higebu/master
Patch for bug #1127710 (https://bugs.launchpad.net/linuxmint/+bug/1127710)
2013-03-01 07:04:12 -08:00
Clement Lefebvre
0f9ba88c54 Merge pull request #16 from stefano-k/master
replace mate-open with gvfs-open
2013-03-01 07:03:59 -08:00
Yuya Kusakabe
097af08da9 Update usr/lib/linuxmint/mintMenu/plugins/execute.py
Patch for bug #1127710 (https://bugs.launchpad.net/linuxmint/+bug/1127710)
2013-02-17 11:52:18 +09:00
xwizard
8e0c79261b Adds support for Desktop Enty's Path
Fixes https://bugs.launchpad.net/linuxmint/+bug/1120639
Changes:
- Added appPath to ApplicationLauncher in easybutton.py
- Added new commandCwd argument to Exec in execute.py (defaults to None)
- ApplicationLauncher.execute() now passes CWD to execute.Exec
2013-02-10 17:31:00 +01:00
Clement Lefebvre
8da9a01db5 Launch mintinstall as root 2012-11-02 15:01:12 +00:00
Stefano Karapetsas
058233d459 replace mate-open with gvfs-open 2012-10-21 20:45:49 +02:00
Clement Lefebvre
d0f53499ba Fixed typo on "Lookup Dictionnary" 2012-06-28 12:14:55 +01:00
Clement Lefebvre
a02f49f061 Fixed terminal and desktop icons 2012-05-22 16:43:20 +01:00
Clement Lefebvre
82f74d45aa Use apturl directly if it's installed (instead of relying on MIME types being properly assigned) 2012-05-09 14:20:42 +01:00
Clement Lefebvre
5cb8cb4184 Called mate-screensaver-command instead of xdg-screensaver in MATE 2012-04-18 11:04:43 +01:00
Clement Lefebvre
d8c90453f9 Monitor MATE menu files for changes instead of GNOME ones 2012-04-04 14:39:10 +01:00
Clement Lefebvre
d53fb8382f Fixed "Add to panel" in applications plugin 2011-12-01 20:06:10 +00:00
Clement Lefebvre
bc7266ae85 Caja replaces Nautilus and mate-terminal replaces xdg terminal in MATE 2011-11-28 12:44:49 +00:00
Clement Lefebvre
3b92de62d8 Switched support from Gnome/Bonobo to MATE/Component 2011-11-18 10:42:20 +00:00
Clement Lefebvre
e83ea10fe4 Better unicode support 2011-09-27 14:14:33 +01:00
Clement Lefebvre
ac407379d0 Merge pull request #6 from glebihan/master
3 bug patches + 1 FIXME
2011-09-27 05:46:46 -07:00
Gwendal Le Bihan
2d4f2754ed Patch for bug #809104 (https://bugs.launchpad.net/linuxmint/+bug/809104) 2011-09-02 23:21:38 +02:00
Gwendal Le Bihan
918c6fbed3 Patch for bug #704240 (https://bugs.launchpad.net/linuxmint/+bug/704240) 2011-09-02 20:16:12 +02:00
Gwendal Le Bihan
01d95a69b3 Corrected bug preventing "Hover" option changes to be taken into account immediately 2011-08-29 17:55:26 +02:00
tomek_tomek
23405ae40a Change in labels for Favourites. Now when there's no comment, app name is still bold. Not sure if it's most elegant way, but it works for now. 2011-06-29 11:53:48 +00:00
Clement Lefebvre
3715090486 Compatible with latest mint-x-theme 2011-05-30 16:01:11 +01:00
Clement Lefebvre
0062ed634e Star icon for mintinstall 2011-05-01 17:43:50 +01:00
Clement Lefebvre
69e08564fe Fixed indentation 2011-03-30 19:02:13 +01:00
Clement Lefebvre
264b3fafe0 Remove panel and desktop shortcuts for Xfce 2011-03-29 19:50:20 +01:00
Clement Lefebvre
f9e70737b1 Xfce support for the system plugin 2011-03-29 19:46:08 +01:00
Clement Lefebvre
cad4c50c73 Indentation 2011-03-29 18:51:59 +01:00
Clement Lefebvre
ae4d79763b DE detected in mintmenu, passed to plugins 2011-03-29 18:50:33 +01:00
Clement Lefebvre
ee8889548a Use thunar for trash in Xfce 2011-03-29 18:38:10 +01:00
Clement Lefebvre
38f2476195 Places are now de-agnostic 2011-03-29 18:34:59 +01:00
Clement Lefebvre
6bd0599106 Cleaning up old monitors 2010-10-26 15:23:41 +01:00
Clement Lefebvre
db45018cc6 Use different icon name for network in places when theme is not Mint-X 2010-10-26 14:44:31 +01:00
Clement Lefebvre
435908ec44 Don't change color of highlighted apps, simply use bold chars. 2010-10-26 13:59:17 +01:00
Clement Lefebvre
294618b770 Faster init, fixed memory leak, faster apt search, more results, fixed process name, fixed theme change events 2010-10-26 12:02:47 +01:00
Clement Lefebvre
396cda23b5 Unicode support in GTK bookmarks 2010-10-25 12:23:16 +01:00
Clement Lefebvre
d8ae8c10b2 APT search can now be disabled via prefs 2010-09-24 14:52:36 +01:00
Clement Lefebvre
95063d3124 Better defaults, fix bugs with icon size 2010-09-23 18:27:04 +01:00
Clement Lefebvre
6197751172 Select all icon for all apps category 2010-09-23 18:01:59 +01:00
Clement Lefebvre
3f4868d504 All icon sizes in pixels, added places and system icon sizes in prefs 2010-09-23 17:55:02 +01:00
Clement Lefebvre
026b550af3 Fixed launching apps containing quotes 2010-09-23 11:15:09 +01:00
Clement Lefebvre
676dba72da Try catched pyinotify's addMonitor (thanks William Witt) 2010-09-23 10:05:48 +01:00