X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=synfig-studio%2Ftags%2Fstable%2Fsrc%2Fgtkmm%2Fonemoment.cpp;h=f0dd3c7b05fd7a84bc68af1a157953e69ca2ce23;hb=47fce282611fbba1044921d22ca887f9b53ad91a;hp=f8bf4ec85339b9c0deb9701c1e225ec9d80b5616;hpb=f6184c2a9c2245aae802c31c8f3300e1b744359c;p=synfig.git diff --git a/synfig-studio/tags/stable/src/gtkmm/onemoment.cpp b/synfig-studio/tags/stable/src/gtkmm/onemoment.cpp index f8bf4ec..f0dd3c7 100644 --- a/synfig-studio/tags/stable/src/gtkmm/onemoment.cpp +++ b/synfig-studio/tags/stable/src/gtkmm/onemoment.cpp @@ -6,6 +6,7 @@ ** ** \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 @@ -47,6 +48,8 @@ #include "onemoment.h" #include "app.h" +#include "general.h" + #endif using namespace std; @@ -81,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...")));