From 8fe25c418c9d3c8321385cd91f000e433e113147 Mon Sep 17 00:00:00 2001 From: Corey Berla Date: Fri, 5 Aug 2022 12:48:59 -0700 Subject: app-chooser: Replace Reset and Set as Default buttons with a Switch Set the switch to active when the association is set as default and inactive when it is not set as default (also a way to remove the default association). Add a label for the switch with a subtitle indicating the content description. --- src/resources/ui/nautilus-app-chooser.ui | 66 ++++++++++++++++++++------------ 1 file changed, 41 insertions(+), 25 deletions(-) (limited to 'src/resources/ui') diff --git a/src/resources/ui/nautilus-app-chooser.ui b/src/resources/ui/nautilus-app-chooser.ui index 5c2eb95f5..b99623822 100644 --- a/src/resources/ui/nautilus-app-chooser.ui +++ b/src/resources/ui/nautilus-app-chooser.ui @@ -19,14 +19,14 @@ list + 18 + 18 + 18 + 18 never true - 12 - 12 - 12 - 12 @@ -36,31 +36,12 @@ 12 + 18 + 18 True vertical - - - 6 - - - _Reset - True - True - True - True - start - - - - - Set as _Default - True - - - - @@ -71,6 +52,40 @@ + + + 18 + 18 + 18 + + + vertical + + + start + True + Always use for this file type + + + + + start + + + + + + + + end + center + + + + @@ -84,6 +99,7 @@ _Open True False + -- cgit v1.2.1