aboutsummaryrefslogtreecommitdiffstats
path: root/Rpmdrake
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2009-09-30 16:12:56 +0000
committerThierry Vignaud <tv@mandriva.org>2009-09-30 16:12:56 +0000
commit246f33c7410d9af83f2d2ca092b1486c3694080c (patch)
treed938acc8e92d558b1c3f8deddd257de33a61526b /Rpmdrake
parent7b65d6633d3afb39ed7c9881e8dc4c3719f567b4 (diff)
downloadrpmdrake-246f33c7410d9af83f2d2ca092b1486c3694080c.tar
rpmdrake-246f33c7410d9af83f2d2ca092b1486c3694080c.tar.gz
rpmdrake-246f33c7410d9af83f2d2ca092b1486c3694080c.tar.bz2
rpmdrake-246f33c7410d9af83f2d2ca092b1486c3694080c.tar.xz
rpmdrake-246f33c7410d9af83f2d2ca092b1486c3694080c.zip
(mainwindow) use proper stock icons for arrows
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),
),
)
),