aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarco Pesenti Gritti <marco@gnome.org>2004-02-12 00:30:18 +0800
committerMarco Pesenti Gritti <marco@src.gnome.org>2004-02-12 00:30:18 +0800
commitb01c2dbd6cc45d35379da3636e04b99cf4cadbe1 (patch)
tree75bbaeeae4ba0da1693e03201dbc7b73798cc439
parent93ed50eeef1f577d596e48a26bf583119bb55b0e (diff)
downloadgsoc2013-epiphany-b01c2dbd6cc45d35379da3636e04b99cf4cadbe1.tar
gsoc2013-epiphany-b01c2dbd6cc45d35379da3636e04b99cf4cadbe1.tar.gz
gsoc2013-epiphany-b01c2dbd6cc45d35379da3636e04b99cf4cadbe1.tar.bz2
gsoc2013-epiphany-b01c2dbd6cc45d35379da3636e04b99cf4cadbe1.tar.lz
gsoc2013-epiphany-b01c2dbd6cc45d35379da3636e04b99cf4cadbe1.tar.xz
gsoc2013-epiphany-b01c2dbd6cc45d35379da3636e04b99cf4cadbe1.tar.zst
gsoc2013-epiphany-b01c2dbd6cc45d35379da3636e04b99cf4cadbe1.zip
Make columns resizable
2004-02-11 Marco Pesenti Gritti <marco@gnome.org> * embed/downloader-view.c: (downloader_view_build_ui): Make columns resizable
-rw-r--r--ChangeLog6
-rw-r--r--embed/downloader-view.c7
2 files changed, 9 insertions, 4 deletions
diff --git a/ChangeLog b/ChangeLog
index b262a8bfc..66099c179 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,11 @@
2004-02-11 Marco Pesenti Gritti <marco@gnome.org>
+ * embed/downloader-view.c: (downloader_view_build_ui):
+
+ Make columns resizable
+
+2004-02-11 Marco Pesenti Gritti <marco@gnome.org>
+
* src/ephy-tab.c: (open_link_in_new_tab),
(ephy_tab_dom_mouse_click_cb):
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),