[git] Pinentry - branch, master, updated. pinentry-1.0.0-7-g8e3aa32
by Justus Winter
cvs at cvs.gnupg.org
Mon Jan 16 16:33:36 CET 2017
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "The standard pinentry collection".
The branch, master has been updated
via 8e3aa3204e74e8d7a7538e0d0f04e555f140131b (commit)
from c725fdd260b0c2291660ff954e6b2250006ec08f (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 8e3aa3204e74e8d7a7538e0d0f04e555f140131b
Author: Justus Winter <justus at g10code.com>
Date: Mon Jan 16 16:29:10 2017 +0100
gnome3: Use the program name as default title.
* gnome3/pinentry-gnome3.c (create_prompt): If no title is requested,
use the program name as the default title. This mimics what the GTK+2
variant does (although the GTK+2 pinentry seems to use
basename(argv[0])).
GnuPG-bug-id: 2920
Signed-off-by: Justus Winter <justus at g10code.com>
diff --git a/gnome3/pinentry-gnome3.c b/gnome3/pinentry-gnome3.c
index 29cd997..c148fd9 100644
--- a/gnome3/pinentry-gnome3.c
+++ b/gnome3/pinentry-gnome3.c
@@ -149,12 +149,9 @@ create_prompt (pinentry_t pe, int confirm)
}
/* Set the messages for the various buttons, etc. */
- if (pe->title)
- {
- msg = pinentry_utf8_validate (pe->title);
- gcr_prompt_set_title (prompt, msg);
- g_free (msg);
- }
+ msg = pinentry_utf8_validate (pe->title ? pe->title : PGMNAME);
+ gcr_prompt_set_title (prompt, msg);
+ g_free (msg);
if (pe->description)
{
-----------------------------------------------------------------------
Summary of changes:
gnome3/pinentry-gnome3.c | 9 +++------
1 file changed, 3 insertions(+), 6 deletions(-)
hooks/post-receive
--
The standard pinentry collection
http://git.gnupg.org
More information about the Gnupg-commits
mailing list