aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2006-11-28 18:49:51 +0000
committerThierry Vignaud <tv@mandriva.org>2006-11-28 18:49:51 +0000
commita330919c3b40d3931bab4de7b05081027c5dfa6a (patch)
tree6f89185f63ff68912389724d338dbe5ffdbfacbb
parent14295f45dc29c65b26b5efa393e00a5cdaeafcf3 (diff)
downloadrpmdrake-a330919c3b40d3931bab4de7b05081027c5dfa6a.tar
rpmdrake-a330919c3b40d3931bab4de7b05081027c5dfa6a.tar.gz
rpmdrake-a330919c3b40d3931bab4de7b05081027c5dfa6a.tar.bz2
rpmdrake-a330919c3b40d3931bab4de7b05081027c5dfa6a.tar.xz
rpmdrake-a330919c3b40d3931bab4de7b05081027c5dfa6a.zip
(mainwindow) simplify through new mugtk2
-rwxr-xr-xedit-urpm-sources.pl4
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),
),
)
),