diff options
author | Thierry Vignaud <thierry.vignaud@gmail.com> | 2015-05-25 08:17:18 -0400 |
---|---|---|
committer | Thierry Vignaud <thierry.vignaud@gmail.com> | 2015-05-25 08:17:18 -0400 |
commit | de555f75ac4522e620f7cd8fe057ec18bae935e2 (patch) | |
tree | 6ea1e101e44f17e5af7dbedb282706e6a084d388 /perl-install | |
parent | 53674811710747e28152b05c22748fe2a7f7f9e5 (diff) | |
download | drakx-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')
-rw-r--r-- | perl-install/NEWS | 3 | ||||
-rwxr-xr-x | perl-install/standalone/harddrake2 | 3 |
2 files changed, 5 insertions, 1 deletions
diff --git a/perl-install/NEWS b/perl-install/NEWS index 4697b5d77..c961faba7 100644 --- a/perl-install/NEWS +++ b/perl-install/NEWS @@ -1,3 +1,6 @@ +- harddrake2: + o set min width for left panel (mga#16026) + Version 16.101 - 25 May 2015 - library (for draklive-install): 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); |