X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=synfig-studio%2Ftrunk%2Fsrc%2Fgtkmm%2Fonemoment.cpp;h=f0dd3c7b05fd7a84bc68af1a157953e69ca2ce23;hb=9459638ad6797b8139f1e9f0715c96076dbf0890;hp=cd790714e620c4fc00d0d30d22663fb315ca8618;hpb=842d1c156ee50dc0045a0b0272d090c01965b2f0;p=synfig.git diff --git a/synfig-studio/trunk/src/gtkmm/onemoment.cpp b/synfig-studio/trunk/src/gtkmm/onemoment.cpp index cd79071..f0dd3c7 100644 --- a/synfig-studio/trunk/src/gtkmm/onemoment.cpp +++ b/synfig-studio/trunk/src/gtkmm/onemoment.cpp @@ -1,9 +1,12 @@ -/*! ======================================================================== -** Synfig -** Template File -** $Id: onemoment.cpp,v 1.1.1.1 2005/01/07 03:34:36 darco Exp $ +/* === S Y N F I G ========================================================= */ +/*! \file onemoment.cpp +** \brief writeme ** +** $Id$ +** +** \legal ** Copyright (c) 2002-2005 Robert B. Quattlebaum Jr., Adrian Bentley +** Copyright (c) 2007 Chris Moore ** ** This package is free software; you can redistribute it and/or ** modify it under the terms of the GNU General Public License as @@ -14,6 +17,7 @@ ** but WITHOUT ANY WARRANTY; without even the implied warranty of ** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ** General Public License for more details. +** \endlegal ** ** === N O T E S =========================================================== ** @@ -44,6 +48,8 @@ #include "onemoment.h" #include "app.h" +#include "general.h" + #endif using namespace std; @@ -78,9 +84,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..."))); @@ -104,7 +110,7 @@ OneMoment::OneMoment(): Gtk::Window(Gtk::WINDOW_POPUP) // show everything off show_all(); - + present(); while(studio::App::events_pending())studio::App::iteration(false); }