1
/* -*- Mode: C; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 8 -*-
3
* Authors: Alejandro J. Cura <alecu@canonical.com>
5
* Copyright (C) 2010 Canonical Ltd.
7
* This program is free software; you can redistribute it and/or modify
8
* it under the terms of the GNU General Public License version 3,
9
* as published by the Free Software Foundation.
11
* This program is distributed in the hope that it will be useful,
12
* but WITHOUT ANY WARRANTY; without even the implied warranty of
13
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14
* GNU General Public License for more details.
16
* You should have received a copy of the GNU General Public License
17
* along with this program; if not, write to the Free Software
18
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
29
#include <glib/gi18n.h>
32
#include "gsd-ubuntuone.h"
35
idle (GsdUbuntuOne *plugin)
37
gsd_ubuntuone_activate (GNOME_SETTINGS_PLUGIN (plugin));
42
main (int argc, char *argv[])
46
bindtextdomain (GETTEXT_PACKAGE, GNOME_SETTINGS_LOCALEDIR);
47
bind_textdomain_codeset (GETTEXT_PACKAGE, "UTF-8");
48
textdomain (GETTEXT_PACKAGE);
50
setlocale (LC_ALL, "");
52
gtk_init (&argc, &argv);
54
plugin = g_object_new (GSD_TYPE_UBUNTUONE, NULL);
55
g_idle_add ((GSourceFunc)idle, plugin);