Commit graph

11 commits

Author SHA1 Message Date
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
Automeris naranja
e17efcca82 usage: Fix confirmation dialog when clearing history
When clearing file history, a dialog appears saying that all files
will be permanently deleted. However, this isn't true. Only the recent
files list will be cleared and the files will remain intact.

Fixes https://gitlab.gnome.org/GNOME/gnome-control-center/-/issues/2366
2023-03-15 13:25:20 +00:00
raihan2000
1250b0f4d7 file-history:Added dialog on Clear History button
- Rewrite clear_recent function to show dialog.
- Added on_clear_recent_warning_response_cb function
- to show warning on clicking Clear History button.
This commit fixes https://gitlab.gnome.org/GNOME/gnome-control-center/-/issues/1952
2023-01-09 11:25:10 +00:00
Felipe Borges
294156c0f9 Drop most uses of deprecated gtk_style_context_add/remove_class
GtkStyleContext will be deprecated in gtk 4.10.
https://docs.gtk.org/gtk4/class.StyleContext.html

This preserves code blocks where additional GtkStyleContext operations
were used, such as gtk_style_context_save/restore.
2023-01-05 18:55:51 +00:00
Rafael Fontenelle
fafd093fbd usage: fix typo 2022-02-12 23:27:05 +00:00
Christopher Davis
7c9c42fb65 usage: Use AdwComboRow for "File History Duration" 2022-02-12 13:32:22 -08:00
Christopher Davis
a95b57061b usage: Use AdwComboRow for "Automatically Delete Period" 2022-02-12 13:32:22 -08:00
Christopher Davis
a3c31fcda3 usage: Use AdwPreferences{Page,Group}, AdwActionRow
Uses AdwPreferencesPage and AdwPreferencesGroup for
consistency with the rest of the application. The
combo rows now use AdwActionRow so they can be
included in the AdwPreferencesGroup without
a custom list box.
2022-02-12 13:32:22 -08:00
Georges Basile Stavracas Neto
2d762680d2 usage: Port to GTK4 2021-12-14 22:34:21 -03:00
Robert Ancell
74eb5d9855 usage: Connect signals with g_signal_connect_object in swapped form 2020-03-30 16:18:49 +13:00
Matthias Clasen
757b055eb4 Add a usage panel
This is a broken out version of the privacy panel dialog.
2019-11-07 14:40:07 +13:00