Expand text column of the addons panel
This commit is contained in:
parent
49da17badd
commit
dd90c2b65b
2 changed files with 1 additions and 1 deletions
|
@ -1325,6 +1325,7 @@ addons_init (Addons* addons)
|
||||||
G_CALLBACK (addons_cell_renderer_toggled_cb), addons);
|
G_CALLBACK (addons_cell_renderer_toggled_cb), addons);
|
||||||
gtk_tree_view_append_column (GTK_TREE_VIEW (addons->treeview), column);
|
gtk_tree_view_append_column (GTK_TREE_VIEW (addons->treeview), column);
|
||||||
column = gtk_tree_view_column_new ();
|
column = gtk_tree_view_column_new ();
|
||||||
|
gtk_tree_view_column_set_expand (column, TRUE);
|
||||||
renderer_text = gtk_cell_renderer_text_new ();
|
renderer_text = gtk_cell_renderer_text_new ();
|
||||||
gtk_tree_view_column_pack_start (column, renderer_text, FALSE);
|
gtk_tree_view_column_pack_start (column, renderer_text, FALSE);
|
||||||
gtk_tree_view_column_set_cell_data_func (column, renderer_text,
|
gtk_tree_view_column_set_cell_data_func (column, renderer_text,
|
||||||
|
|
|
@ -497,7 +497,6 @@ midori_transfers_init (MidoriTransfers* transfers)
|
||||||
gtk_tree_view_set_headers_visible (GTK_TREE_VIEW (transfers->treeview), FALSE);
|
gtk_tree_view_set_headers_visible (GTK_TREE_VIEW (transfers->treeview), FALSE);
|
||||||
column = gtk_tree_view_column_new ();
|
column = gtk_tree_view_column_new ();
|
||||||
gtk_tree_view_column_set_expand (column, TRUE);
|
gtk_tree_view_column_set_expand (column, TRUE);
|
||||||
gtk_tree_view_column_set_sizing (column, GTK_TREE_VIEW_COLUMN_AUTOSIZE);
|
|
||||||
renderer_pixbuf = gtk_cell_renderer_pixbuf_new ();
|
renderer_pixbuf = gtk_cell_renderer_pixbuf_new ();
|
||||||
gtk_tree_view_column_pack_start (column, renderer_pixbuf, FALSE);
|
gtk_tree_view_column_pack_start (column, renderer_pixbuf, FALSE);
|
||||||
gtk_tree_view_column_set_cell_data_func (column, renderer_pixbuf,
|
gtk_tree_view_column_set_cell_data_func (column, renderer_pixbuf,
|
||||||
|
|
Loading…
Reference in a new issue