aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/bookmarks/ephy-bookmarks-editor.c11
-rw-r--r--src/ephy-history-window.c9
2 files changed, 15 insertions, 5 deletions
diff --git a/src/bookmarks/ephy-bookmarks-editor.c b/src/bookmarks/ephy-bookmarks-editor.c
index db24028ad..5ad6f0b9b 100644
--- a/src/bookmarks/ephy-bookmarks-editor.c
+++ b/src/bookmarks/ephy-bookmarks-editor.c
@@ -1937,12 +1937,19 @@ ephy_bookmarks_editor_construct (EphyBookmarksEditor *editor)
(EPHY_NODE_VIEW (bm_view), _("Title"),
G_TYPE_STRING, EPHY_NODE_BMK_PROP_TITLE,
EPHY_NODE_VIEW_EDITABLE |
- EPHY_NODE_VIEW_SEARCHABLE,
+ EPHY_NODE_VIEW_SEARCHABLE |
+ EPHY_NODE_VIEW_SORTABLE,
provide_favicon, &(editor->priv->title_col));
+ gtk_tree_view_column_set_min_width (editor->priv->title_col, 300);
+ gtk_tree_view_column_set_resizable (editor->priv->title_col, TRUE);
+
url_col_id = ephy_node_view_add_column
(EPHY_NODE_VIEW (bm_view), _("Address"),
G_TYPE_STRING, EPHY_NODE_BMK_PROP_LOCATION,
- 0, NULL, &(editor->priv->address_col));
+ EPHY_NODE_VIEW_SORTABLE, NULL, &(editor->priv->address_col));
+ gtk_tree_view_column_set_min_width (editor->priv->address_col, 300);
+ gtk_tree_view_column_set_resizable (editor->priv->address_col, TRUE);
+
ephy_node_view_enable_drag_source (EPHY_NODE_VIEW (bm_view),
bmk_drag_types,
G_N_ELEMENTS (bmk_drag_types),
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);