[giggle] Do not use deprecated dialog separator functionality. Take 2
- From: Javier Jardón <jjardon src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [giggle] Do not use deprecated dialog separator functionality. Take 2
- Date: Wed, 27 Oct 2010 01:50:51 +0000 (UTC)
commit 44e0f1b9a2a50b4ad2022a52b4e43db4206a6406
Author: Javier Jardón <jjardon gnome org>
Date: Wed Oct 27 03:01:42 2010 +0200
Do not use deprecated dialog separator functionality. Take 2
plugins/giggle-personal-details-window.c | 1 -
src/giggle-clone-dialog.c | 1 -
src/giggle-diff-window.c | 4 ----
src/giggle-input-dialog.c | 1 -
src/giggle-short-list.c | 2 +-
src/giggle-window.c | 2 +-
6 files changed, 2 insertions(+), 9 deletions(-)
---
diff --git a/plugins/giggle-personal-details-window.c b/plugins/giggle-personal-details-window.c
index 21e6056..d92fef0 100644
--- a/plugins/giggle-personal-details-window.c
+++ b/plugins/giggle-personal-details-window.c
@@ -281,6 +281,5 @@ GtkWidget*
giggle_personal_details_window_new (void)
{
return g_object_new (GIGGLE_TYPE_PERSONAL_DETAILS_WINDOW,
- "has-separator", FALSE,
NULL);
}
diff --git a/src/giggle-clone-dialog.c b/src/giggle-clone-dialog.c
index bbad111..cdecdf9 100644
--- a/src/giggle-clone-dialog.c
+++ b/src/giggle-clone-dialog.c
@@ -236,7 +236,6 @@ giggle_clone_dialog_new (const gchar *repo, const gchar *dir) {
dialog = g_object_new (GIGGLE_TYPE_CLONE_DIALOG,
"title", _("Clone Repository"),
- "has-separator", FALSE,
"border-width", 12,
NULL);
priv = dialog->priv;
diff --git a/src/giggle-diff-window.c b/src/giggle-diff-window.c
index fb6bf90..4a9af04 100644
--- a/src/giggle-diff-window.c
+++ b/src/giggle-diff-window.c
@@ -125,10 +125,6 @@ giggle_diff_window_init (GiggleDiffWindow *diff_window)
gtk_container_add (GTK_CONTAINER (gtk_dialog_get_content_area (GTK_DIALOG (diff_window))),
vbox);
- g_object_set (diff_window,
- "has-separator", FALSE,
- NULL);
-
gtk_dialog_add_button (GTK_DIALOG (diff_window),
GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL);
gtk_dialog_add_button (GTK_DIALOG (diff_window),
diff --git a/src/giggle-input-dialog.c b/src/giggle-input-dialog.c
index 54e9cc7..f0c6740 100644
--- a/src/giggle-input-dialog.c
+++ b/src/giggle-input-dialog.c
@@ -149,7 +149,6 @@ giggle_input_dialog_init (GiggleInputDialog *input_dialog)
gtk_window_set_resizable (GTK_WINDOW (input_dialog), FALSE);
gtk_dialog_set_default_response (GTK_DIALOG (input_dialog), GTK_RESPONSE_OK);
- g_object_set (input_dialog, "has-separator", FALSE, NULL);
}
static void
diff --git a/src/giggle-short-list.c b/src/giggle-short-list.c
index 544bc6c..d876f53 100644
--- a/src/giggle-short-list.c
+++ b/src/giggle-short-list.c
@@ -273,7 +273,7 @@ short_list_show_dialog (GiggleShortList* self)
dialog = gtk_dialog_new_with_buttons (_("Details"),
GTK_WINDOW (gtk_widget_get_toplevel (GTK_WIDGET (self))),
- GTK_DIALOG_NO_SEPARATOR,
+ 0,
GTK_STOCK_CLOSE, GTK_RESPONSE_CLOSE,
NULL);
diff --git a/src/giggle-window.c b/src/giggle-window.c
index 263dba7..b0b57ee 100644
--- a/src/giggle-window.c
+++ b/src/giggle-window.c
@@ -742,7 +742,7 @@ window_action_properties_cb (GtkAction *action,
priv->summary_dialog = gtk_dialog_new_with_buttons
(title, GTK_WINDOW (window),
- GTK_DIALOG_DESTROY_WITH_PARENT | GTK_DIALOG_NO_SEPARATOR,
+ GTK_DIALOG_DESTROY_WITH_PARENT,
GTK_STOCK_CLOSE, GTK_RESPONSE_CLOSE, NULL);
summary_view = giggle_view_summary_new ();
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]