aboutsummaryrefslogtreecommitdiffstats
path: root/src/ephy-history-window.c
diff options
context:
space:
mode:
authorCosimo Cecchi <cosimoc@src.gnome.org>2007-11-19 07:53:16 +0800
committerCosimo Cecchi <cosimoc@src.gnome.org>2007-11-19 07:53:16 +0800
commit251fa13144d46959620edfcac81f968281dafff5 (patch)
tree2ab99d65909e468fcc23feef39d67f33a9229cef /src/ephy-history-window.c
parent017dbb24e54f1afe065543ab1d6de5ea9a698be2 (diff)
downloadgsoc2013-epiphany-251fa13144d46959620edfcac81f968281dafff5.tar
gsoc2013-epiphany-251fa13144d46959620edfcac81f968281dafff5.tar.gz
gsoc2013-epiphany-251fa13144d46959620edfcac81f968281dafff5.tar.bz2
gsoc2013-epiphany-251fa13144d46959620edfcac81f968281dafff5.tar.lz
gsoc2013-epiphany-251fa13144d46959620edfcac81f968281dafff5.tar.xz
gsoc2013-epiphany-251fa13144d46959620edfcac81f968281dafff5.tar.zst
gsoc2013-epiphany-251fa13144d46959620edfcac81f968281dafff5.zip
Adds a EPHY_NODE_VIEW_ELLIPSIZED flag and make history window and
bookmarks editor views use it to display address and title columns. Fix bug #132808. svn path=/trunk/; revision=7719
Diffstat (limited to 'src/ephy-history-window.c')
-rw-r--r--src/ephy-history-window.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/ephy-history-window.c b/src/ephy-history-window.c
index 5d1de5840..f535ee6ef 100644
--- a/src/ephy-history-window.c
+++ b/src/ephy-history-window.c
@@ -1431,14 +1431,16 @@ ephy_history_window_construct (EphyHistoryWindow *editor)
title_col_id = ephy_node_view_add_column (EPHY_NODE_VIEW (pages_view), _("Title"),
G_TYPE_STRING, EPHY_NODE_PAGE_PROP_TITLE,
EPHY_NODE_VIEW_SORTABLE |
- EPHY_NODE_VIEW_SEARCHABLE, NULL, &col);
+ EPHY_NODE_VIEW_SEARCHABLE |
+ EPHY_NODE_VIEW_ELLIPSIZED, NULL, &col);
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);
+ EPHY_NODE_VIEW_SORTABLE |
+ EPHY_NODE_VIEW_ELLIPSIZED, NULL, &col);
gtk_tree_view_column_set_min_width (col, 300);
gtk_tree_view_column_set_resizable (col, TRUE);
editor->priv->address_col = col;