[gtk+] widget-factory: Add a selectable label



commit 0331dc984b6d7af048a92cd09fa94525fe3abaef
Author: Matthias Clasen <mclasen redhat com>
Date:   Fri Jul 11 22:23:07 2014 -0400

    widget-factory: Add a selectable label
    
    We already have selectable labels in some of the dialogs,
    but this is more direct, and also shows links in labels.

 demos/widget-factory/widget-factory.ui |   12 +++++++++++-
 1 files changed, 11 insertions(+), 1 deletions(-)
---
diff --git a/demos/widget-factory/widget-factory.ui b/demos/widget-factory/widget-factory.ui
index d044df4..8731689 100644
--- a/demos/widget-factory/widget-factory.ui
+++ b/demos/widget-factory/widget-factory.ui
@@ -2812,6 +2812,7 @@ Suspendisse feugiat quam quis dolor accumsan cursus. </property>
               <object class="GtkBox">
                 <property name="visible">True</property>
                 <property name="orientation">vertical</property>
+                <property name="margin">10</property>
                 <child>
                   <object class="GtkScrolledWindow">
                     <property name="visible">True</property>
@@ -2820,7 +2821,6 @@ Suspendisse feugiat quam quis dolor accumsan cursus. </property>
                     <property name="height-request">300</property>
                     <property name="halign">start</property>
                     <property name="shadow-type">in</property>
-                    <property name="margin">10</property>
                     <child>
                       <object class="GtkTreeView" id="charletree">
                         <property name="visible">True</property>
@@ -2875,6 +2875,16 @@ Suspendisse feugiat quam quis dolor accumsan cursus. </property>
                   </object>
                 </child>
                 <child>
+                  <object class="GtkLabel">
+                    <property name="visible">True</property>
+                    <property name="selectable">True</property>
+                    <property name="halign">start</property>
+                    <property name="margin-top">6</property>
+                    <property name="use-markup">True</property>
+                    <property name="label" translatable="True"><![CDATA[<small>Data source: <a 
href="http://en.wikipedia.org/wiki/Charlemagne#Ancestry";>Wikipedia</a></small>]]></property>
+                  </object>
+                </child>
+                <child>
                   <object class="GtkSpinner">
                     <property name="visible">True</property>
                     <property name="active">True</property>


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