summaryrefslogtreecommitdiffstats
path: root/src/ui/dialog/export.cpp
diff options
context:
space:
mode:
authorAlex Valavanis <valavanisalex@gmail.com>2013-03-16 12:20:26 +0000
committerAlex Valavanis <valavanisalex@gmail.com>2013-03-16 12:20:26 +0000
commitefa9bdd372b89848165dc575fafff45851514e69 (patch)
tree96b34e71ff3aa38989acf45ba227fb103b2166fe /src/ui/dialog/export.cpp
parentDrop a couple of unused variables and a pixmap (diff)
downloadinkscape-efa9bdd372b89848165dc575fafff45851514e69.tar.gz
inkscape-efa9bdd372b89848165dc575fafff45851514e69.zip
Warning cleanup
(bzr r12211)
Diffstat (limited to 'src/ui/dialog/export.cpp')
-rw-r--r--src/ui/dialog/export.cpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/ui/dialog/export.cpp b/src/ui/dialog/export.cpp
index 66c9e6ed0..086e52a6c 100644
--- a/src/ui/dialog/export.cpp
+++ b/src/ui/dialog/export.cpp
@@ -133,6 +133,15 @@ namespace Inkscape {
namespace UI {
namespace Dialog {
+/** A list of strings that is used both in the preferences, and in the
+ data fields to describe the various values of \c selection_type. */
+static const char * selection_names[SELECTION_NUMBER_OF] = {
+ "page", "drawing", "selection", "custom"};
+
+/** The names on the buttons for the various selection types. */
+static const char * selection_labels[SELECTION_NUMBER_OF] = {
+ N_("_Page"), N_("_Drawing"), N_("_Selection"), N_("_Custom")};
+
Export::Export (void) :
UI::Widget::Panel ("", "/dialogs/export/", SP_VERB_DIALOG_EXPORT),
current_key(SELECTION_PAGE),