Skip to content

Commit

Permalink
Add IDs for new links
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewdavidwong committed May 1, 2023
1 parent 7f2888d commit 5c7fb5f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
6 changes: 3 additions & 3 deletions qubes_config/global_config.glade
Original file line number Diff line number Diff line change
Expand Up @@ -1009,7 +1009,7 @@
</packing>
</child>
<child>
<object class="GtkLabel">
<object class="GtkLabel" id="u2fproxy_info">
<property name="visible">True</property>
<property name="can-focus">False</property>
<property name="label" translatable="yes">Qubes U2F Proxy allows you to use Universal 2nd Factor (U2F) two-factor authentication (2FA) devices without exposing the whole device and all of its contents to every qube. &lt;a href="https://www.qubes-os.org/doc/u2f-proxy/"&gt;Learn more.&lt;/a&gt;
Expand Down Expand Up @@ -3526,7 +3526,7 @@
</packing>
</child>
<child>
<object class="GtkLabel">
<object class="GtkLabel" id="splitgpg_info2">
<property name="visible">True</property>
<property name="can-focus">False</property>
<property name="label" translatable="yes">This feature protects your PGP keys by "splitting" GNU Privacy Guard (GnuPG or GPG) into two halves: one or more backend "key" qubes that securely store your PGP keys and one or more frontend "access" qubes with the ability to use those keys according to rules you specify. &lt;a href="https://www.qubes-os.org/doc/split-gpg/"&gt;Learn more.&lt;/a&gt;</property>
Expand Down Expand Up @@ -5196,7 +5196,7 @@ Inter-qube copy and paste actions are performed via special keyboard shortcuts,
</packing>
</child>
<child>
<object class="GtkLabel">
<object class="GtkLabel" id="copymove_info">
<property name="visible">True</property>
<property name="can-focus">False</property>
<property name="label" translatable="yes">You will always be asked for permission when copying and moving files between qubes, except for dom0, which is handled differently. &lt;a href="https://www.qubes-os.org/doc/how-to-copy-from-dom0/"&gt;Learn about copying to and from dom0.&lt;/a&gt;</property>
Expand Down
5 changes: 3 additions & 2 deletions qubes_config/global_config/global_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -385,8 +385,9 @@ def _usbvm_changed(self, *_args):

def _handle_urls(self):
url_label_ids = ["url_info", "openinvm_info", "splitgpg_info",
"usb_info", "basics_info", "thisdevice_security_info",
"thisdevice_certified_yes_info"]
"splitgpg_info2", "usb_info", "basics_info",
"thisdevice_security_info", "copymove_info"
"thisdevice_certified_yes_info", "u2fproxy_info"]
for url_label_id in url_label_ids:
label: Gtk.Label = self.builder.get_object(url_label_id)
label.connect("activate-link", self._activate_link)
Expand Down

0 comments on commit 5c7fb5f

Please sign in to comment.