aboutsummaryrefslogtreecommitdiffstats
path: root/edit-urpm-sources.pl
diff options
context:
space:
mode:
authorRafael Garcia-Suarez <rgarciasuarez@mandriva.org>2005-01-12 16:25:54 +0000
committerRafael Garcia-Suarez <rgarciasuarez@mandriva.org>2005-01-12 16:25:54 +0000
commitd96e19996b42448eb77720058af4b5654393974e (patch)
tree9bf751fecec4de43d1f7077e08d8354dd2f7741f /edit-urpm-sources.pl
parent0c6ad798be8bdf7206cd03a9318262ea52ade5cf (diff)
downloadrpmdrake-d96e19996b42448eb77720058af4b5654393974e.tar
rpmdrake-d96e19996b42448eb77720058af4b5654393974e.tar.gz
rpmdrake-d96e19996b42448eb77720058af4b5654393974e.tar.bz2
rpmdrake-d96e19996b42448eb77720058af4b5654393974e.tar.xz
rpmdrake-d96e19996b42448eb77720058af4b5654393974e.zip
Factorize open-help code
Diffstat (limited to 'edit-urpm-sources.pl')
-rwxr-xr-xedit-urpm-sources.pl10
1 files changed, 1 insertions, 9 deletions
diff --git a/edit-urpm-sources.pl b/edit-urpm-sources.pl
index 690402c8..3b054f4b 100755
--- a/edit-urpm-sources.pl
+++ b/edit-urpm-sources.pl
@@ -978,15 +978,7 @@ sub mainwindow {
),
0, Gtk2::HSeparator->new,
0, gtkpack(create_hbox('edge'),
- 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("Help"))), clicked => sub { rpmdrake::open_help('sources') }),
gtksignal_connect(Gtk2::Button->new(but(N("Ok"))), clicked => sub { Gtk2->main_quit })
)
)