[Pkg-privacy-commits] [tails-installer] 01/12: Give "on_radio_changed" method a more informative name: "on_radio_button_source_iso_toggled". Solves Feature #14721.

Ulrike Uhlig ulrike at moszumanska.debian.org
Mon Nov 20 14:55:34 UTC 2017


This is an automated email from the git hooks/post-receive script.

ulrike pushed a commit to annotated tag tails-installer_5.0.2
in repository tails-installer.

commit 7da557a87563826eae18e411e94131b4b35e0e06
Author: kurono <andres.gomez at cern.ch>
Date:   Thu Sep 28 19:27:39 2017 +0200

    Give "on_radio_changed" method a more informative name:
    "on_radio_button_source_iso_toggled". Solves Feature #14721.
---
 data/tails-installer.ui | 2 +-
 tails_installer/gui.py  | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/data/tails-installer.ui b/data/tails-installer.ui
index a030ead..b71e2a0 100644
--- a/data/tails-installer.ui
+++ b/data/tails-installer.ui
@@ -192,7 +192,7 @@
                     <property name="can_focus">False</property>
                     <property name="xalign">0</property>
                     <property name="draw_indicator">True</property>
-                    <signal name="toggled" handler="on_radio_changed" swapped="no"/>
+                    <signal name="toggled" handler="on_radio_button_source_iso_toggled" swapped="no"/>
                   </object>
                   <packing>
                     <property name="expand">False</property>
diff --git a/tails_installer/gui.py b/tails_installer/gui.py
index df918c3..ba23424 100755
--- a/tails_installer/gui.py
+++ b/tails_installer/gui.py
@@ -418,7 +418,7 @@ class TailsInstallerWindow(Gtk.ApplicationWindow):
         rgba.parse(config['branding']['color'])
         self.__image_header.override_background_color(Gtk.StateFlags.NORMAL, rgba)
 
-    def on_radio_changed(self, radio_button):
+    def on_radio_button_source_iso_toggled(self, radio_button):
         active_radio = [r for r in radio_button.get_group() if r.get_active()][0]
         if active_radio.get_label() == "Clone the current Tails":
             self.opts.clone = True

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-privacy/packages/tails-installer.git



More information about the Pkg-privacy-commits mailing list