Commit graph

15 commits

Author SHA1 Message Date
Iñigo Martínez
dc0988d47c build: Remove autotools
To avoid the burden of maintaining multiple build systems, this
patch removes autotools support.

https://bugzilla.gnome.org/show_bug.cgi?id=785414
2018-01-18 12:20:08 +01:00
Iñigo Martínez
32edd6789e build: Port to meson build system
Meson is a build system focused on speed an ease of use, which
helps speeding up the software development. This patch adds meson
support along autotools.

https://bugzilla.gnome.org/show_bug.cgi?id=785414
2018-01-17 20:09:35 -02:00
Iñigo Martínez
d7012d0337 build: Move libgd and gvc modules to subprojects
In order to share the libgd and gvc modules between autotools and
meson, this patch moves their directories to subprojects
directory and updates autotools.

https://bugzilla.gnome.org/show_bug.cgi?id=785414
2018-01-17 19:02:57 -02:00
Iain Lane
6a2b5bbd8b search-provider: Populate the model in startup
If the translations are stripped off into gettext .mo files, as happens
on Ubuntu, we need to be operating in the right locale so that
g_desktop_app_info_get_description (et al.) read them out correctly.

Previously we were doing work in init(), which is after gtk_init() calls
setlocale().

Move the population of the model to startup(), and chain up first, so
that it happens after we're fully initialised (including the locale).

https://bugzilla.gnome.org/show_bug.cgi?id=791035
2017-12-08 17:41:04 +00:00
Georges Basile Stavracas Neto
2bb6d441a7 build: create another executable for the new layout
This way, we can test both layouts in parallel and, in
case something goes wrong, we always have to old layout
as a fallback.

https://bugzilla.gnome.org/show_bug.cgi?id=766922
2016-06-03 12:32:36 -03:00
Christophe Fergeau
6c9cc171f5 search-provider: Use AM_CPPFLAGS rather than INCLUDES
This is deprecated in newer automake versions, and this causes warnings
with automake 1.14:
panels/printers/Makefile.am:3: warning: 'INCLUDES' is the old name for
AM_CPPFLAGS' (or '*_CPPFLAGS')

https://bugzilla.gnome.org/show_bug.cgi?id=732189
2014-06-25 12:46:43 +02:00
Rui Matos
70dbd366c4 search-provider: Use panel IDs as results instead of tree model paths
Since we now re-sort the model according to the search terms, we can't
use tree model paths as results since they're not stable. Instead
we'll use panel IDs and keep a map of IDs to GtkTreeIters to retrieve
the result metas from the model.

Caching GtkTreeIters in this way is OK because the model is a
GtkListStore which guarantees that while a row exists, the iter is
persistent.

https://bugzilla.gnome.org/show_bug.cgi?id=729027
2014-05-16 11:59:49 +02:00
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
Debarshi Ray
b2ab2ea074 build: Use $(AM_V_GEN) when using gdbus-codegen 2013-09-09 16:17:56 +02:00
Jasper St. Pierre
78647aa74f search-provider: Use a serialized gicon instead of a to_string'd one
This improves deserialization performance in gnome-shell.

https://bugzilla.gnome.org/show_bug.cgi?id=704948
2013-07-26 14:56:35 -04:00
Florian Müllner
4d01f6bfed search-provider: Concatenate search terms with AND
Currently the provider will match all panels that match at least
one search term. This differs from the search pattern we use in
GNOME Shell and other GNOME applications, where a result has to
match all search terms. The latter allows users to narrow down
search results by adding additional terms, which is generally
more useful than potentially adding additional results.

https://bugzilla.gnome.org/show_bug.cgi?id=694960
2013-03-02 00:04:41 +01:00
Giovanni Campagna
6ddd56a9a2 search-provider: escape the description passed to gnome-shell
gnome-shell uses the description as markup (to allow highlighting
the searched terms), so we need to properly escape it to avoid warnings.

https://bugzilla.gnome.org/show_bug.cgi?id=694908
2013-03-01 17:59:07 +01:00
Rui Matos
cfa16a070d Move cc-util into panels/common
We need this in some panels too.
2013-02-19 12:25:54 +01:00
Cosimo Cecchi
b7d7c5c1ed search-provider: fix the build 2013-02-18 11:16:16 -05:00
Giovanni Campagna
59f873ecf5 Add a gnome-shell search-provider for settings panel
Replace the gnome-shell builtin settings search, which relied on removed
menu files, with one that uses the remote search infrastructure and
CcSearchModel, and features the ability to continue searching within the
control center application.

https://bugzilla.gnome.org/show_bug.cgi?id=690577
2013-02-18 16:08:22 +01:00