From: dooglus Date: Thu, 27 Sep 2007 00:30:16 +0000 (+0000) Subject: export SYNFIG_DISABLE_POPUP_WINDOWS=1 to stop the "one moment please" staying on... X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=afe92a970c64ec70d74100879c9e95aea77f16b6;p=synfig.git export SYNFIG_DISABLE_POPUP_WINDOWS=1 to stop the "one moment please" staying on top. This is useful when debugging, because the 'one moment' often turns into 'several hours', and it's annoying to have an opaque strip in the centre of the screen for so long. git-svn-id: http://svn.voria.com/code@770 1f10aa63-cdf2-0310-b900-c93c546f37ac --- diff --git a/synfig-studio/trunk/src/gtkmm/onemoment.cpp b/synfig-studio/trunk/src/gtkmm/onemoment.cpp index f8bf4ec..2b311d0 100644 --- a/synfig-studio/trunk/src/gtkmm/onemoment.cpp +++ b/synfig-studio/trunk/src/gtkmm/onemoment.cpp @@ -81,9 +81,9 @@ using namespace studio; /* === M E T H O D S ======================================================= */ -OneMoment::OneMoment(): Gtk::Window(Gtk::WINDOW_POPUP) +OneMoment::OneMoment(): + Gtk::Window(getenv("SYNFIG_DISABLE_POPUP_WINDOWS") ? Gtk::WINDOW_TOPLEVEL : Gtk::WINDOW_POPUP) { - // Create the Copyright Label Gtk::Label *label = manage(new class Gtk::Label(_("One Moment, Please...")));