aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuillaume Cottenceau <gc@mandriva.com>2003-01-07 17:10:50 +0000
committerGuillaume Cottenceau <gc@mandriva.com>2003-01-07 17:10:50 +0000
commita80aeb0bb4622e121297b37c2d053d40935ab43d (patch)
tree775d27ee2c75df62948526391500638ed37220d0
parent1783350796748bb9237d2ca41f367050edcd11c4 (diff)
downloadrpmdrake-a80aeb0bb4622e121297b37c2d053d40935ab43d.tar
rpmdrake-a80aeb0bb4622e121297b37c2d053d40935ab43d.tar.gz
rpmdrake-a80aeb0bb4622e121297b37c2d053d40935ab43d.tar.bz2
rpmdrake-a80aeb0bb4622e121297b37c2d053d40935ab43d.tar.xz
rpmdrake-a80aeb0bb4622e121297b37c2d053d40935ab43d.zip
restore gtk-1.2 look by putting the tree and the textview each in
a GtkFrame with an 'in' shadow type
-rwxr-xr-xrpmdrake12
1 files changed, 7 insertions, 5 deletions
diff --git a/rpmdrake b/rpmdrake
index 1f594e1d..d65b4fdd 100755
--- a/rpmdrake
+++ b/rpmdrake
@@ -681,12 +681,14 @@ Is it ok to continue?", $formatlistpkg->(sort { $a cmp $b } keys %{$urpm->{state
0, 1, 0, 1, 'fill', 'fill', 0, 0);
$table->attach(gtkpack__(Gtk2::HBox->new(0, 0), gtkpack(Gtk2::VBox->new(0, 0), Gtk2::Label->new, @descr_modes)),
1, 2, 0, 1, 'fill', 'fill', 0, 0);
- $table->attach(gtkset_size_request(create_scrolled_window($tree), $typical_width*1.25, -1),
+ $table->attach(gtkadd(gtkset_shadow_type(Gtk2::Frame->new, 'in'),
+ gtkset_size_request(create_scrolled_window($tree), $typical_width*1.25, -1)),
0, 1, 1, 2, 'fill', 'fill', 0, 0);
- $table->attach($MODE eq 'update' ? create_vpaned(create_scrolled_window($info),
- create_scrolled_window($info_update = Gtk2::TextView->new),
- resize1 => 1)
- : create_scrolled_window($info),
+ $table->attach(gtkadd(gtkset_shadow_type(Gtk2::Frame->new, 'in'),
+ $MODE eq 'update' ? create_vpaned(create_scrolled_window($info),
+ create_scrolled_window($info_update = Gtk2::TextView->new),
+ resize1 => 1)
+ : create_scrolled_window($info)),
1, 2, 1, 2, ['expand', 'fill'], ['expand', 'fill'], 0, 0);
gtkadd($w->{window},
gtkpack_(Gtk2::VBox->new(0, 3),