[Pkg-privacy-commits] [tor-monitor] 21/39: Comment _create_ui

Sascha Steinbiss sascha-guest at moszumanska.debian.org
Tue Aug 25 18:00:45 UTC 2015


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

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

commit 40875b1ae7a1c9e3f6a619afc56ae08d49968ebf
Author: Tails developers <tails at boum.org>
Date:   Sun Feb 22 04:38:37 2015 +0100

    Comment _create_ui
---
 tormonitor | 11 ++++++-----
 1 file changed, 6 insertions(+), 5 deletions(-)

diff --git a/tormonitor b/tormonitor
index 5820ae3..9ac3e15 100755
--- a/tormonitor
+++ b/tormonitor
@@ -105,11 +105,11 @@ class TorMonitorWindow(Gtk.ApplicationWindow):
         self._infobar.connect('response', lambda infobar, rid, data=None: self._infobar.hide())
         grid.attach(self._infobar, 0, 0, 2, 1)
 
-
-        self._treestore = Gtk.TreeStore(GObject.TYPE_INT,
-                                        GObject.TYPE_STRING,
-                                        GObject.TYPE_STRING,
-                                        GObject.TYPE_STRING)
+        # Circuits/streams list
+        self._treestore = Gtk.TreeStore(GObject.TYPE_INT,    # TYPE_CIRC or TYPE_STREAM
+                                        GObject.TYPE_STRING, # id
+                                        GObject.TYPE_STRING, # path
+                                        GObject.TYPE_STRING) # status
         self._treeview = Gtk.TreeView.new_with_model(self._treestore)
         self._treeview.get_selection().connect('changed', self.cb_treeselection_changed)
         def append_column(tv, col, name=None):
@@ -129,6 +129,7 @@ class TorMonitorWindow(Gtk.ApplicationWindow):
         scrolledwindow_circuits.set_property('valign', Gtk.Align.FILL)
         grid.attach(scrolledwindow_circuits, 0, 1, 1, 1)
 
+        # Circuit details
         self._path = Gtk.ListBox()
         self._path.set_selection_mode(Gtk.SelectionMode.NONE)
         placeholder = Gtk.Label(_("Click on a path to get details"))

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



More information about the Pkg-privacy-commits mailing list