[epiphany/wip/titlebox: 3/4] title-box: Make URI subtitle selectable



commit 8378e292ee5b54a09655d83ece00eb6185bfed61
Author: Michael Catanzaro <mcatanzaro gnome org>
Date:   Sat Sep 10 20:59:19 2016 -0500

    title-box: Make URI subtitle selectable
    
    So you have some way to copy the URI in web app mode

 src/ephy-title-box.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/ephy-title-box.c b/src/ephy-title-box.c
index 70fd179..b38fdb6 100644
--- a/src/ephy-title-box.c
+++ b/src/ephy-title-box.c
@@ -189,6 +189,7 @@ ephy_title_box_add_title_bar (EphyTitleBox *title_box)
   gtk_label_set_line_wrap (GTK_LABEL (title_box->subtitle), FALSE);
   gtk_label_set_single_line_mode (GTK_LABEL (title_box->subtitle), TRUE);
   gtk_label_set_ellipsize (GTK_LABEL (title_box->subtitle), PANGO_ELLIPSIZE_END);
+  gtk_label_set_selectable (GTK_LABEL (title_box->subtitle), TRUE);
   gtk_box_pack_start (GTK_BOX (hbox), title_box->subtitle, FALSE, FALSE, 0);
 }
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]