[glade/glade-3-20] GladeGtkHeaderBar: mark title and subtitle as translatable



commit a064bedb8a0f531097df378d30ce4bab0bd54730
Author: Juan Pablo Ugarte <juanpablougarte gmail com>
Date:   Sat Mar 24 13:25:05 2018 -0300

    GladeGtkHeaderBar: mark title and subtitle as translatable
    
    Fix bug #782753 "Glade does not allow ApplicationWindow's title to be marked as translatable"

 plugins/gtk+/gtk+.xml.in |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/plugins/gtk+/gtk+.xml.in b/plugins/gtk+/gtk+.xml.in
index ebb57f9..bd8ba66 100644
--- a/plugins/gtk+/gtk+.xml.in
+++ b/plugins/gtk+/gtk+.xml.in
@@ -2494,8 +2494,8 @@
       <create-editable-function>glade_gtk_header_bar_create_editable</create-editable-function>
       <special-child-type>type</special-child-type>
       <properties>
-       <property id="title" custom-layout="True"/>
-       <property id="subtitle" custom-layout="True"/>
+       <property id="title" custom-layout="True" translatable="True"/>
+       <property id="subtitle" custom-layout="True" translatable="True"/>
        <property id="has-subtitle" _name="Reserve space for subtitle" custom-layout="True">
           <_tooltip>Keep the headerbar height the same as the subtitle changes dynamically.</_tooltip>
         </property>


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