pidgin/resources/Prefs/credentials.ui

Fri, 16 Sep 2022 01:54:11 -0500

author
Elliott Sales de Andrade <quantum.analyst@gmail.com>
date
Fri, 16 Sep 2022 01:54:11 -0500
changeset 41694
83e6692c76a3
parent 41581
732b1fcb8e31
child 43014
8194d922bd07
permissions
-rw-r--r--

Change the credential provider row active indicator to a CheckButton

Because I noticed that Adw has a style that is for this sort of thing.

Testing Done:
Opened Credential prefs, and changed selected provider. Also checked that clicking the check button didn't accidentally change its state without changing the row, and that it could not be selected by keyboard separately from the row.

Reviewed at https://reviews.imfreedom.org/r/1775/

40730
12b38cca63d7 Create a new PidginCredentialsPage and associated widgets for the preferences window
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
1 <?xml version="1.0" encoding="UTF-8"?>
40766
3517e362dc57 Remove the GtkAlignment from PidginCredentialsPage as it's deprecated.
Gary Kramlich <grim@reaperworld.com>
parents: 40730
diff changeset
2 <!-- Generated with glade 3.38.2
3517e362dc57 Remove the GtkAlignment from PidginCredentialsPage as it's deprecated.
Gary Kramlich <grim@reaperworld.com>
parents: 40730
diff changeset
3
3517e362dc57 Remove the GtkAlignment from PidginCredentialsPage as it's deprecated.
Gary Kramlich <grim@reaperworld.com>
parents: 40730
diff changeset
4 Pidgin - Internet Messenger
3517e362dc57 Remove the GtkAlignment from PidginCredentialsPage as it's deprecated.
Gary Kramlich <grim@reaperworld.com>
parents: 40730
diff changeset
5 Copyright (C) Pidgin Developers <devel@pidgin.im>
3517e362dc57 Remove the GtkAlignment from PidginCredentialsPage as it's deprecated.
Gary Kramlich <grim@reaperworld.com>
parents: 40730
diff changeset
6
3517e362dc57 Remove the GtkAlignment from PidginCredentialsPage as it's deprecated.
Gary Kramlich <grim@reaperworld.com>
parents: 40730
diff changeset
7 This program is free software; you can redistribute it and/or
3517e362dc57 Remove the GtkAlignment from PidginCredentialsPage as it's deprecated.
Gary Kramlich <grim@reaperworld.com>
parents: 40730
diff changeset
8 modify it under the terms of the GNU General Public License
3517e362dc57 Remove the GtkAlignment from PidginCredentialsPage as it's deprecated.
Gary Kramlich <grim@reaperworld.com>
parents: 40730
diff changeset
9 as published by the Free Software Foundation; either version 2
3517e362dc57 Remove the GtkAlignment from PidginCredentialsPage as it's deprecated.
Gary Kramlich <grim@reaperworld.com>
parents: 40730
diff changeset
10 of the License, or (at your option) any later version.
3517e362dc57 Remove the GtkAlignment from PidginCredentialsPage as it's deprecated.
Gary Kramlich <grim@reaperworld.com>
parents: 40730
diff changeset
11
3517e362dc57 Remove the GtkAlignment from PidginCredentialsPage as it's deprecated.
Gary Kramlich <grim@reaperworld.com>
parents: 40730
diff changeset
12 This program is distributed in the hope that it will be useful,
3517e362dc57 Remove the GtkAlignment from PidginCredentialsPage as it's deprecated.
Gary Kramlich <grim@reaperworld.com>
parents: 40730
diff changeset
13 but WITHOUT ANY WARRANTY; without even the implied warranty of
3517e362dc57 Remove the GtkAlignment from PidginCredentialsPage as it's deprecated.
Gary Kramlich <grim@reaperworld.com>
parents: 40730
diff changeset
14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
3517e362dc57 Remove the GtkAlignment from PidginCredentialsPage as it's deprecated.
Gary Kramlich <grim@reaperworld.com>
parents: 40730
diff changeset
15 GNU General Public License for more details.
3517e362dc57 Remove the GtkAlignment from PidginCredentialsPage as it's deprecated.
Gary Kramlich <grim@reaperworld.com>
parents: 40730
diff changeset
16
3517e362dc57 Remove the GtkAlignment from PidginCredentialsPage as it's deprecated.
Gary Kramlich <grim@reaperworld.com>
parents: 40730
diff changeset
17 You should have received a copy of the GNU General Public License
41535
0dee7089dc5a Convert Pidgin credentials prefs page to GTK4
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 41520
diff changeset
18 along with this library; if not, see <https://www.gnu.org/licenses/>.
40766
3517e362dc57 Remove the GtkAlignment from PidginCredentialsPage as it's deprecated.
Gary Kramlich <grim@reaperworld.com>
parents: 40730
diff changeset
19
3517e362dc57 Remove the GtkAlignment from PidginCredentialsPage as it's deprecated.
Gary Kramlich <grim@reaperworld.com>
parents: 40730
diff changeset
20 -->
40730
12b38cca63d7 Create a new PidginCredentialsPage and associated widgets for the preferences window
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
21 <interface>
41535
0dee7089dc5a Convert Pidgin credentials prefs page to GTK4
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 41520
diff changeset
22 <requires lib="gtk" version="4.0"/>
41520
a5dd595361b4 Replace libhandy with libadwaita
Gary Kramlich <grim@reaperworld.com>
parents: 41375
diff changeset
23 <requires lib="libadwaita" version="0.0"/>
40766
3517e362dc57 Remove the GtkAlignment from PidginCredentialsPage as it's deprecated.
Gary Kramlich <grim@reaperworld.com>
parents: 40730
diff changeset
24 <!-- interface-license-type gplv2 -->
3517e362dc57 Remove the GtkAlignment from PidginCredentialsPage as it's deprecated.
Gary Kramlich <grim@reaperworld.com>
parents: 40730
diff changeset
25 <!-- interface-name Pidgin -->
3517e362dc57 Remove the GtkAlignment from PidginCredentialsPage as it's deprecated.
Gary Kramlich <grim@reaperworld.com>
parents: 40730
diff changeset
26 <!-- interface-description Internet Messenger -->
3517e362dc57 Remove the GtkAlignment from PidginCredentialsPage as it's deprecated.
Gary Kramlich <grim@reaperworld.com>
parents: 40730
diff changeset
27 <!-- interface-copyright Pidgin Developers <devel@pidgin.im> -->
41520
a5dd595361b4 Replace libhandy with libadwaita
Gary Kramlich <grim@reaperworld.com>
parents: 41375
diff changeset
28 <template class="PidginCredentialPrefs" parent="AdwPreferencesPage">
41581
732b1fcb8e31 Fix prefs on GTK4
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 41535
diff changeset
29 <property name="title" translatable="1">Credentials</property>
40730
12b38cca63d7 Create a new PidginCredentialsPage and associated widgets for the preferences window
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
30 <child>
41520
a5dd595361b4 Replace libhandy with libadwaita
Gary Kramlich <grim@reaperworld.com>
parents: 41375
diff changeset
31 <object class="AdwPreferencesGroup">
41581
732b1fcb8e31 Fix prefs on GTK4
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 41535
diff changeset
32 <property name="description" translatable="1">Pidgin does not store passwords directly, but uses the provider selected below to store passwords. Changing providers will not migrate existing stored passwords.</property>
732b1fcb8e31 Fix prefs on GTK4
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 41535
diff changeset
33 <property name="title" translatable="1">Credential Provider</property>
40730
12b38cca63d7 Create a new PidginCredentialsPage and associated widgets for the preferences window
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
34 <child>
40873
68c7ef6c5320 Convert credentials page to use HdyPreferencesGroup and a list box.
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 40824
diff changeset
35 <object class="GtkListBox" id="credential_list">
68c7ef6c5320 Convert credentials page to use HdyPreferencesGroup and a list box.
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 40824
diff changeset
36 <property name="selection-mode">none</property>
41375
e7f3a586b63f Rename PidginCredentialsPage to PidginCredentialPrefs
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 40873
diff changeset
37 <signal name="row-activated" handler="pidgin_credential_prefs_list_row_activated_cb" after="yes" swapped="no"/>
40873
68c7ef6c5320 Convert credentials page to use HdyPreferencesGroup and a list box.
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 40824
diff changeset
38 <style>
68c7ef6c5320 Convert credentials page to use HdyPreferencesGroup and a list box.
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 40824
diff changeset
39 <class name="content"/>
68c7ef6c5320 Convert credentials page to use HdyPreferencesGroup and a list box.
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 40824
diff changeset
40 </style>
40730
12b38cca63d7 Create a new PidginCredentialsPage and associated widgets for the preferences window
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
41 </object>
12b38cca63d7 Create a new PidginCredentialsPage and associated widgets for the preferences window
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
42 </child>
12b38cca63d7 Create a new PidginCredentialsPage and associated widgets for the preferences window
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
43 </object>
12b38cca63d7 Create a new PidginCredentialsPage and associated widgets for the preferences window
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
44 </child>
12b38cca63d7 Create a new PidginCredentialsPage and associated widgets for the preferences window
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
45 </template>
12b38cca63d7 Create a new PidginCredentialsPage and associated widgets for the preferences window
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
46 </interface>

mercurial