Commit 81945e7a authored by Rodrigo Moya's avatar Rodrigo Moya
Browse files

region: Add System tab

parent 08b7bdd1
......@@ -21,6 +21,8 @@ libregion_la_SOURCES = \
gnome-region-panel-formats.h \
gnome-region-panel-lang.c \
gnome-region-panel-lang.h \
gnome-region-panel-system.c \
gnome-region-panel-system.h \
gnome-region-panel-xkb.c \
gnome-region-panel-xkblt.c \
gnome-region-panel-xkbltadd.c \
......
......@@ -25,6 +25,7 @@
#include "gnome-region-panel-xkb.h"
#include "gnome-region-panel-lang.h"
#include "gnome-region-panel-formats.h"
#include "gnome-region-panel-system.h"
#define WID(s) GTK_WIDGET (gtk_builder_get_object (dialog, s))
......@@ -122,6 +123,7 @@ cc_region_panel_init (CcRegionPanel * self)
setup_xkb_tabs (priv->builder);
setup_language (priv->builder);
setup_formats (priv->builder);
setup_system (priv->builder);
}
void
......
/*
* Copyright (C) 2011 Rodrigo Moya
*
* Written by: Rodrigo Moya <rodrigo@gnome.org>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2, or (at your option)
* any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
* 02111-1307, USA.
*/
#ifdef HAVE_CONFIG_H
# include <config.h>
#endif
#include "cc-common-language.h"
#include "gdm-languages.h"
#include "gnome-region-panel-system.h"
static GSettings *locale_settings;
void
setup_system (GtkBuilder *builder)
{
gchar *user_language;
locale_settings = g_settings_new ("org.gnome.system.locale");
user_language = cc_common_language_get_current_language ();
}
/*
* Copyright (C) 2011 Rodrigo Moya
*
* Written by: Rodrigo Moya <rodrigo@gnome.org>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2, or (at your option)
* any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
* 02111-1307, USA.
*/
#ifndef __GNOME_REGION_PANEL_SYSTEM_H
#define __GNOME_REGION_PANEL_SYSTEM_H
#include <gtk/gtk.h>
void setup_system (GtkBuilder *builder);
#endif
This diff is collapsed.
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment