[Xfce4-commits] [xfce/xfce4-session] 01/01: Settings: Small spacing and positioning improvements

noreply at xfce.org noreply at xfce.org
Sun Sep 2 21:40:36 CEST 2018


This is an automated email from the git hooks/post-receive script.

b   l   u   e   s   a   b   r   e       p   u   s   h   e   d       a       c   o   m   m   i   t       t   o       b   r   a   n   c   h       m   a   s   t   e   r   
   in repository xfce/xfce4-session.

commit 45216fd398bb72541c5f00b0d51599c1965c0ce8
Author: Sean Davis <smd.seandavis at gmail.com>
Date:   Sun Sep 2 15:40:30 2018 -0400

    Settings: Small spacing and positioning improvements
---
 settings/xfae-window.c             |  4 ++--
 settings/xfce4-session-settings.ui | 42 ++++++++++++++++++--------------------
 2 files changed, 22 insertions(+), 24 deletions(-)

diff --git a/settings/xfae-window.c b/settings/xfae-window.c
index 65c73ef..ed0b3a1 100644
--- a/settings/xfae-window.c
+++ b/settings/xfae-window.c
@@ -97,11 +97,11 @@ xfae_window_init (XfaeWindow *window)
   img = gtk_image_new_from_icon_name ("dialog-information", GTK_ICON_SIZE_DIALOG);
   gtk_box_pack_start (GTK_BOX (hbox), img, FALSE, FALSE, 0);
   gtk_widget_set_halign (GTK_WIDGET (img), GTK_ALIGN_CENTER);
-  gtk_widget_set_valign (GTK_WIDGET (img), GTK_ALIGN_CENTER);
+  gtk_widget_set_valign (GTK_WIDGET (img), GTK_ALIGN_START);
   gtk_widget_show (img);
 
   label = g_object_new (GTK_TYPE_LABEL,
-                        "justify", GTK_JUSTIFY_FILL,
+                        "justify", GTK_JUSTIFY_LEFT,
                         "label", _("Below is the list of applications that will be started "
                                    "automatically when you login to your Xfce desktop, "
                                    "in addition to the applications that were saved when "
diff --git a/settings/xfce4-session-settings.ui b/settings/xfce4-session-settings.ui
index 765ab4a..f33536c 100644
--- a/settings/xfce4-session-settings.ui
+++ b/settings/xfce4-session-settings.ui
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<!-- Generated with glade 3.18.3 -->
+<!-- Generated with glade 3.22.1 -->
 <interface>
   <requires lib="gtk+" version="3.12"/>
   <requires lib="libxfce4ui-2" version="4.12"/>
@@ -70,7 +70,7 @@
                 <property name="can_focus">False</property>
                 <property name="border_width">12</property>
                 <property name="orientation">vertical</property>
-                <property name="spacing">6</property>
+                <property name="spacing">18</property>
                 <child>
                   <object class="GtkFrame" id="frame1">
                     <property name="visible">True</property>
@@ -82,7 +82,6 @@
                         <property name="visible">True</property>
                         <property name="can_focus">False</property>
                         <property name="top_padding">6</property>
-                        <property name="bottom_padding">6</property>
                         <property name="left_padding">12</property>
                         <child>
                           <object class="GtkCheckButton" id="chk_display_chooser">
@@ -125,7 +124,6 @@
                         <property name="visible">True</property>
                         <property name="can_focus">False</property>
                         <property name="top_padding">6</property>
-                        <property name="bottom_padding">6</property>
                         <property name="left_padding">12</property>
                         <child>
                           <object class="GtkBox" id="vbox2">
@@ -536,6 +534,7 @@
                   <object class="GtkBox" id="hbox10">
                     <property name="visible">True</property>
                     <property name="can_focus">False</property>
+                    <property name="valign">start</property>
                     <property name="spacing">12</property>
                     <child>
                       <object class="GtkImage" id="image10">
@@ -599,23 +598,22 @@
                     <property name="can_focus">False</property>
                     <property name="spacing">6</property>
                     <child>
-                      <object class="GtkButton" id="btn_clear_sessions">
+                      <object class="GtkButton" id="btn_save_session">
                         <property name="use_action_appearance">False</property>
                         <property name="visible">True</property>
                         <property name="can_focus">True</property>
                         <property name="receives_default">True</property>
-                        <property name="tooltip_text" translatable="yes">Empty the session cache</property>
                         <child>
-                          <object class="GtkBox" id="hbox9">
+                          <object class="GtkBox" id="hbox5">
                             <property name="visible">True</property>
                             <property name="can_focus">False</property>
                             <property name="spacing">4</property>
                             <child>
-                              <object class="GtkImage" id="image7">
+                              <object class="GtkImage" id="image4">
                                 <property name="visible">True</property>
                                 <property name="can_focus">False</property>
                                 <property name="xalign">1</property>
-                                <property name="stock">gtk-clear</property>
+                                <property name="stock">gtk-save</property>
                               </object>
                               <packing>
                                 <property name="expand">True</property>
@@ -624,10 +622,10 @@
                               </packing>
                             </child>
                             <child>
-                              <object class="GtkLabel" id="label24">
+                              <object class="GtkLabel" id="label5">
                                 <property name="visible">True</property>
                                 <property name="can_focus">False</property>
-                                <property name="label" translatable="yes">Clear save_d sessions</property>
+                                <property name="label" translatable="yes">Save Sess_ion</property>
                                 <property name="use_underline">True</property>
                                 <property name="xalign">0</property>
                               </object>
@@ -647,22 +645,23 @@
                       </packing>
                     </child>
                     <child>
-                      <object class="GtkButton" id="btn_save_session">
+                      <object class="GtkButton" id="btn_clear_sessions">
                         <property name="use_action_appearance">False</property>
                         <property name="visible">True</property>
                         <property name="can_focus">True</property>
                         <property name="receives_default">True</property>
+                        <property name="tooltip_text" translatable="yes">Empty the session cache</property>
                         <child>
-                          <object class="GtkBox" id="hbox5">
+                          <object class="GtkBox" id="hbox9">
                             <property name="visible">True</property>
                             <property name="can_focus">False</property>
                             <property name="spacing">4</property>
                             <child>
-                              <object class="GtkImage" id="image4">
+                              <object class="GtkImage" id="image7">
                                 <property name="visible">True</property>
                                 <property name="can_focus">False</property>
                                 <property name="xalign">1</property>
-                                <property name="stock">gtk-save</property>
+                                <property name="stock">gtk-clear</property>
                               </object>
                               <packing>
                                 <property name="expand">True</property>
@@ -671,10 +670,10 @@
                               </packing>
                             </child>
                             <child>
-                              <object class="GtkLabel" id="label5">
+                              <object class="GtkLabel" id="label24">
                                 <property name="visible">True</property>
                                 <property name="can_focus">False</property>
-                                <property name="label" translatable="yes">Save Sess_ion</property>
+                                <property name="label" translatable="yes">Clear save_d sessions</property>
                                 <property name="use_underline">True</property>
                                 <property name="xalign">0</property>
                               </object>
@@ -773,7 +772,7 @@
                 <property name="can_focus">False</property>
                 <property name="border_width">12</property>
                 <property name="orientation">vertical</property>
-                <property name="spacing">6</property>
+                <property name="spacing">18</property>
                 <child>
                   <object class="GtkFrame" id="frame3">
                     <property name="visible">True</property>
@@ -785,7 +784,6 @@
                         <property name="visible">True</property>
                         <property name="can_focus">False</property>
                         <property name="top_padding">6</property>
-                        <property name="bottom_padding">6</property>
                         <property name="left_padding">12</property>
                         <child>
                           <object class="GtkBox" id="vbox4">
@@ -859,7 +857,6 @@
                         <property name="visible">True</property>
                         <property name="can_focus">False</property>
                         <property name="top_padding">6</property>
-                        <property name="bottom_padding">6</property>
                         <property name="left_padding">12</property>
                         <child>
                           <object class="GtkCheckButton" id="chk_enable_tcp">
@@ -902,7 +899,6 @@
                         <property name="visible">True</property>
                         <property name="can_focus">False</property>
                         <property name="top_padding">6</property>
-                        <property name="bottom_padding">6</property>
                         <property name="left_padding">12</property>
                         <child>
                           <object class="GtkCheckButton" id="chk_lock_screen">
@@ -977,6 +973,9 @@
     <property name="skip_taskbar_hint">True</property>
     <property name="skip_pager_hint">True</property>
     <property name="transient_for">xfce4_session_settings_dialog</property>
+    <child>
+      <placeholder/>
+    </child>
     <child internal-child="vbox">
       <object class="GtkBox" id="dialog-vbox2">
         <property name="visible">True</property>
@@ -1040,7 +1039,6 @@
                     <property name="visible">True</property>
                     <property name="can_focus">False</property>
                     <property name="label" translatable="yes">Your session is being saved.  If you do not wish to wait, you may close this window.</property>
-                    <property name="justify">fill</property>
                     <property name="wrap">True</property>
                     <property name="xalign">0</property>
                   </object>

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Xfce4-commits mailing list