Commit graph

22723 commits

Author SHA1 Message Date
Marco Melorio
8ea49662d6 privacy: Add microphone page
The UI file is not formatted on purpose to facilitate the review. It
will be reformatted in a later commit.
2023-08-03 08:42:10 +00:00
Marco Melorio
4eefc51dd2 privacy: Add camera page
The UI file is not formatted on purpose to facilitate the review. It
will be reformatted in a later commit.
2023-08-03 08:42:10 +00:00
Marco Melorio
6dac508732 privacy: Add location page
The UI file is not formatted on purpose to facilitate the review. It
will be reformatted in a later commit.
2023-08-03 08:42:10 +00:00
Marco Melorio
ef58f0e097 privacy: Add diagnostics page
The UI file is not formatted on purpose to facilitate the review. It
will be reformatted in a later commit.
2023-08-03 08:42:10 +00:00
Marco Melorio
c94afe06a8 privacy: Add usage page
The UI file is not formatted on purpose to facilitate the review. It
will be reformatted in a later commit.
2023-08-03 08:42:10 +00:00
Marco Melorio
b2eaa54d7d privacy: Add screen lock page
The UI file is not formatted on purpose to facilitate the review. It
will be reformatted in a later commit.
2023-08-03 08:42:10 +00:00
Marco Melorio
81dd3de928 panels: Add empty Privacy panel with navigation
It will be filled in later commits.
2023-08-03 08:42:10 +00:00
Marco Melorio
31a91a221c shell: Disable privacy panels temporarely
It will be reimplemented in a single panel in later commits.
2023-08-03 08:42:10 +00:00
Boyuan Yang
174ca7c935 Update Chinese (China) translation 2023-08-02 18:26:52 +00:00
Efstathios Iosifidis
53f401de44 Update Greek translation 2023-08-02 17:53:58 +00:00
Alice Mikhaylenko
d2ebbf1fec region: Fix preview buttons in the format chooser
This never worked.
2023-08-02 12:52:01 +00:00
Alice Mikhaylenko
ee4c5f8115 search: Stop using AdwPreferencesWindow for search locations window
That's not what it's for.
2023-08-02 12:51:48 +00:00
Alice Mikhaylenko
52f4919c94 network: Stop using AdwPreferencesWindow for the saved networks dialog 2023-08-02 12:51:48 +00:00
Alice Mikhaylenko
f3640d83d3 network: Consistently make options buttons flat 2023-08-02 12:51:48 +00:00
Alice Mikhaylenko
8df9709240 info-overview: Add mnemonic to the copy button 2023-08-02 12:51:48 +00:00
Alice Mikhaylenko
3535479c23 info-overview: Use AdwButtonContent for the copy button 2023-08-02 12:51:48 +00:00
Alice Mikhaylenko
232d4e6ff5 printer-entry: Use a card for the printer rows 2023-08-02 12:51:48 +00:00
Alice Mikhaylenko
81a3c3dd15 network: Fix up proxy page and port to AdwSpinRow 2023-08-02 12:51:48 +00:00
Felipe Borges
6b4b478402 applications: Fix crash when loading as last-used panel
Let's call update_headerbar_buttons only after the panel
has been loaded.

Fixes #2590
2023-08-02 12:51:22 +00:00
Felipe Borges
4a9214b1b9 ci: Build glib from the source
We were facing this CI build failure error

[573/879] Linking target panels/online-accounts/gnome-control-center-goa-helper
FAILED: panels/online-accounts/gnome-control-center-goa-helper
cc  -o panels/online-accounts/gnome-control-center-goa-helper panels/online-accounts/gnome-control-center-goa-helper.p/gnome-control-center-goa-helper.c.o -Wl,--as-needed -Wl,--no-undefined -Wl,--start-group /usr/lib64/libgoa-backend-1.0.so /usr/lib64/libgoa-1.0.so /usr/lib64/libgtk-3.so /usr/lib64/libgdk-3.so /usr/lib64/libz.so /usr/lib64/libatk-1.0.so /usr/lib64/libpangocairo-1.0.so /usr/lib64/libharfbuzz.so /usr/lib64/libgio-2.0.so /usr/lib64/libgdk_pixbuf-2.0.so /usr/lib64/libcairo-gobject.so /usr/lib64/libpango-1.0.so /usr/lib64/libcairo.so /usr/lib64/libglib-2.0.so /usr/lib64/libgobject-2.0.so -Wl,--end-group
/usr/bin/ld: /usr/lib64/libtracker-sparql-3.0.so.0: undefined reference to `g_assertion_message_cmpint'
collect2: error: ld returned 1 exit status

g_assertion_message_cmpint is available in newer glib than what's in
our container image.
2023-08-02 13:53:57 +02:00
Efstathios Iosifidis
1b7cec9992 Update Greek translation 2023-08-01 20:39:42 +00:00
Vasil Pupkin
e21a04e242 Update Belarusian translation 2023-07-29 20:06:30 +00:00
Pauli Virtanen
638361ade5 subprojects: Update gvc
Update libgnome-volume-control to latest. This fixes some crashes and
misbehavior.

See https://gitlab.gnome.org/GNOME/libgnome-volume-control/-/merge_requests/22

Fixes #1760
2023-07-29 09:09:23 +00:00
Asier Sarasua Garmendia
a81dd3223d Update Basque translation 2023-07-29 07:13:20 +00:00
Ngọc Quân Trần
e81a603a63 Update Vietnamese translation 2023-07-29 02:38:31 +00:00
Danial Behzadi
427a9906a1 Update Persian translation 2023-07-28 22:53:12 +00:00
Artur So
f1d45b96fe Update Russian translation 2023-07-28 18:17:14 +00:00
Yuri Chornoivan
6caefa0770 Update Ukrainian translation 2023-07-28 17:42:41 +00:00
Yosef Or Boczko
5a194e5747 Update Hebrew translation 2023-07-28 05:59:50 +00:00
Ekaterine Papava
968a06b310 Update Georgian translation 2023-07-28 05:07:46 +00:00
Andika Triwidada
5ed218ecd7 Update Indonesian translation 2023-07-28 01:54:59 +00:00
Balázs Úr
c33e6de497 Update Hungarian translation 2023-07-27 23:01:39 +00:00
Bogi Napoleon Wennerström
933870d947 Update Faroese translation
(cherry picked from commit 1c982b36d2)
2023-07-25 14:40:54 +00:00
Marcos Miller
61955e46d0 general: replace gtk_widget_translate_coordinates
The method gtk_widget_translate_coordinates is deprecated in gtk 4.12.
Use a new method gtk_widget_compute_point instead.

general: Apply suggestions graphene point
2023-07-21 09:14:20 +00:00
Fabio Tomat
ea225104b2 Update Friulian translation 2023-07-20 19:57:13 +00:00
Markus Göllnitz
c26c52aaee usage: make file history's buttons shrinkable
The homogeneous on their boxes has no visible effect, as
the buttons lack hexpand. It, however, still influences
the box's minimal width unnecessarily. Thus, removing it
decreases the panel's minimal and natural width without a
visible change otherwise.

Making those buttons can-shrink also decreases their and
henceforth the panel's minimal width. With this change,
the panel can shrink to a width of 360px, with a natural
width not far from it.

Signed-off-by: Markus Göllnitz <camelcasenick@bewares.it>
2023-07-19 10:23:33 +00:00
Cyber Phantom
aec265db7d user-accounts: Only show Other Users row when there is at least one other user 2023-07-19 08:44:16 +00:00
Felipe Borges
cc5b7c14c3 info-overview: Hide entire software updates group instead of row
We were only hiding the updates row, leaving its AdwPreferencesGroup
visible with no rows.

Let's hide the entire group instead.
2023-07-19 08:38:26 +00:00
Lukáš Tyrychtr
8c361e28cc info-overview: Label the system details that they make sense with a screen reader
Before this, the user could easily only access the property values,
not te names or group titles.
2023-07-18 13:51:31 +00:00
Nelson Benítez León
c2ef0f6e5e shell: prevent loading last-panel unconditionally on startup
We currently load the last-panel every time gnome-control-center
is launched, we do it from the CcWindow contructor method.

But we shouldn't do it when we are explicitly opening a different
panel by eg. using commandline parameter (gnome-control-center keyboard)
or from a DBus method, because otherwise we slow things down by
unnecesarily start launching last-panel just to be cancelled
moments later when the code starts processing the other panel.

We fix it by moving the code that loads last-panel to an idle
handler, so by the time it gets executed the other panel has
already started loading, and we can check for that with the
cc_panel_list_get_current_panel() function we add in this patch.

With this patch, I can feel that panels opened from a
gnome-shell search are presented faster.

Fixes issue #2569
2023-07-18 09:28:29 +00:00
Lukáš Tyrychtr
ba79d849af displays: Use an AdwComboRow for the schedule type of the night light page
GtkComboBox is deprecated and not accessible, so this one is definitely better from this point of view.
2023-07-18 08:29:43 +00:00
Cyber Phantom
32f2d9ea8d info-overview: Style the system information output as markdown 2023-07-17 09:25:26 +00:00
Cyber Phantom
27a20b026d info-overview: Show a toast notification when copying system report
It helps to imply that the copy action has completed.
2023-07-17 09:25:26 +00:00
Cyber Phantom
e90321f89b info-overview: Make the "Copy" button functional
The copy button now generates a system information report with all the system information.
The information is generated by calling the same methods used when populating the System Information window.
2023-07-17 09:25:26 +00:00
Cyber Phantom
b9a905f298 info-overview: Create dbus proxy inside get_gnome_version
get_gnome_version() relies on shell_proxy_ready() to provide it with shell proxy.
This means that we cant call get_gnome_version() without providing proxy as an argument which is fine normally but becomes tedious if we want to call this function multiple times in different scopes.

Fix this by creating the shell proxy inside get_gnome_version() function instead.
2023-07-17 09:25:26 +00:00
Cyber Phantom
2a1e5a5de8 info-overview: Remove unused gpu_data_free function
Since we're no longer processing the list of graphics devices inside of get_renderer_from_switcheroo, there's no need for this function
as the the list now gets passed around to a different function and automatically freed once it goes out of scope.
2023-07-17 09:25:26 +00:00
Cyber Phantom
f4bc3efb0f info-overview: Reverse the weights of default and non default GPUs in gpu_data_sort
Default and non default GPUs were associated with a weight of 1 and -1 respectively which meant default gpus were treated
as a "bigger" entity than non default ones. It meant that when sorting a list of GpuData, the default gpu would end up
at the end of the list since it was treated as the biggest. The resultant list after sorting would end up something like

our pointer
  |
  |
<gpu>, <gpu>, <gpu>, <gpu>, <default gpu>

With this change the weights of these gpus have been exchanged, making the default gpu to be treated as "smaller" this
changing the order of the sorted list into something like

our pointer
  |
  |
<default gpu>, <gpu>, <gpu>, <gpu>, <gpu>

This is pretty useful because when creating the gpu information row entries in create_graphics_rows, the default gpu is processed first so it becomes the first element added to the gpu entry list which is how we would expect it to be.
2023-07-17 09:25:26 +00:00
Cyber Phantom
7883b8e200 info-overview: Don't put an index at the end of default graphics device
This change brings it more inline with the mockup and it makes sense to not have a number for the default graphics device as that
s always going to be the first device.
2023-07-17 09:25:26 +00:00
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
Cyber Phantom
17b29d1e2d info-overview: Move the information entries into CcSystemDetailsWindow
In the new mockup, about page only displays a overview of information and most of the system information is presented as a seprate window.

Rewrite the info page to follow the new mockup
2023-07-17 09:25:26 +00:00