aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuillaume Cottenceau <gc@mandriva.com>2003-03-05 15:26:05 +0000
committerGuillaume Cottenceau <gc@mandriva.com>2003-03-05 15:26:05 +0000
commit557da3187314986dbe7877f225c7663baa736f2a (patch)
treea0417e2ced11751ace9a93df492ddbc77c3e0c46
parenta61052a8adff1707a3b8562bf287fc608c7bd709 (diff)
downloadrpmdrake-557da3187314986dbe7877f225c7663baa736f2a.tar
rpmdrake-557da3187314986dbe7877f225c7663baa736f2a.tar.gz
rpmdrake-557da3187314986dbe7877f225c7663baa736f2a.tar.bz2
rpmdrake-557da3187314986dbe7877f225c7663baa736f2a.tar.xz
rpmdrake-557da3187314986dbe7877f225c7663baa736f2a.zip
choose a mirror dialog: larger default size so that the scrollbars don't appear
-rw-r--r--rpmdrake.pm5
1 files changed, 2 insertions, 3 deletions
diff --git a/rpmdrake.pm b/rpmdrake.pm
index bba569b1..35ecda87 100644
--- a/rpmdrake.pm
+++ b/rpmdrake.pm
@@ -222,7 +222,7 @@ my %t2l = (
'Asia/(Taipei|Beijing)' => [ qw(zn jp), @$us ],
'Atlantic/Reykjavik' => [ qw(uk no se dk) ],
'Australia/\w+' => [ qw(au jp ko tw), @$us ],
- 'Brazil/\w+' => [ 'br', @$us ],
+ 'Brazil/\w+' => [ 'br', @$us ],
'Canada/\w+' => [ 'ca', @$us ],
'Europe/Amsterdam' => [ qw(nl be de at) ],
'Europe/Athens' => [ qw(gr pl de nl at) ],
@@ -301,7 +301,6 @@ by Mandrake Linux Official Updates.")), return '';
my $tree_model = Gtk2::TreeStore->new(Gtk2::GType->STRING);
my $tree = Gtk2::TreeView->new_with_model($tree_model);
$tree->get_selection->set_mode('browse');
-# $tree->set_row_height($tree->style->font->ascent + $tree->style->font->descent + 1); FIXME is that still needed?
my $column = Gtk2::TreeViewColumn->new_with_attributes(undef, Gtk2::CellRendererText->new, 'text' => 0);
$tree->append_column($column);
$tree->set_headers_visible(0);
@@ -326,7 +325,7 @@ by Mandrake Linux Official Updates.")), return '';
$tree_model->append_set($roots{$_->{land}} ||= $tree_model->append_set(undef, [ 0 => $_->{land} ]),
[ 0 => $_->{url} ])->free foreach @mirrors;
- $w->{window}->set_size_request(400, 300);
+ $w->{window}->set_size_request(500, 400);
$w->{rwindow}->show_all;
my $path = Gtk2::TreePath->new_first;