aboutsummaryrefslogtreecommitdiffstats
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
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
-rwxr-xr-xedit-urpm-sources.pl7
-rw-r--r--rpmdrake.spec1
2 files changed, 7 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;
}
diff --git a/rpmdrake.spec b/rpmdrake.spec
index 86244659..c74d4810 100644
--- a/rpmdrake.spec
+++ b/rpmdrake.spec
@@ -106,6 +106,7 @@ rm -rf $RPM_BUILD_ROOT
- help:
- use --id
- launch the good sub-chapter
+ - add an help button to the Media Editor
* Tue Sep 02 2003 David Baudens <baudens@mandrakesoft.com> 2.1-33mdk
- Update banners