diff options
| author | Ted Gould <ted@gould.cx> | 2006-05-06 16:10:26 +0000 |
|---|---|---|
| committer | gouldtj <gouldtj@users.sourceforge.net> | 2006-05-06 16:10:26 +0000 |
| commit | 3077670bcd722ec42944edae08d7be366cb2e871 (patch) | |
| tree | 59829de1cfc3fbf30b37f18e7b3ecc70e1c8c773 | |
| parent | r11761@tres: ted | 2006-05-06 08:59:32 -0700 (diff) | |
| download | inkscape-3077670bcd722ec42944edae08d7be366cb2e871.tar.gz inkscape-3077670bcd722ec42944edae08d7be366cb2e871.zip | |
r11769@tres: ted | 2006-05-06 09:09:59 -0700
For some reason SVK lost this change...
(bzr r753)
| -rw-r--r-- | src/extension/parameter.cpp | 14 |
1 files changed, 1 insertions, 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(); |
