[gitg] Don't open WebKit inspector at the start



commit 4622d83a289b92b34ffa1bdd6b5f7a250b404f9c
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 717d2e3..47a5818 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]