[Xfce4-commits] <midori:master> Realize completion treeview early for the style
Christian Dywan
noreply at xfce.org
Thu Mar 8 01:12:07 CET 2012
Updating branch refs/heads/master
to 323177c429c39f9370a215720e69c161ef927996 (commit)
from f9aa8aed9cebb286cc215bb63e11163ae8e6bddc (commit)
commit 323177c429c39f9370a215720e69c161ef927996
Author: Christian Dywan <christian at twotoasts.de>
Date: Thu Mar 8 00:57:40 2012 +0100
Realize completion treeview early for the style
Fixes: https://bugs.launchpad.net/midori/+bug/947635
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 ea42789..6f218e0 100644
--- a/midori/midori-locationaction.c
+++ b/midori/midori-locationaction.c
@@ -319,7 +319,6 @@ midori_location_action_popup_position (MidoriLocationAction* action,
NULL, NULL, NULL, NULL, &height);
gtk_widget_style_get (action->treeview, "vertical-separator", &sep, NULL);
height += sep;
- gtk_widget_realize (action->treeview);
/* Constrain to screen/ window size */
screen = gtk_widget_get_screen (widget);
@@ -538,6 +537,7 @@ midori_location_action_popup_timeout_cb (gpointer data)
gtk_list_store_clear (store);
matches = searches = 0;
+ gtk_widget_realize (action->treeview);
style = gtk_widget_get_style (action->treeview);
while (result == SQLITE_ROW)
{
More information about the Xfce4-commits
mailing list