[Xfce4-commits] [thunar-plugins/thunar-vcs-plugin] 04/13: Drop GTK_DIALOG_NO_SEPARATOR
noreply at xfce.org
noreply at xfce.org
Thu May 24 04:05:08 CEST 2018
This is an automated email from the git hooks/post-receive script.
a n d 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 thunar-plugins/thunar-vcs-plugin.
commit 1314866563d07042fcc65642dc971fa91b576ec0
Author: Andre Miranda <andreldm at xfce.org>
Date: Wed Nov 15 20:57:57 2017 -0300
Drop GTK_DIALOG_NO_SEPARATOR
---
tvp-git-helper/tgh-blame-dialog.c | 3 ---
tvp-git-helper/tgh-branch-dialog.c | 5 +----
tvp-git-helper/tgh-clean-dialog.c | 3 ---
tvp-git-helper/tgh-file-selection-dialog.c | 3 ---
tvp-git-helper/tgh-log-dialog.c | 3 ---
tvp-git-helper/tgh-notify-dialog.c | 3 ---
tvp-git-helper/tgh-stash-dialog.c | 5 +----
tvp-git-helper/tgh-status-dialog.c | 3 ---
tvp-git-helper/tgh-transfer-dialog.c | 3 ---
tvp-svn-helper/tsh-blame-dialog.c | 3 ---
tvp-svn-helper/tsh-diff-dialog.c | 3 ---
tvp-svn-helper/tsh-file-dialog.c | 3 ---
tvp-svn-helper/tsh-file-selection-dialog.c | 3 ---
tvp-svn-helper/tsh-lock-dialog.c | 3 ---
tvp-svn-helper/tsh-log-dialog.c | 3 ---
tvp-svn-helper/tsh-log-message-dialog.c | 3 ---
tvp-svn-helper/tsh-login-dialog.c | 3 ---
tvp-svn-helper/tsh-notify-dialog.c | 3 ---
tvp-svn-helper/tsh-properties-dialog.c | 3 ---
tvp-svn-helper/tsh-relocate-dialog.c | 3 ---
tvp-svn-helper/tsh-status-dialog.c | 3 ---
tvp-svn-helper/tsh-transfer-dialog.c | 3 ---
tvp-svn-helper/tsh-trust-dialog.c | 3 ---
23 files changed, 2 insertions(+), 71 deletions(-)
diff --git a/tvp-git-helper/tgh-blame-dialog.c b/tvp-git-helper/tgh-blame-dialog.c
index f1151ab..896f9a3 100644
--- a/tvp-git-helper/tgh-blame-dialog.c
+++ b/tvp-git-helper/tgh-blame-dialog.c
@@ -156,9 +156,6 @@ tgh_blame_dialog_new (const gchar *title, GtkWindow *parent, GtkDialogFlags flag
if(flags & GTK_DIALOG_DESTROY_WITH_PARENT)
gtk_window_set_destroy_with_parent (GTK_WINDOW(dialog), TRUE);
- if(flags & GTK_DIALOG_NO_SEPARATOR)
- gtk_dialog_set_has_separator (GTK_DIALOG(dialog), FALSE);
-
return GTK_WIDGET(dialog);
}
diff --git a/tvp-git-helper/tgh-branch-dialog.c b/tvp-git-helper/tgh-branch-dialog.c
index ca21453..643f68e 100644
--- a/tvp-git-helper/tgh-branch-dialog.c
+++ b/tvp-git-helper/tgh-branch-dialog.c
@@ -169,9 +169,6 @@ tgh_branch_dialog_new (const gchar *title, GtkWindow *parent, GtkDialogFlags fla
if(flags & GTK_DIALOG_DESTROY_WITH_PARENT)
gtk_window_set_destroy_with_parent (GTK_WINDOW(dialog), TRUE);
- if(flags & GTK_DIALOG_NO_SEPARATOR)
- gtk_dialog_set_has_separator (GTK_DIALOG(dialog), FALSE);
-
return GTK_WIDGET(dialog);
}
@@ -251,7 +248,7 @@ create_clicked (GtkButton *button, gpointer user_data)
TghBranchDialog *dialog = TGH_BRANCH_DIALOG (user_data);
- name_dialog = gtk_dialog_new_with_buttons (NULL, GTK_WINDOW (dialog), GTK_DIALOG_DESTROY_WITH_PARENT | GTK_DIALOG_MODAL | GTK_DIALOG_NO_SEPARATOR, GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL, GTK_STOCK_NEW, GTK_RESPONSE_ACCEPT, NULL);
+ name_dialog = gtk_dialog_new_with_buttons (NULL, GTK_WINDOW (dialog), GTK_DIALOG_DESTROY_WITH_PARENT | GTK_DIALOG_MODAL, GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL, GTK_STOCK_NEW, GTK_RESPONSE_ACCEPT, NULL);
gtk_dialog_set_alternative_button_order (GTK_DIALOG (dialog), GTK_RESPONSE_ACCEPT, GTK_RESPONSE_CANCEL, -1);
gtk_window_set_resizable (GTK_WINDOW (name_dialog), FALSE);
gtk_window_set_skip_taskbar_hint (GTK_WINDOW (name_dialog), TRUE);
diff --git a/tvp-git-helper/tgh-clean-dialog.c b/tvp-git-helper/tgh-clean-dialog.c
index aed60a6..c6e6fb3 100644
--- a/tvp-git-helper/tgh-clean-dialog.c
+++ b/tvp-git-helper/tgh-clean-dialog.c
@@ -122,9 +122,6 @@ tgh_clean_dialog_new (const gchar *title, GtkWindow *parent, GtkDialogFlags flag
if(flags & GTK_DIALOG_DESTROY_WITH_PARENT)
gtk_window_set_destroy_with_parent (GTK_WINDOW(dialog), TRUE);
- if(flags & GTK_DIALOG_NO_SEPARATOR)
- gtk_dialog_set_has_separator (GTK_DIALOG(dialog), FALSE);
-
return GTK_WIDGET(dialog);
}
diff --git a/tvp-git-helper/tgh-file-selection-dialog.c b/tvp-git-helper/tgh-file-selection-dialog.c
index 5ba558c..245413d 100644
--- a/tvp-git-helper/tgh-file-selection-dialog.c
+++ b/tvp-git-helper/tgh-file-selection-dialog.c
@@ -164,9 +164,6 @@ tgh_file_selection_dialog_new (const gchar *title, GtkWindow *parent, GtkDialogF
if(flags & GTK_DIALOG_DESTROY_WITH_PARENT)
gtk_window_set_destroy_with_parent (GTK_WINDOW(dialog), TRUE);
- if(flags & GTK_DIALOG_NO_SEPARATOR)
- gtk_dialog_set_has_separator (GTK_DIALOG(dialog), FALSE);
-
dialog->flags = selection_flags;
if(!g_spawn_async_with_pipes(NULL, argv, NULL, G_SPAWN_DO_NOT_REAP_CHILD | G_SPAWN_SEARCH_PATH, NULL, NULL, &pid, NULL, &fd_out, &fd_err, &error))
diff --git a/tvp-git-helper/tgh-log-dialog.c b/tvp-git-helper/tgh-log-dialog.c
index 6d01018..9bb6bad 100644
--- a/tvp-git-helper/tgh-log-dialog.c
+++ b/tvp-git-helper/tgh-log-dialog.c
@@ -277,9 +277,6 @@ tgh_log_dialog_new (const gchar *title, GtkWindow *parent, GtkDialogFlags flags)
if(flags & GTK_DIALOG_DESTROY_WITH_PARENT)
gtk_window_set_destroy_with_parent (GTK_WINDOW(dialog), TRUE);
- if(flags & GTK_DIALOG_NO_SEPARATOR)
- gtk_dialog_set_has_separator (GTK_DIALOG(dialog), FALSE);
-
return GTK_WIDGET(dialog);
}
diff --git a/tvp-git-helper/tgh-notify-dialog.c b/tvp-git-helper/tgh-notify-dialog.c
index 05c643c..70022d6 100644
--- a/tvp-git-helper/tgh-notify-dialog.c
+++ b/tvp-git-helper/tgh-notify-dialog.c
@@ -134,9 +134,6 @@ tgh_notify_dialog_new (const gchar *title, GtkWindow *parent, GtkDialogFlags fla
if(flags & GTK_DIALOG_DESTROY_WITH_PARENT)
gtk_window_set_destroy_with_parent (GTK_WINDOW(dialog), TRUE);
- if(flags & GTK_DIALOG_NO_SEPARATOR)
- gtk_dialog_set_has_separator (GTK_DIALOG(dialog), FALSE);
-
return GTK_WIDGET(dialog);
}
diff --git a/tvp-git-helper/tgh-stash-dialog.c b/tvp-git-helper/tgh-stash-dialog.c
index afd9b03..9f38f98 100644
--- a/tvp-git-helper/tgh-stash-dialog.c
+++ b/tvp-git-helper/tgh-stash-dialog.c
@@ -275,9 +275,6 @@ tgh_stash_dialog_new (const gchar *title, GtkWindow *parent, GtkDialogFlags flag
if(flags & GTK_DIALOG_DESTROY_WITH_PARENT)
gtk_window_set_destroy_with_parent (GTK_WINDOW(dialog), TRUE);
- if(flags & GTK_DIALOG_NO_SEPARATOR)
- gtk_dialog_set_has_separator (GTK_DIALOG(dialog), FALSE);
-
return GTK_WIDGET(dialog);
}
@@ -380,7 +377,7 @@ save_clicked (GtkButton *button, gpointer user_data)
gchar *name;
gint result;
- name_dialog = gtk_dialog_new_with_buttons (NULL, GTK_WINDOW (dialog), GTK_DIALOG_DESTROY_WITH_PARENT | GTK_DIALOG_MODAL | GTK_DIALOG_NO_SEPARATOR, GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL, GTK_STOCK_SAVE, GTK_RESPONSE_ACCEPT, NULL);
+ name_dialog = gtk_dialog_new_with_buttons (NULL, GTK_WINDOW (dialog), GTK_DIALOG_DESTROY_WITH_PARENT | GTK_DIALOG_MODAL, GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL, GTK_STOCK_SAVE, GTK_RESPONSE_ACCEPT, NULL);
gtk_dialog_set_alternative_button_order (GTK_DIALOG (dialog), GTK_RESPONSE_ACCEPT, GTK_RESPONSE_CANCEL, -1);
gtk_window_set_resizable (GTK_WINDOW (name_dialog), FALSE);
gtk_window_set_skip_taskbar_hint (GTK_WINDOW (name_dialog), TRUE);
diff --git a/tvp-git-helper/tgh-status-dialog.c b/tvp-git-helper/tgh-status-dialog.c
index 6aa9685..3481506 100644
--- a/tvp-git-helper/tgh-status-dialog.c
+++ b/tvp-git-helper/tgh-status-dialog.c
@@ -158,9 +158,6 @@ tgh_status_dialog_new (const gchar *title, GtkWindow *parent, GtkDialogFlags fla
if(flags & GTK_DIALOG_DESTROY_WITH_PARENT)
gtk_window_set_destroy_with_parent (GTK_WINDOW(dialog), TRUE);
- if(flags & GTK_DIALOG_NO_SEPARATOR)
- gtk_dialog_set_has_separator (GTK_DIALOG(dialog), FALSE);
-
return GTK_WIDGET(dialog);
}
diff --git a/tvp-git-helper/tgh-transfer-dialog.c b/tvp-git-helper/tgh-transfer-dialog.c
index 946c252..211d12a 100644
--- a/tvp-git-helper/tgh-transfer-dialog.c
+++ b/tvp-git-helper/tgh-transfer-dialog.c
@@ -148,9 +148,6 @@ tgh_transfer_dialog_new (const gchar *title, GtkWindow *parent, GtkDialogFlags f
if(flags & GTK_DIALOG_DESTROY_WITH_PARENT)
gtk_window_set_destroy_with_parent (GTK_WINDOW(dialog), TRUE);
- if(flags & GTK_DIALOG_NO_SEPARATOR)
- gtk_dialog_set_has_separator (GTK_DIALOG(dialog), FALSE);
-
if(repo_dir)
{
gchar *absolute = NULL;
diff --git a/tvp-svn-helper/tsh-blame-dialog.c b/tvp-svn-helper/tsh-blame-dialog.c
index a1fea9b..76228e6 100644
--- a/tvp-svn-helper/tsh-blame-dialog.c
+++ b/tvp-svn-helper/tsh-blame-dialog.c
@@ -159,9 +159,6 @@ tsh_blame_dialog_new (const gchar *title, GtkWindow *parent, GtkDialogFlags flag
if(flags & GTK_DIALOG_DESTROY_WITH_PARENT)
gtk_window_set_destroy_with_parent (GTK_WINDOW(dialog), TRUE);
- if(flags & GTK_DIALOG_NO_SEPARATOR)
- gtk_dialog_set_has_separator (GTK_DIALOG(dialog), FALSE);
-
return GTK_WIDGET(dialog);
}
diff --git a/tvp-svn-helper/tsh-diff-dialog.c b/tvp-svn-helper/tsh-diff-dialog.c
index e9417ab..1818cd8 100644
--- a/tvp-svn-helper/tsh-diff-dialog.c
+++ b/tvp-svn-helper/tsh-diff-dialog.c
@@ -237,9 +237,6 @@ tsh_diff_dialog_new (const gchar *title, GtkWindow *parent, GtkDialogFlags flags
if(flags & GTK_DIALOG_DESTROY_WITH_PARENT)
gtk_window_set_destroy_with_parent (GTK_WINDOW(dialog), TRUE);
- if(flags & GTK_DIALOG_NO_SEPARATOR)
- gtk_dialog_set_has_separator (GTK_DIALOG(dialog), FALSE);
-
return GTK_WIDGET(dialog);
}
diff --git a/tvp-svn-helper/tsh-file-dialog.c b/tvp-svn-helper/tsh-file-dialog.c
index c88569a..c337721 100644
--- a/tvp-svn-helper/tsh-file-dialog.c
+++ b/tvp-svn-helper/tsh-file-dialog.c
@@ -111,9 +111,6 @@ tsh_file_dialog_new (const gchar *title, GtkWindow *parent, GtkDialogFlags flags
if(flags & GTK_DIALOG_DESTROY_WITH_PARENT)
gtk_window_set_destroy_with_parent (GTK_WINDOW(dialog), TRUE);
- if(flags & GTK_DIALOG_NO_SEPARATOR)
- gtk_dialog_set_has_separator (GTK_DIALOG(dialog), FALSE);
-
if(!may_save)
gtk_widget_set_sensitive(dialog->may_save, FALSE);
diff --git a/tvp-svn-helper/tsh-file-selection-dialog.c b/tvp-svn-helper/tsh-file-selection-dialog.c
index 1298a02..750e233 100644
--- a/tvp-svn-helper/tsh-file-selection-dialog.c
+++ b/tvp-svn-helper/tsh-file-selection-dialog.c
@@ -181,9 +181,6 @@ tsh_file_selection_dialog_new (const gchar *title, GtkWindow *parent, GtkDialogF
if(flags & GTK_DIALOG_DESTROY_WITH_PARENT)
gtk_window_set_destroy_with_parent (GTK_WINDOW(dialog), TRUE);
- if(flags & GTK_DIALOG_NO_SEPARATOR)
- gtk_dialog_set_has_separator (GTK_DIALOG(dialog), FALSE);
-
dialog->flags = selection_flags;
subpool = svn_pool_create (pool);
diff --git a/tvp-svn-helper/tsh-lock-dialog.c b/tvp-svn-helper/tsh-lock-dialog.c
index fad555f..0b4fa3d 100644
--- a/tvp-svn-helper/tsh-lock-dialog.c
+++ b/tvp-svn-helper/tsh-lock-dialog.c
@@ -97,9 +97,6 @@ tsh_lock_dialog_new (const gchar *title, GtkWindow *parent, GtkDialogFlags flags
if(flags & GTK_DIALOG_DESTROY_WITH_PARENT)
gtk_window_set_destroy_with_parent (GTK_WINDOW(dialog), TRUE);
- if(flags & GTK_DIALOG_NO_SEPARATOR)
- gtk_dialog_set_has_separator (GTK_DIALOG(dialog), FALSE);
-
return GTK_WIDGET(dialog);
}
diff --git a/tvp-svn-helper/tsh-log-dialog.c b/tvp-svn-helper/tsh-log-dialog.c
index d49ae61..b5d019e 100644
--- a/tvp-svn-helper/tsh-log-dialog.c
+++ b/tvp-svn-helper/tsh-log-dialog.c
@@ -259,9 +259,6 @@ tsh_log_dialog_new (const gchar *title, GtkWindow *parent, GtkDialogFlags flags)
if(flags & GTK_DIALOG_DESTROY_WITH_PARENT)
gtk_window_set_destroy_with_parent (GTK_WINDOW(dialog), TRUE);
- if(flags & GTK_DIALOG_NO_SEPARATOR)
- gtk_dialog_set_has_separator (GTK_DIALOG(dialog), FALSE);
-
return GTK_WIDGET(dialog);
}
diff --git a/tvp-svn-helper/tsh-log-message-dialog.c b/tvp-svn-helper/tsh-log-message-dialog.c
index a8fd35d..ca328dc 100644
--- a/tvp-svn-helper/tsh-log-message-dialog.c
+++ b/tvp-svn-helper/tsh-log-message-dialog.c
@@ -143,9 +143,6 @@ tsh_log_message_dialog_new (const gchar *title, GtkWindow *parent, GtkDialogFlag
if(flags & GTK_DIALOG_DESTROY_WITH_PARENT)
gtk_window_set_destroy_with_parent (GTK_WINDOW(dialog), TRUE);
- if(flags & GTK_DIALOG_NO_SEPARATOR)
- gtk_dialog_set_has_separator (GTK_DIALOG(dialog), FALSE);
-
return GTK_WIDGET(dialog);
}
diff --git a/tvp-svn-helper/tsh-login-dialog.c b/tvp-svn-helper/tsh-login-dialog.c
index ef2eb9b..c3ecac0 100644
--- a/tvp-svn-helper/tsh-login-dialog.c
+++ b/tvp-svn-helper/tsh-login-dialog.c
@@ -131,9 +131,6 @@ tsh_login_dialog_new (const gchar *title, GtkWindow *parent, GtkDialogFlags flag
if(flags & GTK_DIALOG_DESTROY_WITH_PARENT)
gtk_window_set_destroy_with_parent (GTK_WINDOW(dialog), TRUE);
- if(flags & GTK_DIALOG_NO_SEPARATOR)
- gtk_dialog_set_has_separator (GTK_DIALOG(dialog), FALSE);
-
if(username)
{
gtk_widget_show(dialog->user_lbl);
diff --git a/tvp-svn-helper/tsh-notify-dialog.c b/tvp-svn-helper/tsh-notify-dialog.c
index 415c214..d9d55e4 100644
--- a/tvp-svn-helper/tsh-notify-dialog.c
+++ b/tvp-svn-helper/tsh-notify-dialog.c
@@ -141,9 +141,6 @@ tsh_notify_dialog_new (const gchar *title, GtkWindow *parent, GtkDialogFlags fla
if(flags & GTK_DIALOG_DESTROY_WITH_PARENT)
gtk_window_set_destroy_with_parent (GTK_WINDOW(dialog), TRUE);
- if(flags & GTK_DIALOG_NO_SEPARATOR)
- gtk_dialog_set_has_separator (GTK_DIALOG(dialog), FALSE);
-
return GTK_WIDGET(dialog);
}
diff --git a/tvp-svn-helper/tsh-properties-dialog.c b/tvp-svn-helper/tsh-properties-dialog.c
index 8cad557..2c13010 100644
--- a/tvp-svn-helper/tsh-properties-dialog.c
+++ b/tvp-svn-helper/tsh-properties-dialog.c
@@ -293,9 +293,6 @@ tsh_properties_dialog_new (const gchar *title, GtkWindow *parent, GtkDialogFlags
if(flags & GTK_DIALOG_DESTROY_WITH_PARENT)
gtk_window_set_destroy_with_parent (GTK_WINDOW(dialog), TRUE);
- if(flags & GTK_DIALOG_NO_SEPARATOR)
- gtk_dialog_set_has_separator (GTK_DIALOG(dialog), FALSE);
-
return GTK_WIDGET(dialog);
}
diff --git a/tvp-svn-helper/tsh-relocate-dialog.c b/tvp-svn-helper/tsh-relocate-dialog.c
index 038a070..3d3891b 100644
--- a/tvp-svn-helper/tsh-relocate-dialog.c
+++ b/tvp-svn-helper/tsh-relocate-dialog.c
@@ -242,9 +242,6 @@ tsh_relocate_dialog_new (const gchar *title, GtkWindow *parent, GtkDialogFlags f
if(flags & GTK_DIALOG_DESTROY_WITH_PARENT)
gtk_window_set_destroy_with_parent (GTK_WINDOW(dialog), TRUE);
- if(flags & GTK_DIALOG_NO_SEPARATOR)
- gtk_dialog_set_has_separator (GTK_DIALOG(dialog), FALSE);
-
if(from)
{
if(svn_path_is_url (from))
diff --git a/tvp-svn-helper/tsh-status-dialog.c b/tvp-svn-helper/tsh-status-dialog.c
index 4985417..cab2395 100644
--- a/tvp-svn-helper/tsh-status-dialog.c
+++ b/tvp-svn-helper/tsh-status-dialog.c
@@ -280,9 +280,6 @@ tsh_status_dialog_new (const gchar *title, GtkWindow *parent, GtkDialogFlags fla
if(flags & GTK_DIALOG_DESTROY_WITH_PARENT)
gtk_window_set_destroy_with_parent (GTK_WINDOW(dialog), TRUE);
- if(flags & GTK_DIALOG_NO_SEPARATOR)
- gtk_dialog_set_has_separator (GTK_DIALOG(dialog), FALSE);
-
return GTK_WIDGET(dialog);
}
diff --git a/tvp-svn-helper/tsh-transfer-dialog.c b/tvp-svn-helper/tsh-transfer-dialog.c
index 7a30b8a..013e267 100644
--- a/tvp-svn-helper/tsh-transfer-dialog.c
+++ b/tvp-svn-helper/tsh-transfer-dialog.c
@@ -181,9 +181,6 @@ tsh_transfer_dialog_new (const gchar *title, GtkWindow *parent, GtkDialogFlags f
if(flags & GTK_DIALOG_DESTROY_WITH_PARENT)
gtk_window_set_destroy_with_parent (GTK_WINDOW(dialog), TRUE);
- if(flags & GTK_DIALOG_NO_SEPARATOR)
- gtk_dialog_set_has_separator (GTK_DIALOG(dialog), FALSE);
-
if(repo_dir)
{
if(svn_path_is_url (repo_dir))
diff --git a/tvp-svn-helper/tsh-trust-dialog.c b/tvp-svn-helper/tsh-trust-dialog.c
index 12fedeb..f79d1c8 100644
--- a/tvp-svn-helper/tsh-trust-dialog.c
+++ b/tvp-svn-helper/tsh-trust-dialog.c
@@ -105,9 +105,6 @@ tsh_trust_dialog_new (const gchar *title, GtkWindow *parent, GtkDialogFlags flag
if(flags & GTK_DIALOG_DESTROY_WITH_PARENT)
gtk_window_set_destroy_with_parent (GTK_WINDOW(dialog), TRUE);
- if(flags & GTK_DIALOG_NO_SEPARATOR)
- gtk_dialog_set_has_separator (GTK_DIALOG(dialog), FALSE);
-
if(failures & SVN_AUTH_SSL_NOTYETVALID)
gtk_widget_show(dialog->notyetvalid);
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Xfce4-commits
mailing list