[gnome-disk-utility] Add window title to Change Filesystem Label dialog



commit 628fa673c1d0a6d4388d3b5ca63d43d5439514d3
Author: David Zeuthen <zeuthen gmail com>
Date:   Tue Sep 11 18:54:25 2012 -0400

    Add window title to Change Filesystem Label dialog
    
    In GNOME 3.6 the window manager now displays window titles even if the
    dialog is transient for its parent window (In GNOME 3.0 through 3.4
    the WM displayed the window as a sheet - e.g. without the window
    title). As no name has been set for the window, the window manager now
    simply shows "gnome-disks" which is not very friendly. The fix is
    simply to give the window a meaningful title.
    
    Also remove the GtkLabel saying "Change Filesystem Label" since this
    is now redundant with the window title
    
    Note that this commit does not break string freeze since it re-uses
    existing strings.
    
    Signed-off-by: David Zeuthen <zeuthen gmail com>

 data/ui/edit-filesystem-dialog.ui |   26 +++++---------------------
 1 files changed, 5 insertions(+), 21 deletions(-)
---
diff --git a/data/ui/edit-filesystem-dialog.ui b/data/ui/edit-filesystem-dialog.ui
index 2df2fb4..87e4821 100644
--- a/data/ui/edit-filesystem-dialog.ui
+++ b/data/ui/edit-filesystem-dialog.ui
@@ -4,6 +4,7 @@
   <object class="GtkDialog" id="change-filesystem-label-dialog">
     <property name="can_focus">False</property>
     <property name="border_width">12</property>
+    <property name="title" translatable="yes">Change Filesystem Label</property>
     <property name="resizable">False</property>
     <property name="modal">True</property>
     <property name="destroy_with_parent">True</property>
@@ -14,23 +15,6 @@
         <property name="can_focus">False</property>
         <property name="orientation">vertical</property>
         <property name="spacing">12</property>
-        <child>
-          <object class="GtkLabel" id="label6">
-            <property name="visible">True</property>
-            <property name="can_focus">False</property>
-            <property name="xalign">0</property>
-            <property name="label" translatable="yes">Change Filesystem Label</property>
-            <property name="use_markup">True</property>
-            <attributes>
-              <attribute name="scale" value="1.2"/>
-            </attributes>
-          </object>
-          <packing>
-            <property name="expand">False</property>
-            <property name="fill">True</property>
-            <property name="position">0</property>
-          </packing>
-        </child>
         <child internal-child="action_area">
           <object class="GtkButtonBox" id="dialog-action_area4">
             <property name="visible">True</property>
@@ -39,6 +23,7 @@
             <child>
               <object class="GtkButton" id="button3">
                 <property name="label">gtk-cancel</property>
+                <property name="use_action_appearance">False</property>
                 <property name="visible">True</property>
                 <property name="can_focus">True</property>
                 <property name="receives_default">True</property>
@@ -54,6 +39,7 @@
             <child>
               <object class="GtkButton" id="button4">
                 <property name="label" translatable="yes">C_hange</property>
+                <property name="use_action_appearance">False</property>
                 <property name="visible">True</property>
                 <property name="can_focus">True</property>
                 <property name="can_default">True</property>
@@ -89,9 +75,7 @@
                 <property name="label" translatable="yes">_Label</property>
                 <property name="use_underline">True</property>
                 <property name="mnemonic_widget">change-filesystem-label-entry</property>
-                <style>
-                  <class name="dim-label"/>
-                </style>
+                <style><class name="dim-label"/></style>
               </object>
               <packing>
                 <property name="left_attach">0</property>
@@ -118,7 +102,7 @@
           <packing>
             <property name="expand">False</property>
             <property name="fill">True</property>
-            <property name="position">2</property>
+            <property name="position">1</property>
           </packing>
         </child>
       </object>



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