[gnome-control-center] Revert "applications: Remove markup from a translatable string"



commit dfcc2ba83d82dea4b432ce9085804bd0590fc3c8
Author: Jeremy Bicha <jbicha ubuntu com>
Date:   Mon Jan 7 21:30:55 2019 -0500

    Revert "applications: Remove markup from a translatable string"
    
    This reverts commit d2c759fcae48495ba66c9538ef0c4bbb1330885f.
    
    The commit caused the Applications panel to crash with
    Unhandled tag: <attributes>
    
    Apparently CInfoRow doesn't know how to handle attributes.

 panels/applications/cc-applications-panel.ui | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)
---
diff --git a/panels/applications/cc-applications-panel.ui b/panels/applications/cc-applications-panel.ui
index 286aaf3b0..b4fbbfc79 100644
--- a/panels/applications/cc-applications-panel.ui
+++ b/panels/applications/cc-applications-panel.ui
@@ -499,11 +499,9 @@
             </child>
             <child>
               <object class="CcInfoRow" id="total">
-                <property name="title" translatable="yes">Total</property>
+                <property name="title" translatable="yes">&lt;b&gt;Total&lt;/b&gt;</property>
+                <property name="use-markup">1</property>
                 <property name="info">Unknown</property>
-                <attributes>
-                  <attribute name="weight" value="bold"/>
-                </attributes>
               </object>
             </child>
             <style>


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