[epiphany] Bring inspector window to front when the inspector requests a show



commit 36379fe3dd781ca3b99197749398ee12b0ecbc3c
Author: Gustavo Noronha Silva <gustavo noronha collabora co uk>
Date:   Mon Aug 9 19:29:58 2010 -0300

    Bring inspector window to front when the inspector requests a show
    
    Bug #626493

 embed/ephy-embed.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/embed/ephy-embed.c b/embed/ephy-embed.c
index f342df4..b60c13d 100644
--- a/embed/ephy-embed.c
+++ b/embed/ephy-embed.c
@@ -383,7 +383,7 @@ ephy_embed_inspect_show_cb (WebKitWebInspector *inspector,
                             EphyEmbed *embed)
 {
   if (!embed->priv->inspector_attached)
-    gtk_widget_show (embed->priv->inspector_window);
+    gtk_window_present (GTK_WINDOW (embed->priv->inspector_window));
 
   return TRUE;
 }



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