summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRené Stadler <mail@renestadler.de>2009-01-29 22:43:58 +0200
committerRené Stadler <mail@renestadler.de>2009-02-07 23:07:56 +0200
commit6bd1fb9396c648ce3d9b7bcf4a0e3899d7db535e (patch)
tree2f0975a5b253623a3f95c960a487b7851373f1b9
parenta698b99a36f2e988de040f6961ca647e69ff791b (diff)
GUI: Fix manual invocation of element view selection changed handler
The select_iter method in fact triggers the "changed" signal now, so the comment is misleading and the signal handler triggered twice. This was a mistake by me or a past gtk bug, getting rid of this workaround because it's in the way of coming refactoring work.
-rw-r--r--GstInspector/GUI/window.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/GstInspector/GUI/window.py b/GstInspector/GUI/window.py
index 04ae74a..439f368 100644
--- a/GstInspector/GUI/window.py
+++ b/GstInspector/GUI/window.py
@@ -683,8 +683,6 @@ class InspectorWindow (Data.Consumer):
view.scroll_to_cell (model.get_path (tree_iter), view.get_column (0))
selection = view.get_selection ()
selection.select_iter (tree_iter)
- # Above call does not emit the signal, need to call handler manually:
- self.handle_element_view_selection_changed (selection)
def scroll_to_active (self):