[Pkg-gnupg-commit] [gpa] 01/03: Add patch fixing checks of dialog return values (Closes: #820342)
Andreas Rönnquist
gusnan at moszumanska.debian.org
Sun Apr 17 07:45:29 UTC 2016
This is an automated email from the git hooks/post-receive script.
gusnan pushed a commit to branch jessie
in repository gpa.
commit e9a977caee8e47b8c1c03d5a9cd4ad88873cc1c8
Author: Andreas Rönnquist <gusnan at gusnan.se>
Date: Fri Apr 8 21:07:29 2016 +0200
Add patch fixing checks of dialog return values (Closes: #820342)
---
.../fix_handling_of_confirmation_dialog.patch | 22 ++++++++++++++++++++++
debian/patches/series | 1 +
2 files changed, 23 insertions(+)
diff --git a/debian/patches/fix_handling_of_confirmation_dialog.patch b/debian/patches/fix_handling_of_confirmation_dialog.patch
new file mode 100644
index 0000000..7440acf
--- /dev/null
+++ b/debian/patches/fix_handling_of_confirmation_dialog.patch
@@ -0,0 +1,22 @@
+--- a/src/gpaexportserverop.c
++++ b/src/gpaexportserverop.c
+@@ -133,7 +133,7 @@
+ gtk_dialog_add_buttons (GTK_DIALOG (msgbox),
+ _("_Yes"), GTK_RESPONSE_YES,
+ _("_No"), GTK_RESPONSE_NO, NULL);
+- if (gtk_dialog_run (GTK_DIALOG (msgbox)) == GTK_RESPONSE_NO)
++ if (gtk_dialog_run (GTK_DIALOG (msgbox)) != GTK_RESPONSE_YES)
+ {
+ gtk_widget_destroy (msgbox);
+ return FALSE;
+--- a/src/gpgmetools.c
++++ b/src/gpgmetools.c
+@@ -174,7 +174,7 @@
+ gtk_dialog_add_buttons (GTK_DIALOG (msgbox),
+ _("_Yes"), GTK_RESPONSE_YES,
+ _("_No"), GTK_RESPONSE_NO, NULL);
+- if (gtk_dialog_run (GTK_DIALOG (msgbox)) == GTK_RESPONSE_NO)
++ if (gtk_dialog_run (GTK_DIALOG (msgbox)) != GTK_RESPONSE_YES)
+ {
+ gtk_widget_destroy (msgbox);
+ return FALSE;
diff --git a/debian/patches/series b/debian/patches/series
index f4ae03f..c87dd8d 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,3 +1,4 @@
+fix_handling_of_confirmation_dialog.patch
gnupg2.patch
add_desktop_file_keywords.patch
enable_cardman_close.patch
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-gnupg/gpa.git
More information about the Pkg-gnupg-commit
mailing list