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 62ea32a79e402776ec911f95280daf90f9a1d2fd
Author: Clément Hermann (nodens) <nod...@nodens.org>
Date:   Fri Aug 21 12:42:41 2015 +0200

    Use Gtk3::MenuItem->new_with_mnemonic (->new('label') is not supported in 
Gtk3).
---
 bin/openpgp-applet | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/bin/openpgp-applet b/bin/openpgp-applet
index 90267dd..b87e5a5 100755
--- a/bin/openpgp-applet
+++ b/bin/openpgp-applet
@@ -174,9 +174,9 @@ sub build_statusicon {
     $icon->set_tooltip_text($encoding->decode(__("OpenPGP encryption 
applet")));
 
     my $menu   = Gtk3::Menu->new;
-    my $mexit  = Gtk3::MenuItem->new($encoding->decode(__("Exit")));
+    my $mexit  = 
Gtk3::MenuItem->new_with_mnemonic($encoding->decode(__("Exit")));
     $mexit->signal_connect('activate' => sub { app_exit($main_window); });
-    my $mabout = Gtk3::MenuItem->new($encoding->decode(__("About")));
+    my $mabout = 
Gtk3::MenuItem->new_with_mnemonic($encoding->decode(__("About")));
     $mabout->signal_connect('activate' => sub { Gtk3->show_about_dialog(
         $main_window,
         'program-name' => 'OpenPGP Applet',
@@ -1010,7 +1010,7 @@ sub init_icons_stock {
     my @stock_ids = map { "OpenPGP_Applet-$_" } qw{ message none signed text };
 
     foreach my $stock_id (@stock_ids) {
-        my $iconset = Gtk3::IconSet->new();
+        my $iconset = Gtk3::IconSet::new();
         $iconset->add_source(make_icon_source($stock_id, "22x22",    "png", 
'button'));
         $iconset->add_source(make_icon_source($stock_id, "22x22",    "png", 
'menu'));
         $iconset->add_source(make_icon_source($stock_id, "22x22",    "png", 
'large-toolbar'));

-- 
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