Monster
de5ab92975
sharing: Remove period in description
2024-02-05 10:57:33 +00:00
Automeris naranja
2c04c9dfc9
sharing: Move switches out of the headerbar
...
In the "Media Sharing" and "File Sharing"
dialogs, move the main switches out of the
headerbar and show them in a row.
See https://gitlab.gnome.org/GNOME/gnome-control-center/-/issues/1930
2024-01-30 13:33:35 +00:00
Automeris naranja
5ba750522c
sharing: Add missing mnemonics
...
Add mnemonics to:
- Device Name entry row
- Remote Login row (from the Remote Login window)
2024-01-23 11:09:19 +00:00
Automeris naranja
45a5a1e0e7
sharing: Use AdwPreferencesPage/AdwPreferencesGroup in all dialogs
2024-01-04 11:31:04 +00:00
Bart Gravendeel
cacc2b5bef
Remove use-underline property from all CCListRows
2024-01-04 10:11:35 +00:00
Maximiliano Sandoval R
9a15a48d50
sharing-panel: Modernize File Sharing dialog
...
Part-of: <https://gitlab.gnome.org/GNOME/gnome-control-center/-/merge_requests/1999 >
2023-11-07 08:25:02 +00:00
Gotam Gorabh
34fcaa0654
system: Add 'Remote Desktop' panel to system panel
...
See #2241
2023-11-02 12:15:11 +00:00
Maximiliano Sandoval R
4209811f2f
sharing-panel: Make adaptive
...
We allow the media sharing dialog to be resizable.
We wrap the content in a scrolled window containing a clamp.
2023-10-23 13:37:52 +00:00
Maximiliano Sandoval R
949e850de6
sharing-panel: Use proper heading class
2023-10-23 13:37:52 +00:00
Alice Mikhaylenko
4680f362f3
Port to AdwNavigationSplitView
2023-08-25 08:00:43 +00:00
Alice Mikhaylenko
b91859c4b3
sharing: Port dialogs to AdwWindow and AdwToolbarView
...
Normalize the fingerprint dialog: use a header bar, have esc-to-close, stop
leaking it
2023-08-25 08:00:43 +00:00
Alice Mikhaylenko
a96b5306a0
sharing: Port to AdwToolbarView
2023-08-25 08:00:43 +00:00
zalnaRs
67a9e9d2b3
Sharing: Replace Remote Login's GtkSwitch to AdwSwitchRow
...
Remote Login dialog used the old GtkSwitch.
Replaced the switch with AdwSwitchRow and wrapped it with AdwPreferencesGroup.
part of https://gitlab.gnome.org/GNOME/gnome-control-center/-/issues/2290 and part of https://gitlab.gnome.org/GNOME/gnome-control-center/-/issues/1930
2023-08-15 08:51:04 +00:00
Felipe Borges
52ca3bbf14
sharing: Remove placeholder strings from UI file
...
Those strings are set in the C file.
2023-08-11 12:05:39 +02:00
Maksym Hazevych
b5cee63632
Use page for description instead of single group
...
When there is only one AdwPreferencesGroup in a whole
AdwPreferencesPage, use "description" property of the latter.
2023-06-06 13:40:33 +00:00
Felipe Borges
073cf028a2
sharing: Add subtitle to each panel row
...
Fixes #2407
2023-05-15 13:37:17 +02:00
Felipe Borges
36938d53d6
sharing: Add icons next to each row
...
See #2407
2023-05-15 13:37:17 +02:00
Automeris naranja
13e4e0c242
general: Set a minimum size for various dialogs
...
This change prevents some dialogs from being shrunk
to a really small size by setting a minimum size for them.
2023-05-04 09:54:07 +00:00
Gotam Gorabh
8cb77b4d3a
sharing:removed global master switch
...
These changes remove the global master switch from
sharing panel and set main_list_box active.
Fixes: https://gitlab.gnome.org/GNOME/gnome-control-center/-/issues/2415
2023-04-12 13:47:31 +00:00
Alessandro Bono
e7458ff1b4
sharing: Set active property instead of state
...
The ability to tweak the state property was mainly introduced in
order to implement delayed state change via the state-set signal.
Since GTK 4.9.3[1] the active and state properties are no more
interchangeable.
[1] https://gitlab.gnome.org/GNOME/gtk/-/merge_requests/5442
2023-03-03 18:16:57 +00:00
sunflowerskater
e27d13183e
sharing: Rename "Computer Name" AdwEntryRow to "Device Name"
...
Currently, the "Computer Name" AdwEntryRow has some problems due to its label name:
- It's inconsistent with the AdwEntryRow from info-overview, which uses the label "Device Name"
- "Computer Name" isn't suitable for other kind of devices
2023-01-02 12:18:55 +00:00
Felipe Borges
9871a09143
common, info-overview, sharing: Use AdwEntryRow for Hostname entries
...
See mockups in https://gitlab.gnome.org/Teams/Design/settings-mockups/-/issues/48
2022-12-13 16:16:08 +00:00
Felipe Borges
ec2c3d477d
sharing: Use AdwEntryRow for remote-desktop setup
...
See #1930
2022-07-26 20:11:56 +00:00
Lukáš Tyrychtr
af197cb813
Add missing a11y labels
2022-05-31 21:08:44 +00:00
Felipe Borges
44fdf9a492
sharing: Let GtkWindowControls add its own buttons
...
On the Verify Encryption dialog we were adding a GtkWindowControls
widget with a button child. This is a misunderstanding of the behavior
of GtkWindowControls, which adds its own buttons to the window.
Let's remove our custom close-button and its callback, since the
previous commit disabled this codepath for hiding the dialog.
2022-05-13 13:18:01 +02:00
Felipe Borges
a701ab0b8b
sharing: Set Verify Encryption dialog to "hide-on-close"
...
This way GtkWindow handles the hiding of the dialog instead of the
callback of the close-button.
Fixes #1832
2022-05-13 13:18:01 +02:00
Jonas Ådahl
48354fde43
sharing/remote-desktop/fingerprint: Add missing period to string
2022-05-10 20:58:40 +00:00
Jonas Ådahl
6affceebee
sharing/remote-desktop: Show toasts when copying
2022-05-10 20:58:40 +00:00
Robert Ancell
7f77d087f4
sharing: Fix misleading widget name
2022-04-26 21:31:27 +00:00
Felipe Borges
633bf89537
sharing: Use GtkWindowControls to wrap the cert fingerprint dialog
...
Instead of using a plain "flat" button positioned at the window corner,
let's use GtkWindowControls to wrap the close button and get the
default window control styling and alignment.
Fixes #1737
2022-04-22 12:22:27 +00:00
Jonas Ådahl
93754f87b3
sharing/remote-desktop: Make device name and address labels selectable
2022-03-03 21:11:23 +00:00
Jonas Ådahl
3a9ce7b32b
sharing/remote-desktop: Make the finger print view not scroll
...
Do this by setting the adw status page to expand vertically.
2022-03-03 21:11:23 +00:00
Jonas Ådahl
e8d574883a
sharing/remote-desktop: Add copy buttons
2022-02-26 18:19:14 +00:00
Jonas Ådahl
3631338676
sharing: Generate RDP TLS certificates when missing
...
This also hooks up the certificate verification dialog to the configured
TLS certificate.
2022-02-26 18:19:14 +00:00
Felipe Borges
0ae59467fb
sharing: Port Screen Sharing dialog to RDP
...
Also following the guidelines at
https://gitlab.gnome.org/Teams/Design/settings-mockups/-/raw/master/remote-desktop/remote-desktop.png
Fixes #1413
2022-02-26 18:19:14 +00:00
Georges Basile Stavracas Neto
4300a4a290
panels: Use new CcPanel helpers for title widgets
...
This should significantly simplify these panels, by not forcing
them to override GObject.constructed all the time. Most panels
were quite straightfoward.
2022-01-20 02:23:42 +00:00
Georges Basile Stavracas Neto
0ab20af9ba
panels: Switch to CcPanel content
...
Start porting panels to the new panel format. This commit
temporarily makes panels have two titlebar, which will be
fixed soon.
2022-01-20 02:23:42 +00:00
Christopher Davis
e637f47e78
cc-list-row: Subclass AdwActionRow
...
AdwActionRow handles many of the properties we use
CcListRow for. We can re-use it instead of re-creating it.
CcListRow is now an AdwActionRow with three suffixes.
The `activatable-widget` is set when the switch is visible.
Since our `icon-name` property was only used for the arrow
icon, it has been replaced with a `show-arrow` property.
The `bold` property has been removed - it was only used in
one place, and it's not a pattern used in other apps.
I decided to go this route because replacing all the
instances of CcListRow with AdwActionRow directly would
end up being more code.
2022-01-06 08:56:12 -08:00
Christopher Davis
981a8cea7b
panels: Use .boxed-list
instead of .content
...
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.
2021-12-16 12:52:44 -08:00
Georges Basile Stavracas Neto
f043ca3680
sharing: Port to GTK4
...
Again, it was easier to just switch some of the code to use
AdwActionRow, and that's what I've done in this commit.
2021-12-14 22:34:21 -03:00
Adrien Plazas
f06379e30c
Replace HdyColumn by HdyClamp
...
In libhandy 1, HdyClamp replaces HdyColumn. This stops setting values
when they match HdyClamp's defaults.
2020-07-20 08:04:28 +02:00
Mohammed Sadiq
a623a3a2e3
sharing: Use the new list row patterns
2020-05-12 22:33:15 +00:00
António Fernandes
cde8f69ad6
sharing: Set label for checkbox properly
...
The Screen Sharing dialog used to have a switch, which was changed to a
checkbox in 8b68961431
However, unlike switches, checkboxes are expected to have clicable labels
Let's set the label properly, instead of doing it the switch way.
Fixes https://gitlab.gnome.org/GNOME/gnome-control-center/-/issues/565
2020-03-30 15:37:03 +00:00
Mohammed Sadiq
faf305772c
sharing: Allow dialogs to have smaller width
...
Reduce margins on either side, and allow the texts to be
wrapped early, so that it works well on smaller screens
2019-07-23 06:54:50 +05:30
Adrien Plazas
39ed06188a
sharing: Ellipsize the labels
...
This helps ensuring the panel fits in narrow windows.
2019-03-29 18:20:56 +00:00
Adrien Plazas
b73213ebaf
sharing: Adapt the indentation
...
This adapts the indentation of the children of HdyColumn, which were
deliberately left intact in the previous commit to make it more
readable.
2019-03-29 18:20:56 +00:00
Adrien Plazas
5be6fc4d1f
sharing: Use a HdyColumn and a GtkScrolledWindow
...
Put the widget's content into a HdyColumn, itself into a
GtkScrolledWindow. This allows the panel to reach narrower sizes.
This deliberately doesn't adapt the indentation of the contained widget
to help this commit to be more readable and easier to review, it will be
adapted in the next commit.
2019-03-29 18:20:56 +00:00
Robert Ancell
41d2eff314
sharing: Make .ui filename match the .c filename
2018-11-12 16:41:01 +00:00