aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--NEWS2
-rw-r--r--rpmdrake.pm12
2 files changed, 8 insertions, 6 deletions
diff --git a/NEWS b/NEWS
index 8d7ac47f..15d2656d 100644
--- a/NEWS
+++ b/NEWS
@@ -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")),