[Pkg-privacy-commits] [onioncircuits] 22/39: Revert "Remove 'OK' button in infobar"

Sascha Steinbiss sascha at steinbiss.name
Sun May 15 16:40:45 UTC 2016


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

sascha-guest pushed a commit to branch master
in repository onioncircuits.

commit d1a7ab61ba1498d5d1e4a7588a999514d594389e
Author: sajolida <sajolida at pimienta.org>
Date:   Thu Apr 14 16:52:48 2016 +0000

    Revert "Remove 'OK' button in infobar"
    
    This reverts commit ca66694bdb93104f844d338b9f81b1598a668867.
    
    Otherwise it's not possible to hide the infobar even after Tor is
    connected.
---
 onioncircuits | 1 +
 1 file changed, 1 insertion(+)

diff --git a/onioncircuits b/onioncircuits
index 7aedcae..45fec4f 100755
--- a/onioncircuits
+++ b/onioncircuits
@@ -106,6 +106,7 @@ class OnionCircuitsWindow(Gtk.ApplicationWindow):
         self._infobar_label = Gtk.Label("");
         self._infobar_label.show()
         self._infobar.get_content_area().add(self._infobar_label)
+        self._infobar.add_button(_("OK"), Gtk.ResponseType.OK)
         self._infobar.connect('response', lambda infobar, rid, data=None: self._infobar.hide())
         grid.attach(self._infobar, 0, 0, 2, 1)
 

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



More information about the Pkg-privacy-commits mailing list