[sysprof] window: title should be set on headerbar



commit d4ab108786f07871dd75393d427b1ec3bdc9678c
Author: Christian Hergert <christian hergert me>
Date:   Fri Apr 15 17:51:32 2016 -0700

    window: title should be set on headerbar
    
    When set on the window, we seem to lose the value when inserting the
    headerbar, resulting in the title being "sysprof" (binary name) according
    to the shell. Setting this on the headerbar seems to fix that.

 src/resources/ui/sp-window.ui |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/resources/ui/sp-window.ui b/src/resources/ui/sp-window.ui
index 298c464..576637e 100644
--- a/src/resources/ui/sp-window.ui
+++ b/src/resources/ui/sp-window.ui
@@ -5,11 +5,11 @@
     <property name="default-width">1200</property>
     <property name="icon-name">sysprof</property>
     <property name="show-menubar">false</property>
-    <property name="title" translatable="yes">Sysprof</property>
     <child type="titlebar">
       <object class="GtkHeaderBar">
         <property name="show-close-button">true</property>
         <property name="visible">true</property>
+        <property name="title" translatable="yes">Sysprof</property>
         <child type="title">
           <object class="GtkBox">
             <property name="orientation">vertical</property>


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