diff options
author | Rafael Garcia-Suarez <rgarciasuarez@mandriva.org> | 2004-11-17 16:21:37 +0000 |
---|---|---|
committer | Rafael Garcia-Suarez <rgarciasuarez@mandriva.org> | 2004-11-17 16:21:37 +0000 |
commit | 94d4ee9f06ebe8e4ab3f41c8662e85c8aa3db3c3 (patch) | |
tree | 7a9b00a0cc585f4c9f3804778c8e4df63dc4cc58 | |
parent | f1de580eee3adf2fefb9ee1d85471061024a0d7a (diff) | |
download | rpmdrake-94d4ee9f06ebe8e4ab3f41c8662e85c8aa3db3c3.tar rpmdrake-94d4ee9f06ebe8e4ab3f41c8662e85c8aa3db3c3.tar.gz rpmdrake-94d4ee9f06ebe8e4ab3f41c8662e85c8aa3db3c3.tar.bz2 rpmdrake-94d4ee9f06ebe8e4ab3f41c8662e85c8aa3db3c3.tar.xz rpmdrake-94d4ee9f06ebe8e4ab3f41c8662e85c8aa3db3c3.zip |
Indentation
-rwxr-xr-x | edit-urpm-sources.pl | 79 |
1 files changed, 47 insertions, 32 deletions
diff --git a/edit-urpm-sources.pl b/edit-urpm-sources.pl index 11f772df..54c82ef2 100755 --- a/edit-urpm-sources.pl +++ b/edit-urpm-sources.pl @@ -712,38 +712,53 @@ sub mainwindow { }; $reread_media->(); - gtkadd($mainw->{window}, - gtkpack_(Gtk2::VBox->new(0,5), - 1, gtkpack_(Gtk2::HBox->new(0, 10), - 1, $list_tv, - 0, gtkpack__(Gtk2::VBox->new(0, 5), - gtksignal_connect($remove = Gtk2::Button->new(but(N("Remove"))), - clicked => sub { remove_callback(); $reread_media->() }), - gtksignal_connect( - $edit = Gtk2::Button->new(but(N("Edit"))), - clicked => sub { - my $name = edit_callback(); defined $name and $reread_media->($name); - } - ), - gtksignal_connect(Gtk2::Button->new(but(N("Add..."))), - clicked => sub { add_callback() and $reread_media->() }), - gtksignal_connect( - Gtk2::Button->new(but(N("Update..."))), - clicked => sub { - update_callback() and $reread_media->(); - }, - ), - gtksignal_connect(Gtk2::Button->new(but(N("Manage keys..."))), clicked => \&keys_callback), - gtksignal_connect(Gtk2::Button->new(but(N("Proxy..."))), clicked => \&proxy_callback), - gtksignal_connect(Gtk2::Button->new(but(N("Parallel..."))), clicked => \¶llel_callback))), - 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("Ok"))), clicked => sub { Gtk2->main_quit })))); + gtkadd( + $mainw->{window}, + gtkpack_( + Gtk2::VBox->new(0,5), + 1, gtkpack_( + Gtk2::HBox->new(0, 10), + 1, $list_tv, + 0, gtkpack__( + Gtk2::VBox->new(0, 5), + gtksignal_connect( + $remove = Gtk2::Button->new(but(N("Remove"))), + clicked => sub { remove_callback(); $reread_media->() }, + ), + gtksignal_connect( + $edit = Gtk2::Button->new(but(N("Edit"))), + clicked => sub { + my $name = edit_callback(); defined $name and $reread_media->($name); + } + ), + gtksignal_connect( + Gtk2::Button->new(but(N("Add..."))), + clicked => sub { add_callback() and $reread_media->() }, + ), + gtksignal_connect( + Gtk2::Button->new(but(N("Update..."))), + clicked => sub { update_callback() and $reread_media->() }, + ), + gtksignal_connect(Gtk2::Button->new(but(N("Manage keys..."))), clicked => \&keys_callback), + gtksignal_connect(Gtk2::Button->new(but(N("Proxy..."))), clicked => \&proxy_callback), + gtksignal_connect(Gtk2::Button->new(but(N("Parallel..."))), clicked => \¶llel_callback) + ) + ), + 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("Ok"))), clicked => sub { Gtk2->main_quit }) + ) + ) + ); $mainw->main; } |