[Xfce4-commits] <midori:master> Only show the completion after resizing it properly

Christian Dywan noreply at xfce.org
Mon Jan 25 22:12:01 CET 2010


Updating branch refs/heads/master
         to 5fa82189fa7f70cb3423d9a59ff373992914f82b (commit)
       from 3bcd5700e1c9daac689526e018bfcff083823130 (commit)

commit 5fa82189fa7f70cb3423d9a59ff373992914f82b
Author: Alexander Butenko <a.butenka at gmail.com>
Date:   Mon Jan 25 22:10:39 2010 +0100

    Only show the completion after resizing it properly
    
    Showing the completion early on will result in ugly flickering,
    curiously not with xfwm4.

 midori/midori-locationaction.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/midori/midori-locationaction.c b/midori/midori-locationaction.c
index 4a2577a..aa6bfbb 100644
--- a/midori/midori-locationaction.c
+++ b/midori/midori-locationaction.c
@@ -452,7 +452,6 @@ midori_location_action_popup_timeout_cb (gpointer data)
                                gtk_widget_get_screen (action->entry));
         gtk_window_set_transient_for (GTK_WINDOW (action->popup), GTK_WINDOW (toplevel));
         gtk_tree_view_columns_autosize (GTK_TREE_VIEW (action->treeview));
-        gtk_widget_show_all (action->popup);
     }
 
     column = gtk_tree_view_get_column (GTK_TREE_VIEW (action->treeview), 0);
@@ -463,6 +462,7 @@ midori_location_action_popup_timeout_cb (gpointer data)
     height = MIN (matches * height, screen_height / 1.5);
     gtk_widget_set_size_request (action->treeview, -1, height);
     midori_location_action_popup_position (action->popup, action->entry);
+    gtk_widget_show_all (action->popup);
 
     return FALSE;
 }



More information about the Xfce4-commits mailing list