2
2
Eiciel - GNOME editor of ACL file permissions.
3
Copyright (C) 2004-2005 Roger Ferrer Ib��ez
3
Copyright (C) 2004-2010 Roger Ferrer Ib��ez
5
5
This program is free software; you can redistribute it and/or modify
6
6
it under the terms of the GNU General Public License as published by
15
15
You should have received a copy of the GNU General Public License
16
16
along with this program; if not, write to the Free Software
17
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
17
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
19
19
#include "config.hpp"
21
21
#include "eiciel_container.hpp"
22
22
#include <gettext.h>
23
#include <libgnome/libgnome.h>
25
24
int main(int argc, char* argv[])
28
setlocale(LC_ALL, "");
27
setlocale(LC_ALL, "");
29
28
bindtextdomain("eiciel", DATADIR "/locale");
30
// textdomain("eiciel");
32
// Volem les traduccions en UTF-8 (independentment del
33
// format usat per a traduir)
30
// We want translations in UTF-8
34
31
bind_textdomain_codeset ("eiciel", "UTF-8");
37
33
GnomeProgram *my_app;
38
34
my_app = gnome_program_init(PACKAGE, VERSION,
39
LIBGNOME_MODULE, argc, argv,
35
LIBGNOME_MODULE, argc, argv,
40
36
GNOME_PARAM_HUMAN_READABLE_NAME, "Eiciel",
41
37
GNOME_PARAM_APP_DATADIR, DATADIR,
43
Gtk::Main kit(argc, argv);
49
w.obrirFitxer(argv[1]);
40
Gtk::Main kit(argc, argv);