[gitg/wip/techlivezh/fix-720726: 3/5] Don't open WebKit inspector at the start



commit 55f16a232667a98b7159781b8777e2f93bd1be41
Author: Techlive Zheng <techlivezheng gmail com>
Date:   Tue Dec 10 03:16:12 2013 +0800

    Don't open WebKit inspector at the start
    
    As we are using WebView in both history and commit activties, it is
    annoying to see two WebKit inspector windows open when Gitg starts.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=720726

 libgitg/gitg-diff-view.vala |    5 -----
 1 files changed, 0 insertions(+), 5 deletions(-)
---
diff --git a/libgitg/gitg-diff-view.vala b/libgitg/gitg-diff-view.vala
index bc09f02..e5f4502 100644
--- a/libgitg/gitg-diff-view.vala
+++ b/libgitg/gitg-diff-view.vala
@@ -238,11 +238,6 @@ namespace Gitg
                        if (dbg)
                        {
                                settings.enable_developer_extras = true;
-
-                               Timeout.add(500, () => {
-                                       get_inspector().show();
-                                       return false;
-                               });
                        }
 
                        settings.javascript_can_access_clipboard = true;


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]