diff options
author | Thierry Vignaud <tv@mandriva.org> | 2009-02-09 14:19:01 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2009-02-09 14:19:01 +0000 |
commit | 82a284d0fa7bb03b16796e116dafb3ebf504b9ba (patch) | |
tree | 7352b52d9a36ac11ec33e9b9c9be03d784efb576 | |
parent | 748edfb30f05bd07793ff0ceda9d365cd04da8e8 (diff) | |
download | rpmdrake-82a284d0fa7bb03b16796e116dafb3ebf504b9ba.tar rpmdrake-82a284d0fa7bb03b16796e116dafb3ebf504b9ba.tar.gz rpmdrake-82a284d0fa7bb03b16796e116dafb3ebf504b9ba.tar.bz2 rpmdrake-82a284d0fa7bb03b16796e116dafb3ebf504b9ba.tar.xz rpmdrake-82a284d0fa7bb03b16796e116dafb3ebf504b9ba.zip |
(update_sources_interactive) fix media selection dialog layout so that
dialog behaves smoothly on resizing (#47271)
-rw-r--r-- | NEWS | 2 | ||||
-rw-r--r-- | rpmdrake.pm | 12 |
2 files changed, 8 insertions, 6 deletions
@@ -2,6 +2,8 @@ o add media even if one failed instead of rollbacking all of them (regression introduced in urpmi-6.19) o fix displayling big list of media to remove (#46773) + o fix media selection dialog layout so that dialog behaves smoothly + on resizing (#47271) - MandrivaUpdate: o use new proper API to select media, thus fixing not updating media (side effect of urpmi API changes, #47209) diff --git a/rpmdrake.pm b/rpmdrake.pm index 11944d8a..f1fd54fb 100644 --- a/rpmdrake.pm +++ b/rpmdrake.pm @@ -798,10 +798,10 @@ sub update_sources_interactive { } gtkadd( $w->{window}, - gtkpack__( - Gtk2::VBox->new(0,5), - Gtk2::Label->new(N("Select the media you wish to update:")), - gtknew('ScrolledWindow', height => 300, child => + gtkpack_( + 0, Gtk2::VBox->new(0,5), + 0, Gtk2::Label->new(N("Select the media you wish to update:")), + 1, gtknew('ScrolledWindow', height => 300, child => # FIXME: using a listview would be just better: gtknew('VBox', spacing => 5, children_tight => [ @buttons = map { @@ -809,8 +809,8 @@ sub update_sources_interactive { } @media ]) ), - Gtk2::HSeparator->new, - gtkpack( + 0, Gtk2::HSeparator->new, + 0, gtkpack( create_hbox(), gtksignal_connect( Gtk2::Button->new(N("Cancel")), |