Philipp Hörist pushed to branch master at gajim / gajim
Commits:
-
0dce40bb
by Tomasz Miąsko at 2017-01-24T15:29:15+01:00
-
d2cfa9bb
by Philipp Hörist at 2017-01-24T16:24:32+01:00
1 changed file:
Changes:
| ... | ... | @@ -622,10 +622,9 @@ class HistoryWindow: |
| 622 | 622 |
match_end_iter.forward_line() # highlight all message not just time
|
| 623 | 623 |
self.history_buffer.apply_tag_by_name('highlight', match_start_iter,
|
| 624 | 624 |
match_end_iter)
|
| 625 |
- |
|
| 626 |
- match_start_mark = self.history_buffer.create_mark('match_start',
|
|
| 627 |
- match_start_iter, True)
|
|
| 628 |
- self.history_textview.tv.scroll_to_mark(match_start_mark, 0, True)
|
|
| 625 |
+ mark = self.history_buffer.create_mark('match', match_start_iter, True)
|
|
| 626 |
+ GLib.idle_add(self.history_textview.tv.scroll_to_mark, mark,
|
|
| 627 |
+ 0, True, 0.0, 0.5)
|
|
| 629 | 628 |
|
| 630 | 629 |
def on_log_history_checkbutton_toggled(self, widget):
|
| 631 | 630 |
# log conversation history?
|