aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--NEWS2
-rw-r--r--Rpmdrake/edit_urpm_sources.pm11
2 files changed, 11 insertions, 2 deletions
diff --git a/NEWS b/NEWS
index 263d4f84..7014e117 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,5 @@
+- edit-urpm-sources:
+ o use proper stock icons for arrows
- rpmdrake
o added dependencies section in package details panel
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),
),
)
),