Commit graph

9 commits

Author SHA1 Message Date
Rui Matos
13abc75273 shell: Make search results sorting smarter
Instead of just sorting by the name the sort order will now be:

1. Panels whose name match a search term
2. Panels whose keywords match the most search terms
3. Panels whose description match the most search terms
4. The remaining panels by name

https://bugzilla.gnome.org/show_bug.cgi?id=729027
2014-05-16 11:59:48 +02:00
Giovanni Campagna
eb3dfe9b77 shell: Use CcShellMode to do the panels filtering
https://bugzilla.gnome.org/show_bug.cgi?id=690577
2013-01-15 11:37:24 +01:00
Giovanni Campagna
0139f68416 shell: replace GMenu loading code with an hardcoded list of panels
Now that we don't allow or load external panels, using libgnome-menu is just
overengineering. We can get the same results with less code by keeping a static
list of function pointers.
This reduces the number of places one needs to patch to add a new panel.
Also, this way we avoid registering all types at startup, and if we want
we can switch to load panel desktop files in a separate thread.

https://bugzilla.gnome.org/show_bug.cgi?id=690165
2012-12-18 16:46:27 +01:00
Bastien Nocera
4dd36b4279 shell: Simplify desktop file loading
By using known patterns for the desktop file name.
2012-12-11 17:09:04 +01:00
Bastien Nocera
93d7d6b6ea shell: Don't repeat the item title when searching
https://bugzilla.gnome.org/show_bug.cgi?id=657020
2011-08-26 13:59:23 +01:00
Vincent Untz
c635d8e875 shell: Port to new gnome-menus API
https://bugzilla.gnome.org/show_bug.cgi?id=655110
2011-08-01 19:41:36 +02:00
Matthias Clasen
aef8513752 shell: Add keyword search
This commit makes search look at the X-GNOME-Keywords key. The key
is expected to hold a list of strings, and is translatable.

http://bugzilla.gnome.org/show_bug.cgi?id=634926
2010-11-15 18:04:57 -05:00
Thomas Wood
27bf283683 shell: set the window name and icon when opening an embedded settings panel
This involves storing the default window title and icon name and resetting
the title and icon name when an embedded settings panel is closed.

The icon name and title for each panel is retrieved from the desktop file
information and stored in the CcShellModel.
2010-05-25 14:38:36 +01:00
Thomas Wood
4ea04c81dc shell: add a new settings shell
The new shell provides an implementation of CcShell and also removes the
dependency on libslab.
2010-05-19 11:11:26 +01:00