From 1617c1891a746fb9013e977f01c8eb4b6dc6990d Mon Sep 17 00:00:00 2001 From: gouldtj Date: Sat, 6 May 2006 16:10:26 +0000 Subject: [PATCH] r11769@tres: ted | 2006-05-06 09:09:59 -0700 For some reason SVK lost this change... --- src/extension/parameter.cpp | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-) diff --git a/src/extension/parameter.cpp b/src/extension/parameter.cpp index 694d81279..a4ba31678 100644 --- a/src/extension/parameter.cpp +++ b/src/extension/parameter.cpp @@ -46,7 +46,6 @@ private: public: ParamDescription(const gchar * name, const gchar * guitext, const gchar * desc, const Parameter::_scope_t scope, Inkscape::Extension::Extension * ext, Inkscape::XML::Node * xml); Gtk::Widget * get_widget(SPDocument * doc, Inkscape::XML::Node * node); - Glib::ustring * string (void); }; /** \brief A boolean parameter */ @@ -861,22 +860,11 @@ ParamString::string (void) return mystring; } -/** \brief Return the value as a string */ -Glib::ustring * -ParamDescription::string (void) -{ - Glib::ustring * mystring = new Glib::ustring(""); - *mystring += "\""; - *mystring += _value; - *mystring += "\""; - return mystring; -} - /** \brief Create a label for the description */ Gtk::Widget * ParamDescription::get_widget (SPDocument * doc, Inkscape::XML::Node * node) { - Gtk::Label * label = Gtk::manage(new Gtk::Label(_value)); + Gtk::Label * label = Gtk::manage(new Gtk::Label(_(_value))); label->set_line_wrap(); label->show(); -- 2.39.5