Remove .gitignore do nothing is ignored.
[synfig.git] / synfig-studio / trunk / src / gtkmm / dockdialog.cpp
index a445309..614e8db 100644 (file)
@@ -6,7 +6,7 @@
 **
 **     \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
@@ -50,6 +50,8 @@
 #include <gtkmm/box.h>
 #include <synfigapp/main.h>
 
+#include "general.h"
+
 #endif
 
 /* === U S I N G =========================================================== */
@@ -110,7 +112,7 @@ DockDialog::DockDialog():
 
        // 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);
@@ -150,7 +152,7 @@ DockDialog::~DockDialog()
        {
                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
@@ -442,7 +444,9 @@ DockDialog::refresh_accel_group()
 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;
@@ -556,5 +560,5 @@ DockDialog::refresh_title()
                set_title(title);
        }
        else
-               set_title(_("Empty Dock Dialog"));
+               set_title(_("Empty Dock Panel"));
 }