diff options
author | Thierry Vignaud <tv@mandriva.org> | 2009-09-30 16:12:56 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2009-09-30 16:12:56 +0000 |
commit | 246f33c7410d9af83f2d2ca092b1486c3694080c (patch) | |
tree | d938acc8e92d558b1c3f8deddd257de33a61526b | |
parent | 7b65d6633d3afb39ed7c9881e8dc4c3719f567b4 (diff) | |
download | rpmdrake-246f33c7410d9af83f2d2ca092b1486c3694080c.tar rpmdrake-246f33c7410d9af83f2d2ca092b1486c3694080c.tar.gz rpmdrake-246f33c7410d9af83f2d2ca092b1486c3694080c.tar.bz2 rpmdrake-246f33c7410d9af83f2d2ca092b1486c3694080c.tar.xz rpmdrake-246f33c7410d9af83f2d2ca092b1486c3694080c.zip |
(mainwindow) use proper stock icons for arrows
-rw-r--r-- | NEWS | 2 | ||||
-rw-r--r-- | Rpmdrake/edit_urpm_sources.pm | 11 |
2 files changed, 11 insertions, 2 deletions
@@ -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), ), ) ), |