diff options
author | Thierry Vignaud <tv@mandriva.org> | 2006-11-28 18:49:51 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2006-11-28 18:49:51 +0000 |
commit | a330919c3b40d3931bab4de7b05081027c5dfa6a (patch) | |
tree | 6f89185f63ff68912389724d338dbe5ffdbfacbb | |
parent | 14295f45dc29c65b26b5efa393e00a5cdaeafcf3 (diff) | |
download | rpmdrake-a330919c3b40d3931bab4de7b05081027c5dfa6a.tar rpmdrake-a330919c3b40d3931bab4de7b05081027c5dfa6a.tar.gz rpmdrake-a330919c3b40d3931bab4de7b05081027c5dfa6a.tar.bz2 rpmdrake-a330919c3b40d3931bab4de7b05081027c5dfa6a.tar.xz rpmdrake-a330919c3b40d3931bab4de7b05081027c5dfa6a.zip |
(mainwindow) simplify through new mugtk2
-rwxr-xr-x | edit-urpm-sources.pl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/edit-urpm-sources.pl b/edit-urpm-sources.pl index 7ef5c9aa..64675e8c 100755 --- a/edit-urpm-sources.pl +++ b/edit-urpm-sources.pl @@ -1021,8 +1021,8 @@ sub mainwindow { gtksignal_connect(Gtk2::Button->new(but(N("Global options..."))), clicked => \&options_callback), gtkpack( gtknew('HBox'), - gtksignal_connect(gtkadd($up_button = gtknew('Button', mnemonic => 0), Gtk2::Arrow->new("up", "none")), clicked => \&upwards_callback), - gtksignal_connect(gtkadd($dw_button = gtknew('Button', mnemonic => 0), Gtk2::Arrow->new("down", "none")), clicked => \&downwards_callback), + gtksignal_connect($up_button = gtknew('Button', child => Gtk2::Arrow->new("up", "none")), clicked => \&upwards_callback), + gtksignal_connect($dw_button = gtknew('Button', child => Gtk2::Arrow->new("down", "none")), clicked => \&downwards_callback), ), ) ), |