This is an automated email from the git hooks/post-receive script. nodens-guest pushed a commit to annotated tag OpenPGP_Applet-0.9 in repository openpgp-applet.
commit 8e46a34aa715721971c131cc2ae90c3eccb09f82 Author: Clément Hermann (nodens) <nod...@nodens.org> Date: Thu Mar 19 10:53:08 2015 +0100 Add menu entry to open text editor Patch from IvanBliminse (slightly adapted) will-fix: #9069 --- bin/openpgp-applet | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/bin/openpgp-applet b/bin/openpgp-applet index 5598080..974eccb 100755 --- a/bin/openpgp-applet +++ b/bin/openpgp-applet @@ -248,6 +248,10 @@ sub build_action_menu { $mmanage->signal_connect('activate' => sub { manage_keys(); }); $action_menu->append($mmanage); + my $mtexteditor = Gtk2::MenuItem->new_with_mnemonic($encoding->decode(__("_Open Text Editor"))); + $mtexteditor->signal_connect('activate' => sub { open_text_editor(); }); + $action_menu->append($mtexteditor); + return $action_menu; } @@ -255,6 +259,10 @@ sub manage_keys { system("seahorse &"); } +sub open_text_editor { + system("gnome-text-editor &"); +} + sub all_text_types { map { $_->{type} } @pgp_headers; } -- 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