gnome-control-center/panels/common
Cyber Phantom 9b6993607f info-overview: Show each graphics device in it's own row
Part 1:

Currently all graphics devices have to share a single row for their names, this method doesn't pretty well for devices with long names or computers that may have multiple GPUs.
The new mockup fixes this by having a separate entry for each graphics device.

This commit turns graphics_row into a GtkBox, graphics_row is going to act like a space where gpu entries will be placed.
graphics_row will be populated in the code using create_graphics_row() to have separate entries for each graphics device

Part 2:

Currently all graphics devices have to share a single row for their names, this method doesn't pretty well for devices with l>
The new	mockup fixes this by having a separate entry for each graphics device.

This commit adds a method to popuplate graphics_row with GPU information entries.
It uses the existing logic from get_renderer_from_switcheroo to iterate over a list of graphics devices and build a CcInfoEntry for each device.
It finally appends the widget to graphics_row

Part 3:

Currently all graphics devices have to share a single row for their names, this method doesn't pretty well for devices with l>
The new mockup fixes this by having a separate entry for each graphics device.

The list of graphics devices is now processed in create_graphics_rows function, so remove that logic from get_renderer_from_switcheroo () and return a GSList instead of a string.
graphics_hardware_string has been renamed to graphics_hardware_list to imply the change.
Since create_graphics_rows expects a list, get_graphics_hardware method has been modified to create a renderer list from the outputs of get_renderer_from_session or get_renderer_from_helper in case that get_renderer_from_switcheroo fails.
2023-07-17 09:25:26 +00:00
..
cc-common-language.c common: Use g_auto for variables 2018-06-07 01:08:07 +00:00
cc-common-language.h common: sharing: Replace ifdefs with #pragma once 2018-06-01 21:41:34 +00:00
cc-hostname-entry.c common: Don't set the CcHostnameEntry widget sensitivity twice 2023-04-20 14:08:29 +00:00
cc-hostname-entry.h common, info-overview, sharing: Use AdwEntryRow for Hostname entries 2022-12-13 16:16:08 +00:00
cc-illustrated-row.c illustrated-row, split-row: Add widget name and css class 2023-03-28 13:52:12 +00:00
cc-illustrated-row.h common, multitasking: Introduce CcIllustratedRow 2023-02-14 13:31:23 -03:00
cc-illustrated-row.ui common: Use GtkPicture for CcSplitRow and CcIllustrationRow videos 2023-02-17 02:09:50 +00:00
cc-language-chooser.c Remove unnecessary visibility change 2023-03-29 14:26:55 +13:00
cc-language-chooser.h Use GtkDialog instead of HdyDialog 2020-07-20 08:04:28 +02:00
cc-language-chooser.ui general: Add placeholder text to various search entries 2023-04-21 12:40:42 +00:00
cc-language-row.c region: Fix creating rows for locales without country 2022-05-26 19:05:16 +00:00
cc-language-row.h common: Split out CcLanguageRow from CcLanguageChooser 2021-02-01 04:02:22 +00:00
cc-language-row.ui common: Rename 'check' to 'check_image' 2021-02-23 10:28:22 -03:00
cc-list-row-info-button.c common: Fix name of internal InfoButton get/set functions 2023-05-31 21:34:03 +00:00
cc-list-row-info-button.h common: Introduce CcListRowInfoButton widget 2023-05-16 13:32:21 +00:00
cc-list-row-info-button.ui common: Make the info button labels selectable 2023-05-24 12:55:12 +02:00
cc-list-row.c common: Remove switch feature to CcListRow 2023-06-30 09:06:56 +00:00
cc-list-row.h common: Remove switch feature to CcListRow 2023-06-30 09:06:56 +00:00
cc-list-row.ui info-overview: Show each graphics device in it's own row 2023-07-17 09:25:26 +00:00
cc-permission-infobar.c common: Handle when CcPermissionInfobar doesn't have a GPermission 2023-07-12 15:57:06 +00:00
cc-permission-infobar.h common: Port to GTK4 2021-12-14 22:34:21 -03:00
cc-permission-infobar.ui common: Handle when CcPermissionInfobar doesn't have a GPermission 2023-07-12 15:57:06 +00:00
cc-split-row.c common: Do signal handlers in swapped form 2023-05-30 08:36:22 +00:00
cc-split-row.h common: Introduce CcSplitRow 2023-02-14 13:31:23 -03:00
cc-split-row.ui common: Do signal handlers in swapped form 2023-05-30 08:36:22 +00:00
cc-time-editor.c common: Fix time entry for RTL languages 2023-05-26 01:03:45 +00:00
cc-time-editor.h common: Port to GTK4 2021-12-14 22:34:21 -03:00
cc-time-editor.ui common: Port to GTK4 2021-12-14 22:34:21 -03:00
cc-time-entry.c common: Connect signal handlers in swapped form 2023-06-07 09:12:54 +12:00
cc-time-entry.h common: Port to GTK4 2021-12-14 22:34:21 -03:00
cc-util.c firmware-security: improve datetime format parsing 2022-10-25 23:49:16 +00:00
cc-util.h panels: cc-util: a smart date time 2022-10-25 23:49:16 +00:00
cc-vertical-row.c Replace all occurrences of 'gtk_widget_show' 2023-03-29 14:26:55 +13:00
cc-vertical-row.h common, multitasking: Introduce CcIllustratedRow 2023-02-14 13:31:23 -03:00
cc-vertical-row.ui common, multitasking: Introduce CcIllustratedRow 2023-02-14 13:31:23 -03:00
common.gresource.xml common: Introduce CcListRowInfoButton widget 2023-05-16 13:32:21 +00:00
gnome-control-center.rules.in common: Add polkit rules for modem management 2021-08-13 19:25:41 +00:00
gnome-settings-bus.h common: Port to GTK4 2021-12-14 22:34:21 -03:00
gsd-device-manager.c common: Fix leak of GUdevDevice 2021-12-17 09:50:57 +01:00
gsd-device-manager.h common: Add GsdDevice API to tell whether 2 devices are grouped 2020-09-04 21:46:19 +00:00
gsd-input-helper.c common: Port to GTK4 2021-12-14 22:34:21 -03:00
gsd-input-helper.h common: Remove unused X11/XI1/XI2 API 2019-08-08 15:18:07 +00:00
hostname-helper.c trivial: Replace g_memmove by memmove 2020-02-02 12:25:42 -03:00
hostname-helper.h common: sharing: Replace ifdefs with #pragma once 2018-06-01 21:41:34 +00:00
meson.build all: meson: do not specify resources from gresource files as dependencies 2023-05-24 08:34:14 +00:00