Updating branch refs/heads/master
to 4a2e1714423640e27fb38d7c24b958d25271221e (commit)
from a93897233667a6109d6138bfbbed0743735fe19b (commit)
commit 4a2e1714423640e27fb38d7c24b958d25271221e
Author: André Stösel <[email protected]>
Date: Tue Nov 27 13:09:56 2012 +0100
don't change the focused tab if the closed tab isn't focused one
extensions/history-list.vala | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/extensions/history-list.vala b/extensions/history-list.vala
index ea094a2..ee01cf4 100644
--- a/extensions/history-list.vala
+++ b/extensions/history-list.vala
@@ -505,6 +505,11 @@ namespace HistoryList {
list.remove (view);
list_new.remove (view);
+ Midori.View? current_view = browser.tab as Midori.View;
+
+ if (current_view != view)
+ return;
+
if (this.closing_behavior == TabClosingBehavior.LAST ||
this.closing_behavior == TabClosingBehavior.NEW) {
browser.set_data<Midori.View?> ("history-list-last-change",
null);
_______________________________________________
Xfce4-commits mailing list
[email protected]
https://mail.xfce.org/mailman/listinfo/xfce4-commits