aboutsummaryrefslogtreecommitdiffstats
path: root/Rpmdrake
diff options
context:
space:
mode:
Diffstat (limited to 'Rpmdrake')
-rw-r--r--Rpmdrake/edit_urpm_sources.pm11
1 files changed, 9 insertions, 2 deletions
diff --git a/Rpmdrake/edit_urpm_sources.pm b/Rpmdrake/edit_urpm_sources.pm
index e3045144..5fb3d3c0 100644
--- a/Rpmdrake/edit_urpm_sources.pm
+++ b/Rpmdrake/edit_urpm_sources.pm
@@ -1142,8 +1142,15 @@ sub mainwindow() {
),
gtkpack(
gtknew('HBox'),
- 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),
+ gtksignal_connect(
+ $up_button = gtknew('Button',
+ image => gtknew('Image', stock => 'gtk-go-up')),
+ clicked => \&upwards_callback),
+
+ gtksignal_connect(
+ $dw_button = gtknew('Button',
+ image => gtknew('Image', stock => 'gtk-go-down')),
+ clicked => \&downwards_callback),
),
)
),