This is an automated email from the git hooks/post-receive script.

nodens-guest pushed a commit to branch master
in repository openpgp-applet.

commit 3eb7914da2a499306875f7470952cb4213402b9a
Author: Clément Hermann (nodens) <nod...@nodens.org>
Date:   Sat Oct 17 15:03:06 2015 +0200

    Gtk3: Fix deciphering clipboard
    
    by changing the way secondary text is displayed in dialog
    
    Fixes 'Can't locate object method "set_secondary_text" via package
    "Gtk3::MessageDialog"'
---
 bin/openpgp-applet | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/bin/openpgp-applet b/bin/openpgp-applet
index 3fd26b7..4049dfd 100755
--- a/bin/openpgp-applet
+++ b/bin/openpgp-applet
@@ -828,7 +828,7 @@ sub display_error {
         $parent, 'destroy-with-parent', 'error', 'ok',
         $title
     );
-    $dialog->format_secondary_text($msg);
+    $dialog->set_secondary_text($msg);
     $dialog->signal_connect(
         response => sub { my $self = shift; $self->destroy; }
     );
@@ -846,7 +846,7 @@ sub display_question {
 
     my $dialog = Gtk3::MessageDialog->new(
         $parent, 'destroy-with-parent', 'question', 'yes-no', $title);
-    $dialog->format_secondary_text($msg);
+    $dialog->set('secondary_text' => $msg);
     $dialog->set_position('center');
     my $answer = $dialog->run;
     $dialog->destroy;
@@ -865,7 +865,7 @@ sub display_output {
     my $my_width_request = 800;
     my $my_height_request = 600;
     # TRANSLATORS: GnuPG stdout (encrypted or decrypted message)
-    $dialog->format_secondary_text(sprintf($encoding->decode(
+    $dialog->set('secondary_text' => sprintf($encoding->decode(
         __("Output of GnuPG:")
     )));
 

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-perl/packages/openpgp-applet.git

_______________________________________________
Pkg-perl-cvs-commits mailing list
Pkg-perl-cvs-commits@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-perl-cvs-commits

Reply via email to