summaryrefslogtreecommitdiffstats
path: root/perl-install/standalone
diff options
context:
space:
mode:
authorThierry Vignaud <thierry.vignaud@gmail.com>2015-05-25 08:17:18 -0400
committerThierry Vignaud <thierry.vignaud@gmail.com>2015-05-25 08:17:18 -0400
commitde555f75ac4522e620f7cd8fe057ec18bae935e2 (patch)
tree6ea1e101e44f17e5af7dbedb282706e6a084d388 /perl-install/standalone
parent53674811710747e28152b05c22748fe2a7f7f9e5 (diff)
downloaddrakx-de555f75ac4522e620f7cd8fe057ec18bae935e2.tar
drakx-de555f75ac4522e620f7cd8fe057ec18bae935e2.tar.gz
drakx-de555f75ac4522e620f7cd8fe057ec18bae935e2.tar.bz2
drakx-de555f75ac4522e620f7cd8fe057ec18bae935e2.tar.xz
drakx-de555f75ac4522e620f7cd8fe057ec18bae935e2.zip
set min width for left panel (mga#16026)
side effect of the switch from gtk+2 to gtk+3 which behaves differently
Diffstat (limited to 'perl-install/standalone')
-rwxr-xr-xperl-install/standalone/harddrake23
1 files changed, 2 insertions, 1 deletions
diff --git a/perl-install/standalone/harddrake2 b/perl-install/standalone/harddrake2
index fc42d285c..ad328365f 100755
--- a/perl-install/standalone/harddrake2
+++ b/perl-install/standalone/harddrake2
@@ -243,7 +243,7 @@ my $tree_model = Gtk3::TreeStore->new("Gtk3::Gdk::Pixbuf", "Glib::String", "Glib
$w->{window}->add(gtkpack_(0, Gtk3::VBox->new(0, 0),
0, $menubar,
0, Gtk3::Banner->new("/usr/share/mcc/themes/default/harddrake-mdk.png", translate("Hardware")),
- 1, create_hpaned(gtkadd(Gtk3::Frame->new(N("Detected hardware")),
+ 1, create_hpaned(my $f = gtkadd(Gtk3::Frame->new(N("Detected hardware")),
create_scrolled_window(gtkset_size_request(my $tree = Gtk3::TreeView->new_with_model($tree_model), 350, -1), ['automatic', 'automatic'])),
gtkpack_(0, Gtk3::VBox->new(0, 0),
1, gtkadd(my $frame = Gtk3::Frame->new(N("Information")),
@@ -265,6 +265,7 @@ $w->{window}->add(gtkpack_(0, Gtk3::VBox->new(0, 0),
)
);
+$f->set_size_request(350, -1);
$text->set_wrap_mode('word');
$frame->set_size_request(300, 450) unless $::isEmbedded;
# $tree->set_column_auto_resize(0, 1);