diff options
| author | Alexander Valavanis <valavanisalex@gmail.com> | 2017-08-06 17:18:16 +0000 |
|---|---|---|
| committer | Alexander Valavanis <valavanisalex@gmail.com> | 2017-08-06 17:18:16 +0000 |
| commit | e9504dc3454ae8733dd84e7fd5e614116d0d1f74 (patch) | |
| tree | 16017d90c8050bf636387ba79bd48b18878bb336 | |
| parent | Add GUI and code to implement "Line Spacing Modes". (diff) | |
| download | inkscape-e9504dc3454ae8733dd84e7fd5e614116d0d1f74.tar.gz inkscape-e9504dc3454ae8733dd84e7fd5e614116d0d1f74.zip | |
objects dialog: Gtk+ < 3.16 compat
| -rw-r--r-- | src/ui/dialog/objects.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/ui/dialog/objects.cpp b/src/ui/dialog/objects.cpp index dd8879dc1..65ef0cca8 100644 --- a/src/ui/dialog/objects.cpp +++ b/src/ui/dialog/objects.cpp @@ -280,7 +280,11 @@ Gtk::MenuItem& ObjectsPanel::_addPopupItem( SPDesktop *desktop, unsigned int cod } Gtk::Label *menu_label = Gtk::manage(new Gtk::Label(label, true)); +#if WITH_GTKMM_3_16 menu_label->set_xalign(0.0); +#else + menu_label->set_set_alignment(0.0, 0.5); +#endif box->pack_start(*menu_label, true, true, 0); item->add(*box); item->show_all(); |
