aboutsummaryrefslogtreecommitdiffstats
path: root/embed/downloader-view.c
diff options
context:
space:
mode:
Diffstat (limited to 'embed/downloader-view.c')
-rw-r--r--embed/downloader-view.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/embed/downloader-view.c b/embed/downloader-view.c
index e1acc2c76..62549f09d 100644
--- a/embed/downloader-view.c
+++ b/embed/downloader-view.c
@@ -425,7 +425,6 @@ downloader_view_build_ui (DownloaderView *dv)
GtkListStore *liststore;
GtkTreeViewColumn *column;
GtkCellRenderer *renderer;
- GtkTreeSelection *selection;
GdkPixbuf *icon;
EphyDialog *d = EPHY_DIALOG (dv);
@@ -464,6 +463,7 @@ downloader_view_build_ui (DownloaderView *dv)
NULL);
column = gtk_tree_view_get_column (GTK_TREE_VIEW(priv->treeview), 0);
gtk_tree_view_column_set_reorderable (column, TRUE);
+ gtk_tree_view_column_set_resizable (column, TRUE);
gtk_tree_view_column_set_sort_column_id (column, COL_PERCENT);
renderer = gtk_cell_renderer_text_new ();
@@ -476,6 +476,7 @@ downloader_view_build_ui (DownloaderView *dv)
COL_FILE);
gtk_tree_view_column_set_expand (column, TRUE);
gtk_tree_view_column_set_reorderable (column, TRUE);
+ gtk_tree_view_column_set_resizable (column, TRUE);
gtk_tree_view_column_set_sort_column_id (column, COL_FILE);
renderer = gtk_cell_renderer_text_new ();
@@ -488,11 +489,9 @@ downloader_view_build_ui (DownloaderView *dv)
column = gtk_tree_view_get_column (GTK_TREE_VIEW(priv->treeview),
COL_REMAINING);
gtk_tree_view_column_set_reorderable (column, TRUE);
+ gtk_tree_view_column_set_resizable (column, TRUE);
gtk_tree_view_column_set_sort_column_id (column, COL_REMAINING);
- selection = gtk_tree_view_get_selection (GTK_TREE_VIEW(priv->treeview));
- gtk_tree_selection_set_mode (selection, GTK_SELECTION_SINGLE);
-
priv->model = GTK_TREE_MODEL (liststore);
icon = gtk_widget_render_icon (GTK_WIDGET (priv->window),