summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Winship <danw@gnome.org>2014-02-06 12:59:13 +0100
committerDan Winship <danw@gnome.org>2014-02-17 15:30:04 -0500
commit6ee48dc964b27788da4375a65c05815d22985b5e (patch)
treee72b48eddaa6c515d4098909b378376b6baa5c83
parent5d581b0d08fdebbefd65541f6f843f56d94db21a (diff)
downloadNetworkManager-6ee48dc964b27788da4375a65c05815d22985b5e.tar.gz
tui: fix flickering with large windows
Use newtPopWindowNoRefresh() rather than newtPopWindow() when destroying a form, since often we have to destroy and then almost immediately after re-create the same form, and we don't want that to be visible.
-rw-r--r--tui/newt/nmt-newt-form.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tui/newt/nmt-newt-form.c b/tui/newt/nmt-newt-form.c
index 19edef7d98..8191c75ea4 100644
--- a/tui/newt/nmt-newt-form.c
+++ b/tui/newt/nmt-newt-form.c
@@ -262,7 +262,7 @@ nmt_newt_form_destroy (NmtNewtForm *form)
newtFormDestroy (priv->form);
priv->form = NULL;
- newtPopWindow ();
+ newtPopWindowNoRefresh ();
nmt_newt_widget_unrealize (priv->content);
}