diff options
Diffstat (limited to 'src/extension/param')
| -rw-r--r-- | src/extension/param/bool.cpp | 4 | ||||
| -rw-r--r-- | src/extension/param/description.cpp | 8 | ||||
| -rw-r--r-- | src/extension/param/enum.cpp | 5 | ||||
| -rw-r--r-- | src/extension/param/float.cpp | 5 | ||||
| -rw-r--r-- | src/extension/param/int.cpp | 5 | ||||
| -rw-r--r-- | src/extension/param/radiobutton.cpp | 4 | ||||
| -rw-r--r-- | src/extension/param/string.cpp | 5 |
7 files changed, 0 insertions, 36 deletions
diff --git a/src/extension/param/bool.cpp b/src/extension/param/bool.cpp index abef8d8f3..de9b1c586 100644 --- a/src/extension/param/bool.cpp +++ b/src/extension/param/bool.cpp @@ -137,11 +137,7 @@ Gtk::Widget *ParamBool::get_widget(SPDocument * doc, Inkscape::XML::Node * node, Gtk::HBox * hbox = Gtk::manage(new Gtk::HBox(false, 4)); #endif -#if WITH_GTKMM_2_22 Gtk::Label * label = Gtk::manage(new Gtk::Label(_(_text), Gtk::ALIGN_START)); -#else - Gtk::Label * label = Gtk::manage(new Gtk::Label(_(_text), Gtk::ALIGN_LEFT)); -#endif label->show(); hbox->pack_end(*label, true, true); diff --git a/src/extension/param/description.cpp b/src/extension/param/description.cpp index efdf03721..ae2d88ab3 100644 --- a/src/extension/param/description.cpp +++ b/src/extension/param/description.cpp @@ -77,20 +77,12 @@ 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(); diff --git a/src/extension/param/enum.cpp b/src/extension/param/enum.cpp index 74ae995fb..b1968a4d6 100644 --- a/src/extension/param/enum.cpp +++ b/src/extension/param/enum.cpp @@ -232,12 +232,7 @@ Gtk::Widget *ParamComboBox::get_widget(SPDocument * doc, Inkscape::XML::Node * n } Gtk::HBox * hbox = Gtk::manage(new Gtk::HBox(false, 4)); - -#if WITH_GTKMM_2_22 Gtk::Label * label = Gtk::manage(new Gtk::Label(_(_text), Gtk::ALIGN_START)); -#else - Gtk::Label * label = Gtk::manage(new Gtk::Label(_(_text), Gtk::ALIGN_LEFT)); -#endif label->show(); hbox->pack_start(*label, false, false, _indent); diff --git a/src/extension/param/float.cpp b/src/extension/param/float.cpp index 2f1c77d4e..b9ffe68d2 100644 --- a/src/extension/param/float.cpp +++ b/src/extension/param/float.cpp @@ -175,12 +175,7 @@ Gtk::Widget * ParamFloat::get_widget(SPDocument * doc, Inkscape::XML::Node * nod } Gtk::HBox * hbox = Gtk::manage(new Gtk::HBox(false, 4)); - -#if WITH_GTKMM_2_22 Gtk::Label * label = Gtk::manage(new Gtk::Label(_(_text), Gtk::ALIGN_START)); -#else - Gtk::Label * label = Gtk::manage(new Gtk::Label(_(_text), Gtk::ALIGN_LEFT)); -#endif label->show(); hbox->pack_start(*label, true, true, _indent); diff --git a/src/extension/param/int.cpp b/src/extension/param/int.cpp index fe29f1230..7cb930f50 100644 --- a/src/extension/param/int.cpp +++ b/src/extension/param/int.cpp @@ -156,12 +156,7 @@ ParamInt::get_widget (SPDocument * doc, Inkscape::XML::Node * node, sigc::signal } Gtk::HBox * hbox = Gtk::manage(new Gtk::HBox(false, 4)); - -#if WITH_GTKMM_2_22 Gtk::Label * label = Gtk::manage(new Gtk::Label(_(_text), Gtk::ALIGN_START)); -#else - Gtk::Label * label = Gtk::manage(new Gtk::Label(_(_text), Gtk::ALIGN_LEFT)); -#endif label->show(); hbox->pack_start(*label, true, true, _indent); diff --git a/src/extension/param/radiobutton.cpp b/src/extension/param/radiobutton.cpp index d71d60ebd..5b5e179d2 100644 --- a/src/extension/param/radiobutton.cpp +++ b/src/extension/param/radiobutton.cpp @@ -284,11 +284,7 @@ Gtk::Widget * ParamRadioButton::get_widget(SPDocument * doc, Inkscape::XML::Node Gtk::VBox * vbox = Gtk::manage(new Gtk::VBox(false, 0)); #endif -#if WITH_GTKMM_2_22 Gtk::Label * label = Gtk::manage(new Gtk::Label(_(_text), Gtk::ALIGN_START, Gtk::ALIGN_START)); -#else - Gtk::Label * label = Gtk::manage(new Gtk::Label(_(_text), Gtk::ALIGN_LEFT, Gtk::ALIGN_TOP)); -#endif label->show(); hbox->pack_start(*label, false, false, _indent); diff --git a/src/extension/param/string.cpp b/src/extension/param/string.cpp index cf2b0f5d5..2020fb24d 100644 --- a/src/extension/param/string.cpp +++ b/src/extension/param/string.cpp @@ -165,12 +165,7 @@ Gtk::Widget * ParamString::get_widget(SPDocument * doc, Inkscape::XML::Node * no } Gtk::HBox * hbox = Gtk::manage(new Gtk::HBox(false, 4)); - -#if WITH_GTKMM_2_22 Gtk::Label * label = Gtk::manage(new Gtk::Label(_(_text), Gtk::ALIGN_START)); -#else - Gtk::Label * label = Gtk::manage(new Gtk::Label(_(_text), Gtk::ALIGN_LEFT)); -#endif label->show(); hbox->pack_start(*label, false, false, _indent); |
