summaryrefslogtreecommitdiffstats
path: root/src/dialogs/export.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/dialogs/export.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/dialogs/export.cpp')
-rw-r--r--src/dialogs/export.cpp14
1 files changed, 13 insertions, 1 deletions
diff --git a/src/dialogs/export.cpp b/src/dialogs/export.cpp
index 499c720a9..759745cbf 100644
--- a/src/dialogs/export.cpp
+++ b/src/dialogs/export.cpp
@@ -272,7 +272,11 @@ sp_export_dialog_area_box (GtkWidget * dlg)
{
Gtk::VBox* vb = new Gtk::VBox(false, 3);
+#if WITH_GTKMM_2_22
Gtk::Label* lbl = new Gtk::Label(_("<big><b>Export area</b></big>"), Gtk::ALIGN_START);
+#else
+ Gtk::Label* lbl = new Gtk::Label(_("<big><b>Export area</b></big>"), Gtk::ALIGN_LEFT);
+#endif
lbl->set_use_markup(true);
vb->pack_start(*lbl);
@@ -470,7 +474,11 @@ sp_export_dialog (void)
Gtk::VBox *size_box = new Gtk::VBox(false, 3);
size_box->set_border_width(3);
+#if WITH_GTKMM_2_22
Gtk::Label* lbl = new Gtk::Label(_("<big><b>Bitmap size</b></big>"), Gtk::ALIGN_START);
+#else
+ Gtk::Label* lbl = new Gtk::Label(_("<big><b>Bitmap size</b></big>"), Gtk::ALIGN_LEFT);
+#endif
lbl->set_use_markup(true);
size_box->pack_start(*lbl, false, false, 0);
const int rows = 2;
@@ -519,7 +527,11 @@ sp_export_dialog (void)
file_box->set_border_width(3);
// true = has mnemonic
- Gtk::Label *flabel = new Gtk::Label(_("<big><b>_Filename</b></big>"), Gtk::ALIGN_START, Gtk::ALIGN_CENTER, true);
+#if WITH_GTKMM_2_22
+ Gtk::Label *flabel = new Gtk::Label(_("<big><b>_Filename</b></big>"), Gtk::ALIGN_START, Gtk::ALIGN_CENTER, true);
+#else
+ Gtk::Label *flabel = new Gtk::Label(_("<big><b>_Filename</b></big>"), Gtk::ALIGN_LEFT, Gtk::ALIGN_CENTER, true);
+#endif
flabel->set_use_markup(true);
file_box->pack_start(*flabel, false, false, 0);