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
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
Michael Webster
bc514d1c8c
Don't break keybinding service when we get an unexpected event
...
(onscreen keyboard)
2013-05-20 21:37:21 -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
0c2626d1ff
Add un-set keybinding action, improve key grabbing during keybinding edit
2013-04-01 19:50:50 -04:00
Michael Webster
4b963d4069
Allow clicking the keybinding button a second time to cancel the binding
...
operation.
2013-03-31 21:11:54 -04:00
Michael Webster
3cf26cf96c
Implemented a better keybinding widget - recognizes lone modifiers
...
as hotkeys (like Gtk3 can).
2013-03-31 21:02:36 -04:00
Michael Webster
b07f97c35e
Use current keybinding to close menu when it's open. Update keybinding
...
when gsettings key changes. Improve keybinding setter in preferences
to allow teaching the keybinding. Needs further improvement - a way
to use/assign single modifiers. Added a combobox temporarily, not
happy with it yet... maybe buttons instead...
2013-03-30 23:46:01 -04:00