aboutsummaryrefslogtreecommitdiffstats
path: root/edit-urpm-sources.pl
diff options
context:
space:
mode:
authorGuillaume Cottenceau <gc@mandriva.com>2003-09-03 17:09:15 +0000
committerGuillaume Cottenceau <gc@mandriva.com>2003-09-03 17:09:15 +0000
commit2ced78526c559c754255ea3ef6f492bf4ad46577 (patch)
tree1ebcb6ee49e3be1454ed97edf395bc481e20fe0d /edit-urpm-sources.pl
parent3b5ef79602ac6f12b312f9115e1e03804ae1c54a (diff)
downloadrpmdrake-2ced78526c559c754255ea3ef6f492bf4ad46577.tar
rpmdrake-2ced78526c559c754255ea3ef6f492bf4ad46577.tar.gz
rpmdrake-2ced78526c559c754255ea3ef6f492bf4ad46577.tar.bz2
rpmdrake-2ced78526c559c754255ea3ef6f492bf4ad46577.tar.xz
rpmdrake-2ced78526c559c754255ea3ef6f492bf4ad46577.zip
add an help button to the Media Editor
Diffstat (limited to 'edit-urpm-sources.pl')
-rwxr-xr-xedit-urpm-sources.pl7
1 files changed, 6 insertions, 1 deletions
diff --git a/edit-urpm-sources.pl b/edit-urpm-sources.pl
index a534bcc0..aaef7e43 100755
--- a/edit-urpm-sources.pl
+++ b/edit-urpm-sources.pl
@@ -652,7 +652,12 @@ sub mainwindow {
gtksignal_connect(Gtk2::Button->new(but(N("Parallel..."))), clicked => \&parallel_callback))),
0, Gtk2::HSeparator->new,
0, gtkpack(create_hbox(),
- gtksignal_connect(Gtk2::Button->new(N("Ok")), clicked => sub { Gtk2->main_quit }))));
+ gtksignal_connect(Gtk2::Button->new(but(N("Help"))), clicked => sub {
+ system("drakhelp --id software-management-sources &");
+ interactive_msg(N("Help launched in background"),
+ N("The help window has been started, it should appear shortly on your desktop."));
+ }),
+ gtksignal_connect(Gtk2::Button->new(but(N("Ok"))), clicked => sub { Gtk2->main_quit }))));
$mainw->main;
}