X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=synfig-studio%2Ftrunk%2Fsrc%2Fgtkmm%2Fdock_metadata.cpp;h=3dce59a1a67692192b38f45f28ad05a4e6d610ec;hb=9459638ad6797b8139f1e9f0715c96076dbf0890;hp=289e6aea6bdd434866b77b57ea397006fe5bcfe5;hpb=02252941b29de64037116f4d37991a38d9ff0d94;p=synfig.git diff --git a/synfig-studio/trunk/src/gtkmm/dock_metadata.cpp b/synfig-studio/trunk/src/gtkmm/dock_metadata.cpp index 289e6ae..3dce59a 100644 --- a/synfig-studio/trunk/src/gtkmm/dock_metadata.cpp +++ b/synfig-studio/trunk/src/gtkmm/dock_metadata.cpp @@ -2,19 +2,20 @@ /*! \file dock_metadata.cpp ** \brief Template File ** -** $Id: dock_metadata.cpp,v 1.1.1.1 2005/01/07 03:34:36 darco Exp $ +** $Id$ ** ** \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 */ /* ========================================================================= */ @@ -40,6 +41,8 @@ #include "metadatatreestore.h" #include "canvasview.h" +#include "general.h" + #endif /* === U S I N G =========================================================== */ @@ -62,11 +65,11 @@ Dock_MetaData::Dock_MetaData(): tree_view(manage(new Gtk::TreeView())) { MetaDataTreeStore::Model model; - + tree_view->append_column(_("Key"),model.key); tree_view->append_column_editable(_("Data"),model.data); tree_view->set_rules_hint(); - + Gtk::ScrolledWindow *scrolledwindow = manage(new class Gtk::ScrolledWindow()); scrolledwindow->set_flags(Gtk::CAN_FOCUS); scrolledwindow->set_policy(Gtk::POLICY_AUTOMATIC, Gtk::POLICY_AUTOMATIC); @@ -128,7 +131,7 @@ Dock_MetaData::on_add_pressed() if(get_canvas_interface()) { synfig::String key; - if(App::dialog_entry("New MetaData Entry", "Please enter the name of the key",key) && !key.empty()) + if(App::dialog_entry(_("New MetaData Entry"), _("Please enter the name of the key"),key) && !key.empty()) { get_canvas_interface()->set_meta_data(key," "); }