aboutsummaryrefslogtreecommitdiffstats
path: root/lib/AdminPanel/Shared.pm
diff options
context:
space:
mode:
authorAngelo Naselli <anaselli@linux.it>2014-01-28 10:22:16 +0100
committerAngelo Naselli <anaselli@linux.it>2014-01-28 10:22:16 +0100
commit3249c6f581f90ade1bdbc23d233cc0fc452bfceb (patch)
tree73b94e12991ad2cf50bb31e99965b29cb5d694f7 /lib/AdminPanel/Shared.pm
parent83bec4bf157c1314a84a36755c1e651f29163b44 (diff)
downloadcolin-keep-3249c6f581f90ade1bdbc23d233cc0fc452bfceb.tar
colin-keep-3249c6f581f90ade1bdbc23d233cc0fc452bfceb.tar.gz
colin-keep-3249c6f581f90ade1bdbc23d233cc0fc452bfceb.tar.bz2
colin-keep-3249c6f581f90ade1bdbc23d233cc0fc452bfceb.tar.xz
colin-keep-3249c6f581f90ade1bdbc23d233cc0fc452bfceb.zip
Fixed Shared POD
Diffstat (limited to 'lib/AdminPanel/Shared.pm')
-rw-r--r--lib/AdminPanel/Shared.pm15
1 files changed, 11 insertions, 4 deletions
diff --git a/lib/AdminPanel/Shared.pm b/lib/AdminPanel/Shared.pm
index 583b214..5aceca1 100644
--- a/lib/AdminPanel/Shared.pm
+++ b/lib/AdminPanel/Shared.pm
@@ -106,6 +106,13 @@ Version 0.01
our $VERSION = '0.01';
+=head1 License
+
+GPL2 license content text, it can be used to be shown
+in dialogs.
+
+=cut
+
our $License = N_("This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2, or (at your option)
@@ -455,7 +462,7 @@ sub AboutDialog {
my ($opts) = @_;
# Credits dialog
- sub Credits {
+ sub _Credits {
my ($opts) = @_;
my $factory = yui::YUI::widgetFactory;
@@ -551,7 +558,7 @@ sub AboutDialog {
}
# License dialog
- sub License {
+ sub _License {
my ($license) = @_;
my $factory = yui::YUI::widgetFactory;
@@ -635,10 +642,10 @@ sub AboutDialog {
my $widget = $event->widget();
if($widget == $licenseButton) {
- License($opts->{license}) if exists $opts->{license};
+ _License($opts->{license}) if exists $opts->{license};
}
elsif ($widget == $creditsButton) {
- Credits($opts);
+ _Credits($opts);
}
elsif ($widget == $closeButton) {
last;