**
** \legal
** Copyright (c) 2002-2005 Robert B. Quattlebaum Jr., Adrian Bentley
-** Copyright (c) 2007 Chris Moore
+** Copyright (c) 2007, 2008 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
#include <gtkmm/box.h>
#include <synfigapp/main.h>
+#include "general.h"
+
#endif
/* === U S I N G =========================================================== */
// Set up the window
//set_type_hint(Gdk::WINDOW_TYPE_HINT_UTILITY);
- set_title("Dock Dialog");
+ set_title(_("Dock Panel"));
// Register with the dock manager
App::dock_manager->dock_dialog_list_.push_back(this);
{
dock_book_list.front()->clear();
- //! \fixme: UGLY HACK
+ //! \todo Fix this UGLY HACK
// The following line really should be uncommented,
// but it causes crashes. Without it, a small
// memory hole is created--but at least it doesn't crash
// delete dock_book_list.front();
// Oddly enough, the following line should
- // theoreticly do the same thing after this
+ // theoretically do the same thing after this
// class is destroyed, but it doesn't seem to
// cause a crash. It does, however, trigger this warning:
//
bool
DockDialog::close()
{
- synfig::info("DockDialog::close(): DELETED!");
+ if (getenv("SYNFIG_DEBUG_DESTRUCTORS"))
+ synfig::info("DockDialog::close(): Deleted");
+
empty_sig.disconnect();
//get_dock_book().clear();
delete this;
set_title(title);
}
else
- set_title(_("Empty Dock Dialog"));
+ set_title(_("Empty Dock Panel"));
}