projects
/
vimb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a110c27
)
Fixed wrong default treeView height on gtk3.
author
Daniel Carl
<danielcarl@gmx.de>
Tue, 15 Apr 2014 20:24:33 +0000
(22:24 +0200)
committer
Daniel Carl
<danielcarl@gmx.de>
Tue, 15 Apr 2014 20:24:33 +0000
(22:24 +0200)
src/completion.c
patch
|
blob
|
history
diff --git
a/src/completion.c
b/src/completion.c
index
d01207b
..
548e26d
100644
(file)
--- a/
src/completion.c
+++ b/
src/completion.c
@@
-125,6
+125,9
@@
gboolean completion_create(GtkTreeModel *model, CompletionSelectFunc selfunc,
gtk_tree_view_column_add_attribute(column, renderer, "text", COMPLETION_STORE_SECOND);
#endif
+ /* to set the height for the treeview the tree must be realized first */
+ gtk_widget_show_all(comp.tree);
+
/* this prevents the first item to be placed out of view if the completion
* is shown */
while (gtk_events_pending()) {