[gnome-system-tools] Remove use of GtkDialog::has-separator



commit fd71c27ea097346d58a8dd5b5080a3e31f4163c4
Author: Milan Bouchet-Valat <nalimilan club fr>
Date:   Sat Dec 11 17:00:37 2010 +0100

    Remove use of GtkDialog::has-separator
    
    This property is deprecated. Remove it from .ui files and code.

 interfaces/network.ui            |    2 --
 interfaces/services.ui           |    1 -
 interfaces/shares.ui             |    3 ---
 interfaces/time.ui               |    2 --
 interfaces/users.ui              |    9 ---------
 src/common/gst-dialog.c          |    1 -
 src/common/gst-platform-dialog.c |    1 -
 src/network/locations-combo.c    |    2 +-
 8 files changed, 1 insertions(+), 20 deletions(-)
---
diff --git a/interfaces/network.ui b/interfaces/network.ui
index 20fba3c..e910e2e 100644
--- a/interfaces/network.ui
+++ b/interfaces/network.ui
@@ -644,7 +644,6 @@
     <property name="resizable">False</property>
     <property name="modal">True</property>
     <property name="type_hint">dialog</property>
-    <property name="has_separator">False</property>
     <child internal-child="vbox">
       <object class="GtkVBox" id="dialog-vbox3">
         <property name="visible">True</property>
@@ -1680,7 +1679,6 @@
     <property name="modal">True</property>
     <property name="window_position">center-on-parent</property>
     <property name="type_hint">dialog</property>
-    <property name="has_separator">False</property>
     <child internal-child="vbox">
       <object class="GtkVBox" id="dialog-vbox4">
         <property name="visible">True</property>
diff --git a/interfaces/services.ui b/interfaces/services.ui
index 839bef8..3d78e0f 100644
--- a/interfaces/services.ui
+++ b/interfaces/services.ui
@@ -51,7 +51,6 @@
     <property name="modal">True</property>
     <property name="destroy_with_parent">True</property>
     <property name="type_hint">dialog</property>
-    <property name="has_separator">False</property>
     <child internal-child="vbox">
       <object class="GtkVBox" id="dialog-vbox2">
         <property name="visible">True</property>
diff --git a/interfaces/shares.ui b/interfaces/shares.ui
index 10636a1..e189ba0 100644
--- a/interfaces/shares.ui
+++ b/interfaces/shares.ui
@@ -12,7 +12,6 @@
     <property name="modal">True</property>
     <property name="window_position">center-on-parent</property>
     <property name="type_hint">dialog</property>
-    <property name="has_separator">False</property>
     <child internal-child="vbox">
       <object class="GtkVBox" id="dialog-vbox3">
         <property name="visible">True</property>
@@ -382,7 +381,6 @@
     <property name="resizable">False</property>
     <property name="modal">True</property>
     <property name="type_hint">dialog</property>
-    <property name="has_separator">False</property>
     <child internal-child="vbox">
       <object class="GtkVBox" id="dialog-vbox4">
         <property name="visible">True</property>
@@ -928,7 +926,6 @@
     <property name="modal">True</property>
     <property name="window_position">center-on-parent</property>
     <property name="type_hint">dialog</property>
-    <property name="has_separator">False</property>
     <child internal-child="vbox">
       <object class="GtkVBox" id="dialog-vbox5">
         <property name="visible">True</property>
diff --git a/interfaces/time.ui b/interfaces/time.ui
index 98a8500..66a26e1 100644
--- a/interfaces/time.ui
+++ b/interfaces/time.ui
@@ -20,7 +20,6 @@
   <object class="GtkDialog" id="time_zone_window">
     <property name="title" translatable="yes">Time zone</property>
     <property name="type_hint">dialog</property>
-    <property name="has_separator">False</property>
     <child internal-child="vbox">
       <object class="GtkVBox" id="dialog-vbox1">
         <property name="visible">True</property>
@@ -186,7 +185,6 @@
   <object class="GtkDialog" id="time_server_window">
     <property name="title" translatable="yes">Time servers</property>
     <property name="type_hint">dialog</property>
-    <property name="has_separator">False</property>
     <child internal-child="vbox">
       <object class="GtkVBox" id="dialog-vbox2">
         <property name="visible">True</property>
diff --git a/interfaces/users.ui b/interfaces/users.ui
index a69b04e..aaea077 100644
--- a/interfaces/users.ui
+++ b/interfaces/users.ui
@@ -412,7 +412,6 @@
     <property name="title" translatable="yes">Group properties</property>
     <property name="modal">True</property>
     <property name="type_hint">dialog</property>
-    <property name="has_separator">False</property>
     <child internal-child="vbox">
       <object class="GtkVBox" id="dialog-vbox8">
         <property name="visible">True</property>
@@ -643,7 +642,6 @@
     <property name="resizable">False</property>
     <property name="modal">True</property>
     <property name="type_hint">dialog</property>
-    <property name="has_separator">False</property>
     <child internal-child="vbox">
       <object class="GtkVBox" id="dialog-vbox10">
         <property name="visible">True</property>
@@ -1326,7 +1324,6 @@
   <object class="GtkDialog" id="profiles_dialog">
     <property name="title" translatable="yes">User profiles</property>
     <property name="type_hint">dialog</property>
-    <property name="has_separator">False</property>
     <child internal-child="vbox">
       <object class="GtkVBox" id="dialog-vbox11">
         <property name="visible">True</property>
@@ -1508,7 +1505,6 @@
     <property name="height_request">300</property>
     <property name="title" translatable="yes">Groups settings</property>
     <property name="type_hint">dialog</property>
-    <property name="has_separator">False</property>
     <child internal-child="vbox">
       <object class="GtkVBox" id="dialog-vbox12">
         <property name="visible">True</property>
@@ -1668,7 +1664,6 @@
     <property name="type_hint">dialog</property>
     <property name="skip_taskbar_hint">True</property>
     <property name="skip_pager_hint">True</property>
-    <property name="has_separator">False</property>
     <child internal-child="vbox">
       <object class="GtkVBox" id="dialog-vbox5">
         <property name="visible">True</property>
@@ -1830,7 +1825,6 @@
     <property name="type_hint">dialog</property>
     <property name="skip_taskbar_hint">True</property>
     <property name="skip_pager_hint">True</property>
-    <property name="has_separator">False</property>
     <signal name="response" handler="on_user_passwd_dialog_response"/>
     <child internal-child="vbox">
       <object class="GtkVBox" id="dialog-vbox7">
@@ -2227,7 +2221,6 @@
     <property name="type_hint">dialog</property>
     <property name="skip_taskbar_hint">True</property>
     <property name="skip_pager_hint">True</property>
-    <property name="has_separator">False</property>
     <child internal-child="vbox">
       <object class="GtkVBox" id="dialog-vbox16">
         <property name="visible">True</property>
@@ -2398,7 +2391,6 @@
     <property name="type_hint">dialog</property>
     <property name="skip_taskbar_hint">True</property>
     <property name="skip_pager_hint">True</property>
-    <property name="has_separator">False</property>
     <child internal-child="vbox">
       <object class="GtkVBox" id="dialog-vbox14">
         <property name="visible">True</property>
@@ -2627,7 +2619,6 @@
     <property name="type_hint">dialog</property>
     <property name="skip_taskbar_hint">True</property>
     <property name="skip_pager_hint">True</property>
-    <property name="has_separator">False</property>
     <child internal-child="vbox">
       <object class="GtkVBox" id="dialog-vbox17">
         <property name="visible">True</property>
diff --git a/src/common/gst-dialog.c b/src/common/gst-dialog.c
index 557ddef..7198da7 100644
--- a/src/common/gst-dialog.c
+++ b/src/common/gst-dialog.c
@@ -356,7 +356,6 @@ GstDialog*
 gst_dialog_new (GstTool *tool, const char *widget, const char *title, gboolean lock_button)
 {
 	return g_object_new (GST_TYPE_DIALOG,
-			     "has-separator", FALSE,
 			     "tool", tool,
 			     "widget-name", widget,
 			     "title", title,
diff --git a/src/common/gst-platform-dialog.c b/src/common/gst-platform-dialog.c
index 7c56a1d..0d7c066 100644
--- a/src/common/gst-platform-dialog.c
+++ b/src/common/gst-platform-dialog.c
@@ -407,7 +407,6 @@ gst_platform_dialog_new (OobsSession *session)
 	g_return_val_if_fail (OOBS_IS_SESSION (session), NULL);
 
 	return g_object_new (GST_TYPE_PLATFORM_DIALOG,
-			     "has-separator", FALSE,
 			     "session", session,
 			     NULL);
 }
diff --git a/src/network/locations-combo.c b/src/network/locations-combo.c
index 05ce848..220717e 100644
--- a/src/network/locations-combo.c
+++ b/src/network/locations-combo.c
@@ -354,7 +354,7 @@ on_save_button_clicked (GtkWidget *widget, gpointer data)
 
       priv->save_dialog = gtk_dialog_new_with_buttons (_("Save location"),
 						       GTK_WINDOW (priv->tool->main_dialog),
-						       GTK_DIALOG_MODAL | GTK_DIALOG_NO_SEPARATOR,
+						       GTK_DIALOG_MODAL,
 						       NULL);
       gtk_dialog_add_button (GTK_DIALOG (priv->save_dialog), GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL);
       button = gtk_dialog_add_button (GTK_DIALOG (priv->save_dialog), GTK_STOCK_SAVE, GTK_RESPONSE_OK);



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