X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=synfig-studio%2Ftrunk%2Fsrc%2Fgtkmm%2Fdock_history.cpp;h=af43e0488640b0a3aa92ab470f6bf6399e2e6e37;hb=32d54ad4e87fa4b94c09e5d85e90a0da2b71cc8d;hp=dde2718370ec9825cdf9f99612c81df25241f91c;hpb=3a3c4bca3a17137bec5d7960560934b91ef4146e;p=synfig.git diff --git a/synfig-studio/trunk/src/gtkmm/dock_history.cpp b/synfig-studio/trunk/src/gtkmm/dock_history.cpp index dde2718..af43e04 100644 --- a/synfig-studio/trunk/src/gtkmm/dock_history.cpp +++ b/synfig-studio/trunk/src/gtkmm/dock_history.cpp @@ -1,20 +1,21 @@ -/* === S I N F G =========================================================== */ +/* === S Y N F I G ========================================================= */ /*! \file dialog_history.cpp ** \brief Template File ** ** $Id: dock_history.cpp,v 1.1.1.1 2005/01/07 03:34:36 darco Exp $ ** ** \legal -** Copyright (c) 2002 Robert B. Quattlebaum Jr. +** Copyright (c) 2002-2005 Robert B. Quattlebaum Jr., Adrian Bentley ** -** This software and associated documentation -** are CONFIDENTIAL and PROPRIETARY property of -** the above-mentioned copyright holder. +** This package is free software; you can redistribute it and/or +** modify it under the terms of the GNU General Public License as +** published by the Free Software Foundation; either version 2 of +** the License, or (at your option) any later version. ** -** You may not copy, print, publish, or in any -** other way distribute this software without -** a prior written agreement with -** the copyright holder. +** This package is distributed in the hope that it will be useful, +** 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 */ /* ========================================================================= */ @@ -39,7 +40,7 @@ #include #include #include -#include +#include #include "historytreestore.h" #endif @@ -48,7 +49,7 @@ using namespace std; using namespace etl; -using namespace sinfg; +using namespace synfig; using namespace studio; /* === M A C R O S ========================================================= */ @@ -70,7 +71,7 @@ Dock_History::Dock_History(): action_group->add(Gtk::Action::create( "clear-undo", - Gtk::StockID("sinfg-clear_undo"), + Gtk::StockID("synfig-clear_undo"), _("Clear the UNDO Stack"), _("Clear the UNDO Stack") ), @@ -81,7 +82,7 @@ Dock_History::Dock_History(): ); action_group->add(Gtk::Action::create( "clear-redo", - Gtk::StockID("sinfg-clear_redo"), + Gtk::StockID("synfig-clear_redo"), _("Clear the REDO Stack"), _("Clear the REDO Stack") ), @@ -130,7 +131,7 @@ Dock_History::Dock_History(): /* add_button( - Gtk::StockID("sinfg-clear_undo"), + Gtk::StockID("synfig-clear_undo"), _("Clear the UNDO Stack") )->signal_clicked().connect( sigc::mem_fun( @@ -139,7 +140,7 @@ Dock_History::Dock_History(): ) ); add_button( - Gtk::StockID("sinfg-clear_redo"), + Gtk::StockID("synfig-clear_redo"), _("Clear the REDO Stack") )->signal_clicked().connect( sigc::mem_fun( @@ -360,7 +361,7 @@ Dock_History::on_action_event(GdkEvent *event) //signal_user_click()(event->button.button,row,(ColumnID)column->get_sort_column_id()); if((ColumnID)column->get_sort_column_id()==COLUMNID_JUMP) { - etl::handle action(row[model.action]); + etl::handle action(row[model.action]); try{ if((bool)row[model.is_undo]) { @@ -399,7 +400,7 @@ Dock_History::on_action_toggle(const Glib::ustring& path_string) const Gtk::TreeRow row = *(selected_instance->history_tree_store()->get_iter(path)); - handle action=row[history_tree_model.action]; + handle action=row[history_tree_model.action]; - selected_instance->sinfgapp::Instance::set_action_status(action,!action->is_active()); + selected_instance->synfigapp::Instance::set_action_status(action,!action->is_active()); }