graph-displayer.cc
branchgui
changeset 134 82e19031c319
parent 130 3533c2d9a865
child 174 95872af46fc4
equal deleted inserted replaced
11:719062d968f4 12:2832d7f5300e
     7 #include "main_win.h"
     7 #include "main_win.h"
     8 #include <libgnomecanvasmm.h>
     8 #include <libgnomecanvasmm.h>
     9 #include <libgnomecanvasmm/polygon.h>
     9 #include <libgnomecanvasmm/polygon.h>
    10 
    10 
    11 #include <locale.h>
    11 #include <locale.h>
    12 #include "gettext.h"
       
    13 
    12 
    14 #define MAIN_PART
    13 #define MAIN_PART
    15 
    14 
    16 std::vector <std::string> edge_property_strings;
    15 std::vector <std::string> edge_property_strings;
    17 std::vector <double> edge_property_defaults;
    16 std::vector <double> edge_property_defaults;
    19 std::vector <double> node_property_defaults;
    18 std::vector <double> node_property_defaults;
    20 int longest_property_string_length;
    19 int longest_property_string_length;
    21 
    20 
    22 int main(int argc, char *argv[])
    21 int main(int argc, char *argv[])
    23 {
    22 {
       
    23   setlocale(LC_ALL, "");
    24   bindtextdomain(PACKAGE, LOCALEDIR);
    24   bindtextdomain(PACKAGE, LOCALEDIR);
    25   bind_textdomain_codeset(PACKAGE, "UTF-8");
    25   bind_textdomain_codeset(PACKAGE, "UTF-8");
    26   textdomain(PACKAGE);
    26   textdomain(PACKAGE);
    27 
    27 
    28   //initializing
    28   //initializing