From 3546eb430aee7276f3e6ba5b40239f9c63c37230 Mon Sep 17 00:00:00 2001 From: Julio Biason Date: Tue, 22 Dec 2009 05:44:45 -0200 Subject: [PATCH] don't jump to the first message anymore; closed icon problem without noticing --- .../issue-2380ae1ec422175cf0fecc896e2a5bf0d1806b80.yaml | 8 ++++++-- .../issue-95a69f922a192e8b57715432993a07f0edd92c11.yaml | 8 ++++++-- mitterlib/ui/ui_pygtk.py | 5 ----- 3 files changed, 12 insertions(+), 9 deletions(-) diff --git a/issues/issue-2380ae1ec422175cf0fecc896e2a5bf0d1806b80.yaml b/issues/issue-2380ae1ec422175cf0fecc896e2a5bf0d1806b80.yaml index c0df46d..62c9236 100644 --- a/issues/issue-2380ae1ec422175cf0fecc896e2a5bf0d1806b80.yaml +++ b/issues/issue-2380ae1ec422175cf0fecc896e2a5bf0d1806b80.yaml @@ -8,8 +8,8 @@ type: :bugfix component: pygtk release: 1.0.0 reporter: Julio Biason -status: :unstarted -disposition: +status: :closed +disposition: :fixed creation_time: 2009-12-17 16:29:37.169204 Z references: [] @@ -19,3 +19,7 @@ log_events: - Julio Biason - created - "" +- - 2009-12-22 07:44:15.629025 Z + - Julio Biason + - closed with disposition fixed + - "" diff --git a/issues/issue-95a69f922a192e8b57715432993a07f0edd92c11.yaml b/issues/issue-95a69f922a192e8b57715432993a07f0edd92c11.yaml index a4bd5ef..81d7023 100644 --- a/issues/issue-95a69f922a192e8b57715432993a07f0edd92c11.yaml +++ b/issues/issue-95a69f922a192e8b57715432993a07f0edd92c11.yaml @@ -7,8 +7,8 @@ type: :bugfix component: pygtk release: 1.0.0 reporter: Julio Biason -status: :unstarted -disposition: +status: :closed +disposition: :fixed creation_time: 2009-12-21 10:41:32.855458 Z references: [] @@ -18,3 +18,7 @@ log_events: - Julio Biason - created - "" +- - 2009-12-22 07:43:59.725233 Z + - Julio Biason + - closed with disposition fixed + - "," diff --git a/mitterlib/ui/ui_pygtk.py b/mitterlib/ui/ui_pygtk.py index 5556ef6..119e330 100644 --- a/mitterlib/ui/ui_pygtk.py +++ b/mitterlib/ui/ui_pygtk.py @@ -1058,11 +1058,6 @@ class Interface(object): message.read = False store.prepend([message]) store.sort_column_changed() - if len(results) > 0: - # scroll to the first cell, to "show" that there are new items. - iter = self._grid.get_model().get_iter_first() - path = self._grid.get_model().get_path(iter) - self._grid.scroll_to_cell(path) self._grid.queue_draw() # once our update went fine, we can queue the next one. This avoids