[Xfce4-commits] <parole:master> Make open location dialog modal

Christoph Mende noreply at xfce.org
Mon Jul 23 01:26:06 CEST 2012


Updating branch refs/heads/master
         to 5a286beea4069bf44b3a8642dbe6489f1af3878c (commit)
       from af21b9011e4b75b6ee1fef15504704381d564ab2 (commit)

commit 5a286beea4069bf44b3a8642dbe6489f1af3878c
Author: Simon Steinbeiss <ochosi at xfce.org>
Date:   Wed Jul 18 20:48:20 2012 +0200

    Make open location dialog modal

 data/interfaces/open-location.ui |   43 ++-----------------------------------
 1 files changed, 3 insertions(+), 40 deletions(-)

diff --git a/data/interfaces/open-location.ui b/data/interfaces/open-location.ui
index db2db36..31acb0e 100644
--- a/data/interfaces/open-location.ui
+++ b/data/interfaces/open-location.ui
@@ -2,43 +2,6 @@
 <interface>
   <requires lib="gtk+" version="2.24"/>
   <!-- interface-naming-policy project-wide -->
-  <object class="GtkDialog" id="dialog1">
-    <property name="can_focus">False</property>
-    <property name="border_width">5</property>
-    <property name="title">Open Location</property>
-    <property name="default_width">400</property>
-    <property name="default_height">300</property>
-    <property name="type_hint">normal</property>
-    <child internal-child="vbox">
-      <object class="GtkVBox" id="dialog-vbox2">
-        <property name="visible">True</property>
-        <property name="can_focus">False</property>
-        <property name="spacing">2</property>
-        <child internal-child="action_area">
-          <object class="GtkHButtonBox" id="dialog-action_area2">
-            <property name="visible">True</property>
-            <property name="can_focus">False</property>
-            <property name="layout_style">end</property>
-            <child>
-              <placeholder/>
-            </child>
-            <child>
-              <placeholder/>
-            </child>
-          </object>
-          <packing>
-            <property name="expand">False</property>
-            <property name="fill">True</property>
-            <property name="pack_type">end</property>
-            <property name="position">0</property>
-          </packing>
-        </child>
-        <child>
-          <placeholder/>
-        </child>
-      </object>
-    </child>
-  </object>
   <object class="GtkImage" id="image2">
     <property name="visible">True</property>
     <property name="can_focus">False</property>
@@ -52,8 +15,8 @@
   <object class="GtkDialog" id="open-location">
     <property name="can_focus">False</property>
     <property name="title" translatable="yes">Open Location</property>
-    <property name="default_width">400</property>
-    <property name="default_height">300</property>
+    <property name="modal">True</property>
+    <property name="default_width">300</property>
     <property name="icon_name">parole</property>
     <property name="type_hint">normal</property>
     <child internal-child="vbox">
@@ -112,7 +75,7 @@
             <property name="label" translatable="yes">Please enter a network URL:</property>
           </object>
           <packing>
-            <property name="expand">True</property>
+            <property name="expand">False</property>
             <property name="fill">True</property>
             <property name="position">1</property>
           </packing>


More information about the Xfce4-commits mailing list