summaryrefslogtreecommitdiff
path: root/panels/search
Commit message (Collapse)AuthorAgeFilesLines
* build: meson's i18n.merge_file() doesn't take positional argswip/hadess/fix-i18n-merge_file-apiBastien Nocera2022-01-071-1/+0
| | | | | | So remove them. This is now an error in newer versions of meson.
* panels: Use `.boxed-list` instead of `.content`Christopher Davis2021-12-161-1/+1
| | | | | | The `.content` style class is deprecated in favor of the `.boxed-list` style class, which is named after the design pattern it's used for.
* search: Port to GTK4Georges Basile Stavracas Neto2021-12-147-268/+207
| | | | | | This one was the first panel ported that used Drag n' Drop, and we can see how much of an improvement GTK4 is compared to GTK3 when handling DnD.
* search: Use content style for listboxesMohammed Sadiq2021-05-192-10/+5
|
* search: Check for either tracker 2.x or 3.x schemasCarlos Garnacho2020-11-021-2/+18
| | | | | | | | | | | The Tracker3 schema points to the same dconf path and is backwards compatible with Tracker 2.x settings. Check for either here, with a preference to Tracker 3.x. Eventually, Tracker 2.x will be fully phased out, and this will not be necessary. Fixes: https://gitlab.gnome.org/GNOME/gnome-control-center/-/issues/1173
* Replace HdyColumn by HdyClampAdrien Plazas2020-07-201-3/+1
| | | | | In libhandy 1, HdyClamp replaces HdyColumn. This stops setting values when they match HdyClamp's defaults.
* Use GtkDialog instead of HdyDialogAdrien Plazas2020-07-203-8/+4
| | | | HdyDialog has been dropped in libhandy 1.
* panel: Move shared GCancellable code into panel classRobert Ancell2020-02-031-17/+1
| | | | | | | Make the panel class provide a cancellable that will be cancelled when the panel is destroyed. Panel implementations can use this and not have to mangage the cancellable themselves. Consolidate cases where panels had multiple cancellables that were all being used for this behaviour.
* search: Invalidate "Search Locations" list when folders can't be foundFelipe Borges2019-12-171-48/+62
| | | | | | | | | | | We store the list of "Search Locations" in a gsetting. When a location gets added and then removed, the gsetting still stores its path. These changes verify the existance of a file before loading it in the UI, and also removes the path from the gsetting when the location can't be found. Fixes #812
* search: Preserve row switch state while draggingFelipe Borges2019-12-151-0/+1
| | | | | | | | | While dragging a row in order to reoder the search list, we create a fake copy of the row that gets dragged into the position where the user wants the row to be in. This fake row should have its switch matching the state of its master copy. Fixes #810
* search: Make rows and its elements reachable via keyboardFelipe Borges2019-11-172-2/+3
| | | | Fixes #329
* cc-search-locations: Use `g_new0` instead of the slice allocatorIain Lane2019-10-301-2/+2
|
* search: Factor out creation of `Place` objects.Iain Lane2019-10-301-30/+40
| | | | | | If we always construct these objects via a constructor, then we can help to avoid bugs like that fixed by 2fb0ff250b3825c11ba8e07b96c596222dea8f69.
* search: Fix crash on clicking 'Search Locations'Mohammed Sadiq2019-09-191-0/+1
| | | | | | | When creating a Page, the dialog variable wasn't set and thus dereferencing a NULL in a later code resulting a crash. This was introduced in 14b9f65ba47c100af7a49aeb180e8a7d98bfaacd
* search: Make .ui filename match the .c filenameRobert Ancell2019-09-094-3/+3
|
* Remove unused GNOMELOCALEDIR definesRobert Ancell2019-09-091-2/+1
|
* search: Remove global variable that could get leakedRobert Ancell2019-08-262-41/+47
| | | | | | | | | Tracker GSettings were previously stored in a global variable. This seems to have been done to avoid difficulty passing the settings via callbacks. Global variables are easy to leak and make mistakes with. Update the code to have better callback handling so the variable can be stored inside the object.
* search: Add description label to Search Locations DialogFelipe Borges2019-08-061-0/+26
|
* search: Do not allow selecting rowsFelipe Borges2019-08-062-2/+4
| | | | There is no functionality involving selecting a row here.
* search: Add instructions labelFelipe Borges2019-08-061-0/+12
| | | | Fixes #454
* search: Place "Move" button in each rowFelipe Borges2019-08-064-120/+92
| | | | | | | This is based on the mockups available at https://gitlab.gnome.org/Teams/Design/settings-mockups/raw/master/search/search.png Fixes #591
* search: Move "Search Locations" button to top barFelipe Borges2019-08-062-29/+10
| | | | Fixes #591
* search: Make rows reordable with drag and dropFelipe Borges2019-08-063-0/+137
| | | | Fixes #589
* search: Move row into its own object (CcSearchPanelRow)Felipe Borges2019-08-066-47/+184
| | | | | | This decouples the user interface parts from the control logic, making it easy for designers to tweak the look & feel of the rows. Besides, it makes it easier to introduce Drag & Drop capabilities.
* search: Move GtkListBox to .ui fileFelipe Borges2019-08-062-6/+9
|
* search: Make search locations dialog adaptiveMohammed Sadiq2019-07-263-5/+9
|
* shell: Add position to cc_shell_embed_widget_in_header()Georges Basile Stavracas Neto2019-05-211-1/+1
| | | | | | | So we can control where the widget should be added to. The main window only supports left and right positions. https://gitlab.gnome.org/GNOME/gnome-control-center/issues/528
* search: Add shadow to application iconsFelipe Borges2019-03-131-0/+1
| | | | | | | The new GNOME application icons need a shadow when placed on top of a light background. See https://gitlab.gnome.org/GNOME/Initiatives/issues/2
* search: Ellipsize the labelsAdrien Plazas2018-11-291-0/+2
| | | | | This will help the window to fit narrow screens even with long application names.
* search: Use a HdyColumnAdrien Plazas2018-11-291-26/+7
| | | | | This better adapts the panel's size to the window's size, allowing it to look good on both large and narrow windows.
* search: Make .ui filename match the .c filenameRobert Ancell2018-11-124-3/+3
|
* search: Don't use gtk_widget_show_allRobert Ancell2018-10-112-5/+13
| | | | It is removed in GTK+ 4
* Simplify use of GCancellableRobert Ancell2018-06-012-7/+3
| | | | | g_cancellable_cancell can be called without checking for a NULL value. Use g_clear_object instead of g_object_unref
* search: Fix crash introduced in 58a6432Robert Ancell2018-05-311-2/+6
|
* search: Use GtkTemplateRobert Ancell2018-05-302-147/+136
|
* search: Use g_auto for variablesRobert Ancell2018-05-302-167/+89
|
* search: Replace ifdefs with #pragma onceRobert Ancell2018-05-292-8/+2
|
* search: Replace GObject boilerplace with G_DECLARE_TYPERobert Ancell2018-05-293-114/+71
|
* Move common panel code from shell/ to panel/commonBenjamin Berg2018-04-173-3/+3
| | | | | This creates a new static library called libwidget which the shell links against.
* Add translator comments to .desktop filesPiotr Drąg2018-02-231-1/+2
| | | | | Icons are confusing translators, and gettext is unlikely to get fixed any time soon.
* build: Migrate from Intltool to GettextIñigo Martínez2018-01-232-5/+6
| | | | | | | | Recent versions of Gettext are able to translate several formats that are used in GNOME applications. This patch migrates from Intltool to Gettext by using meson's i18n features. https://bugzilla.gnome.org/show_bug.cgi?id=787588
* build: Remove autotoolsIñigo Martínez2018-01-181-41/+0
| | | | | | | To avoid the burden of maintaining multiple build systems, this patch removes autotools support. https://bugzilla.gnome.org/show_bug.cgi?id=785414
* panels: Remove soft hyphens from .desktop filesPiotr Drąg2018-01-181-1/+0
| | | | | | | | With the old shell gone, there is no need to work around cut off panel names (bug #647087). As it stands now, it only confuses translators (invisible characters are hard to, well, see). https://bugzilla.gnome.org/show_bug.cgi?id=792629
* build: Port to meson build systemIñigo Martínez2018-01-172-1/+49
| | | | | | | | 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
* shell-model: Remove old categoriesGeorges Basile Stavracas Neto2017-11-281-1/+1
| | | | | | | | | | | Since we don't maintain two different shells anymore, there is no need to maintain the two different sets of categories in the desktop files. This commit also drops the "#ifdef CC_ENABLE_ALT_CATEGORIES" blocks, since the previous commit removed that define. https://bugzilla.gnome.org/show_bug.cgi?id=790923
* search: Set a minimum height to avoid toplevel being resized too smallRui Matos2017-08-281-0/+1
|
* search: don't allow horizontal scrollingJonathan Kang2017-08-281-0/+1
| | | | | | | Set hscrollbar_policy property of GtkScrolledWindow to never to disable horizontal scrolling. https://bugzilla.gnome.org/show_bug.cgi?id=785397
* Standardize vertical spacing of panelsAllan Day2017-08-201-1/+1
| | | | | | | | | | | | | | Ensure that the vertical spacing inside each panel is similar. This makes the transition between each panel smoother and makes the control center feel more cohesive. Settings panels are given 32px above and below their content and 32px vertical space between major sections. 12px space is placed below headings. Bluetooth, displays and printers are not addressed. https://bugzilla.gnome.org/show_bug.cgi?id=786384
* Give search and notifications consistent row layoutsAllan Day2017-08-201-4/+4
| | | | | | | | | | | The search and notification panels have similar list rows, as they both list applications. This gives the list rows more consistent layouts - application icons are made to be 32px throughout and row heights are made to be the same. Note that the row widths are unfortunately still different. https://bugzilla.gnome.org/show_bug.cgi?id=786384
* panels: Minor adjustments for the new shellGeorges Basile Stavracas Neto2017-08-091-81/+107
|