summaryrefslogtreecommitdiffstats
path: root/src/extension/param/bool.cpp
diff options
context:
space:
mode:
authorAlex Valavanis <valavanisalex@gmail.com>2012-02-09 11:32:53 +0000
committerAlex Valavanis <valavanisalex@gmail.com>2012-02-09 11:32:53 +0000
commit543c421aede7cf64d9b5096d47c2d257c96e6863 (patch)
tree4d33b448c19a94776e3777ed55cbcfbc86eb4027 /src/extension/param/bool.cpp
parentTranslations. Translation template update. (diff)
downloadinkscape-543c421aede7cf64d9b5096d47c2d257c96e6863.tar.gz
inkscape-543c421aede7cf64d9b5096d47c2d257c96e6863.zip
Backward compat fix for Gtkmm 2.20
Fixed bugs: - https://launchpad.net/bugs/928520 (bzr r10956)
Diffstat (limited to 'src/extension/param/bool.cpp')
-rw-r--r--src/extension/param/bool.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/extension/param/bool.cpp b/src/extension/param/bool.cpp
index dade2c275..bc75e62fc 100644
--- a/src/extension/param/bool.cpp
+++ b/src/extension/param/bool.cpp
@@ -130,7 +130,11 @@ Gtk::Widget *ParamBool::get_widget(SPDocument * doc, Inkscape::XML::Node * node,
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_end(*label, true, true);