[gssdp] sniffer: Center dialogs on main window



commit 45be3f1794e41da30db08660c9f281b428e5832c
Author: Jens Georg <jensg openismus com>
Date:   Tue Apr 16 12:54:44 2013 +0200

    sniffer: Center dialogs on main window

 tools/gssdp-device-sniffer.ui | 3 +++
 1 file changed, 3 insertions(+)
---
diff --git a/tools/gssdp-device-sniffer.ui b/tools/gssdp-device-sniffer.ui
index 2d95ced..8779a17 100644
--- a/tools/gssdp-device-sniffer.ui
+++ b/tools/gssdp-device-sniffer.ui
@@ -3,7 +3,9 @@
   <!-- interface-requires gtk+ 3.0 -->
   <object class="GtkAboutDialog" id="about-dialog">
     <property name="can_focus">False</property>
+    <property name="resizable">False</property>
     <property name="type_hint">normal</property>
+    <property name="transient_for">main-window</property>
     <property name="copyright" translatable="yes">Copyright (C) 2007 Zeeshan Ali (Khattak)</property>
     <property name="comments" translatable="yes">A Device Sniffer tool based on GSSDP framework.
 Inspired by Intel Tools for UPnP.</property>
@@ -36,6 +38,7 @@ Inspired by Intel Tools for UPnP.</property>
     <property name="title" translatable="yes">Address Filter</property>
     <property name="resizable">False</property>
     <property name="type_hint">dialog</property>
+    <property name="transient_for">main-window</property>
     <signal name="response" handler="on_address_filter_dialog_response" swapped="no"/>
     <child internal-child="vbox">
       <object class="GtkBox" id="dialog-vbox1">


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