Commit Graph

123 Commits

Author SHA1 Message Date
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
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
Clement Lefebvre
755083406b Don't refer to /usr/lib/linuxmint/mintInstall/icon.svg 2016-01-21 16:32:58 +00:00
Clement Lefebvre
9c5b943fb1 Little improvements in system dir detection 2015-09-20 14:36:33 +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
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
bc98ede28e Merge pull request #114 from monsta/patch-9
small fixes
2015-02-24 13:15:33 +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
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
a07dcab26a Fixed a typo (probably a copy-paste mistake) 2014-07-31 10:52:26 +04:00
Clement Lefebvre
b58e617446 Use /usr/bin/python always 2014-07-07 11:49:32 +02:00
Clement Lefebvre
22f034db0e Applications: Don't show duplicates by default (prior to applying filters) 2014-05-22 11:39:17 +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
Clement Lefebvre
fbf13f70cc Merge pull request #74 from hordepfo/themes-fixed
Themes fixed
2014-04-02 12:23:32 +01:00
monsta
52a030411a Removed unused imports and some other stuff 2014-03-28 14:46:28 +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
4504e7e130 Merge pull request #61 from hordepfo/search-entry
Search entry
2014-03-18 10:57:50 +00: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
55160de553 Handle category additions/removals one by one 2013-11-25 16:06:22 +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
3a7cf21d05 Always show the last-opened tab if there is no search text 2013-05-21 17:36:15 -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
e6fdecaba4 Don't show apps twice in search results 2013-05-20 22:00:40 -04:00
Clement Lefebvre
d8aa552998 Fixed algo used to retrieve matching packages 2013-05-03 14:46:47 +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
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
Michael Webster
c6f19e56bd Disable keybinding temporarily, not working yet 2013-03-09 15:37:17 -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