diff options
author | Thierry Vignaud <tvignaud@mandriva.org> | 2004-01-09 14:42:16 +0000 |
---|---|---|
committer | Thierry Vignaud <tvignaud@mandriva.org> | 2004-01-09 14:42:16 +0000 |
commit | a59ce7621dbfe5a98c45a580ed66b6b4d6de0133 (patch) | |
tree | cc00c52818fa271298205bf471a697638d1ad354 | |
parent | d0b2b24338784fd9f3f084b32f40af660cf2e981 (diff) | |
download | control-center-a59ce7621dbfe5a98c45a580ed66b6b4d6de0133.tar control-center-a59ce7621dbfe5a98c45a580ed66b6b4d6de0133.tar.gz control-center-a59ce7621dbfe5a98c45a580ed66b6b4d6de0133.tar.bz2 control-center-a59ce7621dbfe5a98c45a580ed66b6b4d6de0133.tar.xz control-center-a59ce7621dbfe5a98c45a580ed66b6b4d6de0133.zip |
make sure the button bar always has the same size whether there're
visible buttons or not
-rwxr-xr-x | control-center | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/control-center b/control-center index 13a9ff6b..b5edd75c 100755 --- a/control-center +++ b/control-center @@ -518,8 +518,8 @@ gtkadd($window_global, 0, Gtk2::HSeparator->new, ), 0, my $buttons = gtkadd(gtkset_layout(Gtk2::HButtonBox->new, 'end'), - Gtk2::Label->new, map { gtkset_border_width($_, 3) } + gtkset_sensitive(gtkset_relief(Gtk2::Button->new(""), 'none'), 0), gtksignal_connect(my $cancel = Gtk2::Button->new(N("Cancel")), clicked => sub { Glib::Source->remove($timeout) if $timeout; kill_children(); |