[meld] Always focus tabs opened from recent-files actions
- From: Kai Willadsen <kaiw src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [meld] Always focus tabs opened from recent-files actions
- Date: Sat, 27 Apr 2013 20:23:19 +0000 (UTC)
commit 7530e12378ef3825d1d6979ea8ff6df26fc7b8c1
Author: Kai Willadsen <kai willadsen gmail com>
Date: Sun Apr 28 06:22:21 2013 +1000
Always focus tabs opened from recent-files actions
meld/meldwindow.py | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/meld/meldwindow.py b/meld/meldwindow.py
index 45d2c8d..bfe8153 100644
--- a/meld/meldwindow.py
+++ b/meld/meldwindow.py
@@ -758,6 +758,7 @@ class MeldWindow(gnomeglade.Component):
tab = self.append_vcview(files[0])
else: # comparison_type == recent.TYPE_FILE:
tab = self.append_filediff(files)
+ self.notebook.set_current_page(self.notebook.page_num(tab.widget))
app.recent_comparisons.add(tab)
return tab
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]