diff options
Diffstat (limited to 'src/extension/param/description.cpp')
| -rw-r--r-- | src/extension/param/description.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/extension/param/description.cpp b/src/extension/param/description.cpp index f6bbb5447..bf6ae708a 100644 --- a/src/extension/param/description.cpp +++ b/src/extension/param/description.cpp @@ -81,12 +81,20 @@ ParamDescription::get_widget (SPDocument * /*doc*/, Inkscape::XML::Node * /*node Gtk::Label * label; int padding = 12 + _indent; if (_mode == HEADER) { +#if WITH_GTKMM_2_22 label = Gtk::manage(new Gtk::Label(Glib::ustring("<b>") +newguitext + Glib::ustring("</b>"), Gtk::ALIGN_START)); +#else + label = Gtk::manage(new Gtk::Label(Glib::ustring("<b>") +newguitext + Glib::ustring("</b>"), Gtk::ALIGN_LEFT)); +#endif label->set_padding(0,5); label->set_use_markup(true); padding = _indent; } else { +#if WITH_GTKMM_2_22 label = Gtk::manage(new Gtk::Label(newguitext, Gtk::ALIGN_START)); +#else + label = Gtk::manage(new Gtk::Label(newguitext, Gtk::ALIGN_LEFT)); +#endif } label->set_line_wrap(); label->show(); |
