summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2005-09-14 11:46:22 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2005-09-14 11:46:22 +0000
commit0edfecce021220aeab274857313893f3d8b1b61b (patch)
tree917b584669d03b0977f5c5070b1119d622f4ed43
parent8ca06cadadc7d1ea989f7c2955f0fec8c6ed7d83 (diff)
downloadcontrol-center-0edfecce021220aeab274857313893f3d8b1b61b.tar
control-center-0edfecce021220aeab274857313893f3d8b1b61b.tar.gz
control-center-0edfecce021220aeab274857313893f3d8b1b61b.tar.bz2
control-center-0edfecce021220aeab274857313893f3d8b1b61b.tar.xz
control-center-0edfecce021220aeab274857313893f3d8b1b61b.zip
fix garbaged display when toggling "expert mode" while a tool is
embedded (#17212)
-rwxr-xr-xcontrol-center6
1 files changed, 4 insertions, 2 deletions
diff --git a/control-center b/control-center
index f13f31ee..4d555467 100755
--- a/control-center
+++ b/control-center
@@ -1077,8 +1077,10 @@ my @menu_items = (
my $pos = $notebook_global && $notebook_global->get_current_page;
refresh_tree(1);
if ($notebook_global) {
- $notebook_global->show_all;
- $notebook_global->queue_draw;
+ if (!$emb_socket) {
+ $notebook_global->show_all;
+ $notebook_global->queue_draw;
+ }
# restore previous position:
$notebook_global->set_current_page($pos) if $pos != -1;
}