diff options
author | Angelo Naselli <anaselli@linux.it> | 2016-02-14 15:05:51 +0100 |
---|---|---|
committer | Angelo Naselli <anaselli@linux.it> | 2016-02-14 15:07:39 +0100 |
commit | 3938dc8dd2dbf0cedc6ddae7bc65748de7f49585 (patch) | |
tree | 63bc9f23733087012e28c720e3cc6cb1ec2daa16 /lib/ManaTools/rpmdragora.pm | |
parent | 4799866e5d011979646318713eff32c4e11cd7c4 (diff) | |
download | manatools-3938dc8dd2dbf0cedc6ddae7bc65748de7f49585.tar manatools-3938dc8dd2dbf0cedc6ddae7bc65748de7f49585.tar.gz manatools-3938dc8dd2dbf0cedc6ddae7bc65748de7f49585.tar.bz2 manatools-3938dc8dd2dbf0cedc6ddae7bc65748de7f49585.tar.xz manatools-3938dc8dd2dbf0cedc6ddae7bc65748de7f49585.zip |
added common shortcuts to rpmdragora
Diffstat (limited to 'lib/ManaTools/rpmdragora.pm')
-rw-r--r-- | lib/ManaTools/rpmdragora.pm | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/lib/ManaTools/rpmdragora.pm b/lib/ManaTools/rpmdragora.pm index eacf0b39..c22e451f 100644 --- a/lib/ManaTools/rpmdragora.pm +++ b/lib/ManaTools/rpmdragora.pm @@ -358,11 +358,11 @@ sub interactive_msg { my $alignRight = $factory->createRight($bottomhbox); my $buttonBox = $factory->createHBox($alignRight); - $info->{B1} = $factory->createPushButton($buttonBox, $options{text}{yes} || $loc->N("Yes")); - $info->{B2} = $factory->createPushButton($buttonBox, $options{text}{no} || $loc->N("No")); + $info->{B1} = $factory->createPushButton($buttonBox, $options{text}{yes} || $loc->N("&Yes")); + $info->{B2} = $factory->createPushButton($buttonBox, $options{text}{no} || $loc->N("&No")); } else { - $info->{B1} = $factory->createPushButton($bottomhbox, $loc->N("Ok")); + $info->{B1} = $factory->createPushButton($bottomhbox, $loc->N("&Ok")); } $dlg->setDefaultButton($info->{B1}); @@ -890,9 +890,9 @@ sub update_sources_interactive { ## Window push buttons my $hbox = $factory->createHBox( $vbox ); - my $cancelButton = $factory->createPushButton($hbox, $loc->N("Cancel") ); - my $selectButton = $factory->createPushButton($hbox, $loc->N("Select all") ); - my $updateButton = $factory->createPushButton($hbox, $loc->N("Update") ); + my $cancelButton = $factory->createPushButton($hbox, $loc->N("&Cancel") ); + my $selectButton = $factory->createPushButton($hbox, $loc->N("&Select all") ); + my $updateButton = $factory->createPushButton($hbox, $loc->N("&Update") ); while(1) { my $event = $dialog->waitForEvent(); |