diff options
author | Cosimo Cecchi <cosimoc@src.gnome.org> | 2007-11-19 07:51:54 +0800 |
---|---|---|
committer | Cosimo Cecchi <cosimoc@src.gnome.org> | 2007-11-19 07:51:54 +0800 |
commit | 017dbb24e54f1afe065543ab1d6de5ea9a698be2 (patch) | |
tree | 43117cb5e527da471397b0e56f1fa3b09e5d7b2d /src/ephy-history-window.c | |
parent | d0b69001b4244546c0a2f3adf45bb0401b2d7454 (diff) | |
download | gsoc2013-epiphany-017dbb24e54f1afe065543ab1d6de5ea9a698be2.tar gsoc2013-epiphany-017dbb24e54f1afe065543ab1d6de5ea9a698be2.tar.gz gsoc2013-epiphany-017dbb24e54f1afe065543ab1d6de5ea9a698be2.tar.bz2 gsoc2013-epiphany-017dbb24e54f1afe065543ab1d6de5ea9a698be2.tar.lz gsoc2013-epiphany-017dbb24e54f1afe065543ab1d6de5ea9a698be2.tar.xz gsoc2013-epiphany-017dbb24e54f1afe065543ab1d6de5ea9a698be2.tar.zst gsoc2013-epiphany-017dbb24e54f1afe065543ab1d6de5ea9a698be2.zip |
Fix a bug in EphyNodeView which caused weird problems when setting columns
as resizable; thanks to Kristian Rietveld for finding out the cause.
Make history window columns resizable and bookmarks editor columns resizable
and sortable. Part of bug #132808.
svn path=/trunk/; revision=7718
Diffstat (limited to 'src/ephy-history-window.c')
-rw-r--r-- | src/ephy-history-window.c | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/src/ephy-history-window.c b/src/ephy-history-window.c index f696cd5c7..5d1de5840 100644 --- a/src/ephy-history-window.c +++ b/src/ephy-history-window.c @@ -1432,17 +1432,20 @@ ephy_history_window_construct (EphyHistoryWindow *editor) G_TYPE_STRING, EPHY_NODE_PAGE_PROP_TITLE, EPHY_NODE_VIEW_SORTABLE | EPHY_NODE_VIEW_SEARCHABLE, NULL, &col); - gtk_tree_view_column_set_max_width (col, 250); + gtk_tree_view_column_set_min_width (col, 300); + gtk_tree_view_column_set_resizable (col, TRUE); editor->priv->title_col = col; + url_col_id = ephy_node_view_add_column (EPHY_NODE_VIEW (pages_view), _("Address"), G_TYPE_STRING, EPHY_NODE_PAGE_PROP_LOCATION, EPHY_NODE_VIEW_SORTABLE, NULL, &col); - gtk_tree_view_column_set_max_width (col, 200); + gtk_tree_view_column_set_min_width (col, 300); + gtk_tree_view_column_set_resizable (col, TRUE); editor->priv->address_col = col; + datetime_col_id = ephy_node_view_add_column (EPHY_NODE_VIEW (pages_view), _("Date"), G_TYPE_INT, EPHY_NODE_PAGE_PROP_LAST_VISIT, EPHY_NODE_VIEW_SORTABLE, NULL, &col); - gtk_tree_view_column_set_max_width (col, 200); editor->priv->datetime_col = col; parse_time_into_date (editor->priv->datetime_col, datetime_col_id); |