[gnome-control-center/gsoc2011/location: 2/10] Add a broken location panel



commit 75447db955a2df4ecfa616ba914c7eadee1ecc9a
Author: StÃphane Maniaci <stephane maniaci gmail com>
Date:   Tue Jul 5 21:33:37 2011 +0200

    Add a broken location panel
    
    This should in time replace Date & Time
    settings, althought I'm not sure about how
    it overlaps with Region & Language, and other
    things. Need designer input.

 configure.ac                                       |    3 +
 panels/Makefile.am                                 |    2 +-
 panels/location/Makefile.am                        |   33 ++
 panels/location/cc-location-panel.c                |  128 ++++++++
 panels/location/cc-location-panel.h                |   73 +++++
 panels/location/gnome-location-panel.desktop.in.in |   17 +
 panels/location/location-module.c                  |   41 +++
 panels/location/location.ui                        |  326 ++++++++++++++++++++
 8 files changed, 622 insertions(+), 1 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index b53ac6f..5b3f519 100644
--- a/configure.ac
+++ b/configure.ac
@@ -109,6 +109,7 @@ PKG_CHECK_MODULES(PRINTERS_PANEL, $COMMON_MODULES dbus-glib-1
 PKG_CHECK_MODULES(REGION_PANEL, $COMMON_MODULES libgnomekbd >= 2.91.91
                   libxklavier >= 5.1 libgnomekbdui >= 2.91.91)
 PKG_CHECK_MODULES(SCREEN_PANEL, $COMMON_MODULES)
+PKG_CHECK_MODULES(LOCATION_PANEL, $COMMON_MODULES)
 PKG_CHECK_MODULES(SOUND_PANEL, $COMMON_MODULES libxml-2.0
                   libcanberra-gtk3 >= $CANBERRA_REQUIRED_VERSION
                   libpulse >= $PA_REQUIRED_VERSION
@@ -361,6 +362,8 @@ panels/sound/data/icons/scalable/devices/Makefile
 panels/sound/data/sounds/Makefile
 panels/screen/Makefile
 panels/screen/gnome-screen-panel.desktop.in
+panels/location/Makefile
+panels/location/gnome-location-panel.desktop.in
 panels/info/Makefile
 panels/info/gnome-info-panel.desktop.in
 panels/power/Makefile
diff --git a/panels/Makefile.am b/panels/Makefile.am
index 2797963..e346300 100644
--- a/panels/Makefile.am
+++ b/panels/Makefile.am
@@ -15,7 +15,7 @@ SUBDIRS= \
 	universal-access \
 	user-accounts \
 	datetime \
-	locations
+	location
 
 if BUILD_PRINTERS
 SUBDIRS += printers
diff --git a/panels/location/Makefile.am b/panels/location/Makefile.am
new file mode 100644
index 0000000..c53b0d4
--- /dev/null
+++ b/panels/location/Makefile.am
@@ -0,0 +1,33 @@
+cappletname = location
+
+INCLUDES = 						\
+	$(PANEL_CFLAGS)					\
+	$(LOCATION_PANEL_CFLAGS)			\
+	-DGNOMECC_UI_DIR="\"$(uidir)\""			\
+	-DGNOMELOCALEDIR="\"$(datadir)/locale\""	\
+	-DGNOMECC_DATA_DIR="\"$(pkgdatadir)\""		\
+	$(NULL)
+
+ccpanelsdir = $(PANELS_DIR)
+ccpanels_LTLIBRARIES = liblocation.la
+
+liblocation_la_SOURCES =    \
+	location-module.c   \
+	cc-location-panel.c \
+	cc-location-panel.h 
+
+liblocation_la_LIBADD = $(PANEL_LIBS) $(LOCATION_PANEL_LIBS)
+liblocation_la_LDFLAGS = $(PANEL_LDFLAGS)
+
+uidir = $(pkgdatadir)/ui
+dist_ui_DATA = location.ui
+
+ INTLTOOL_DESKTOP_RULE@
+
+desktopdir = $(datadir)/applications
+desktop_in_files = gnome-location-panel.desktop.in
+desktop_DATA = $(desktop_in_files:.desktop.in=.desktop)
+
+CLEANFILES = $(desktop_in_files) $(desktop_DATA)
+
+-include $(top_srcdir)/git.mk
diff --git a/panels/location/cc-location-panel.c b/panels/location/cc-location-panel.c
new file mode 100644
index 0000000..6808dca
--- /dev/null
+++ b/panels/location/cc-location-panel.c
@@ -0,0 +1,128 @@
+/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*-
+ *
+ * Copyright (C) 2010 Red Hat, Inc
+ * Copyright (C) 2008 William Jon McCann <jmccann redhat com>
+ *
+ * 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 of the License, 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.
+ *
+ */
+
+#include "cc-location-panel.h"
+
+G_DEFINE_DYNAMIC_TYPE (CcLocationPanel, cc_location_panel, CC_TYPE_PANEL)
+
+#define LOCATION_PANEL_PRIVATE(o) \
+  (G_TYPE_INSTANCE_GET_PRIVATE ((o), CC_TYPE_LOCATION_PANEL, CcLocationPanelPrivate))
+
+#define WID(s) GTK_WIDGET (gtk_builder_get_object (self->priv->builder, s))
+
+struct _CcLocationPanelPrivate
+{
+  GtkBuilder *builder;
+  /* that's where private vars go I guess */
+};
+
+static void
+cc_location_panel_get_property (GObject    *object,
+                              guint       property_id,
+                              GValue     *value,
+                              GParamSpec *pspec)
+{
+  switch (property_id)
+    {
+    default:
+      G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec);
+    }
+}
+
+static void
+cc_location_panel_set_property (GObject      *object,
+                              guint         property_id,
+                              const GValue *value,
+                              GParamSpec   *pspec)
+{
+  switch (property_id)
+    {
+    default:
+      G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec);
+    }
+}
+
+static void
+cc_location_panel_dispose (GObject *object)
+{
+  CcLocationPanelPrivate *priv = CC_LOCATION_PANEL (object)->priv;
+  G_OBJECT_CLASS (cc_location_panel_parent_class)->dispose (object);
+}
+
+static void
+cc_location_panel_finalize (GObject *object)
+{
+  CcLocationPanelPrivate *priv = CC_LOCATION_PANEL (object)->priv;
+  G_OBJECT_CLASS (cc_location_panel_parent_class)->finalize (object);
+}
+
+static void
+cc_location_panel_class_init (CcLocationPanelClass *klass)
+{
+  GObjectClass *object_class = G_OBJECT_CLASS (klass);
+
+  g_type_class_add_private (klass, sizeof (CcLocationPanelPrivate));
+
+  object_class->get_property = cc_location_panel_get_property;
+  object_class->set_property = cc_location_panel_set_property;
+  object_class->dispose = cc_location_panel_dispose;
+  object_class->finalize = cc_location_panel_finalize;
+}
+
+static void
+cc_location_panel_class_finalize (CcLocationPanelClass *klass)
+{
+}
+
+static void
+cc_location_panel_init (CcLocationPanel *self)
+{
+  GError     *error;
+  GtkWidget  *widget;
+
+  self->priv = LOCATION_PANEL_PRIVATE (self);
+
+  self->priv->builder = gtk_builder_new ();
+
+  error = NULL;
+  gtk_builder_add_from_file (self->priv->builder,
+                             GNOMECC_UI_DIR "/location.ui",
+                             &error);
+
+  if (error != NULL)
+    {
+      g_warning ("Could not load interface file: %s", error->message);
+      g_error_free (error);
+      return;
+    }
+
+  widget = WID ("box1");
+  gtk_widget_reparent (widget, (GtkWidget *) self);
+}
+
+void
+cc_location_panel_register (GIOModule *module)
+{
+  cc_location_panel_register_type (G_TYPE_MODULE (module));
+  g_io_extension_point_implement (CC_SHELL_PANEL_EXTENSION_POINT,
+                                  CC_TYPE_LOCATION_PANEL,
+                                  "location", 0);
+}
diff --git a/panels/location/cc-location-panel.h b/panels/location/cc-location-panel.h
new file mode 100644
index 0000000..6b407d0
--- /dev/null
+++ b/panels/location/cc-location-panel.h
@@ -0,0 +1,73 @@
+/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*-
+ *
+ * Copyright (C) 2010 Red Hat, Inc
+ *
+ * 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 of the License, 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 _CC_LOCATION_PANEL_H
+#define _CC_LOCATION_PANEL_H
+
+#include <libgnome-control-center/cc-panel.h>
+
+G_BEGIN_DECLS
+
+#define CC_TYPE_LOCATION_PANEL cc_location_panel_get_type()
+
+#define CC_LOCATION_PANEL(obj) \
+  (G_TYPE_CHECK_INSTANCE_CAST ((obj), \
+  CC_TYPE_LOCATION_PANEL, CcLocationPanel))
+
+#define CC_LOCATION_PANEL_CLASS(klass) \
+  (G_TYPE_CHECK_CLASS_CAST ((klass), \
+  CC_TYPE_LOCATION_PANEL, CcLocationPanelClass))
+
+#define CC_IS_LOCATION_PANEL(obj) \
+  (G_TYPE_CHECK_INSTANCE_TYPE ((obj), \
+  CC_TYPE_LOCATION_PANEL))
+
+#define CC_IS_LOCATION_PANEL_CLASS(klass) \
+  (G_TYPE_CHECK_CLASS_TYPE ((klass), \
+  CC_TYPE_LOCATION_PANEL))
+
+#define CC_LOCATION_PANEL_GET_CLASS(obj) \
+  (G_TYPE_INSTANCE_GET_CLASS ((obj), \
+  CC_TYPE_LOCATION_PANEL, CcLocationPanelClass))
+
+typedef struct _CcLocationPanel CcLocationPanel;
+typedef struct _CcLocationPanelClass CcLocationPanelClass;
+typedef struct _CcLocationPanelPrivate CcLocationPanelPrivate;
+
+struct _CcLocationPanel
+{
+  CcPanel parent;
+
+  CcLocationPanelPrivate *priv;
+};
+
+struct _CcLocationPanelClass
+{
+  CcPanelClass parent_class;
+};
+
+GType cc_location_panel_get_type (void) G_GNUC_CONST;
+
+void  cc_location_panel_register (GIOModule *module);
+
+G_END_DECLS
+
+#endif /* _CC_LOCATION_PANEL_H */
diff --git a/panels/location/gnome-location-panel.desktop.in.in b/panels/location/gnome-location-panel.desktop.in.in
new file mode 100644
index 0000000..39ed935
--- /dev/null
+++ b/panels/location/gnome-location-panel.desktop.in.in
@@ -0,0 +1,17 @@
+[Desktop Entry]
+_Name=Location
+_Comment=Geographical locations and timezones
+Exec=gnome-control-center location
+Icon=start-here
+Terminal=false
+Type=Application
+StartupNotify=true
+Categories=GNOME;GTK;Settings;DesktopSettings;X-GNOME-Settings-Panel;X-GNOME-PersonalSettings
+OnlyShowIn=GNOME;Unity;
+X-GNOME-Bugzilla-Bugzilla=GNOME
+X-GNOME-Bugzilla-Product=gnome-control-center
+X-GNOME-Bugzilla-Component=location
+X-GNOME-Bugzilla-Version= VERSION@
+X-GNOME-Settings-Panel=location
+# Translators: those are keywords for the brightness and lock control-center panel
+_X-GNOME-Keywords=Location;Region;Date;Time;Weather;Timezone;
diff --git a/panels/location/location-module.c b/panels/location/location-module.c
new file mode 100644
index 0000000..8a0a20f
--- /dev/null
+++ b/panels/location/location-module.c
@@ -0,0 +1,41 @@
+/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*-
+ *
+ * Copyright (C) 2010 Red Hat, Inc
+ *
+ * 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 of the License, 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.
+ *
+ *
+ */
+
+#include <config.h>
+
+#include "cc-location-panel.h"
+
+#include <glib/gi18n-lib.h>
+
+void
+g_io_module_load (GIOModule *module)
+{
+  bindtextdomain (GETTEXT_PACKAGE, GNOMELOCALEDIR);
+  bind_textdomain_codeset (GETTEXT_PACKAGE, "UTF-8");
+
+  /* register the panel */
+  cc_location_panel_register (module);
+}
+
+void
+g_io_module_unload (GIOModule *module)
+{
+}
diff --git a/panels/location/location.ui b/panels/location/location.ui
new file mode 100644
index 0000000..d489cb8
--- /dev/null
+++ b/panels/location/location.ui
@@ -0,0 +1,326 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<interface>
+  <!-- interface-requires gtk+ 3.0 -->
+  <object class="GtkListStore" id="liststore1">
+    <columns>
+      <!-- column-name city-name -->
+      <column type="gchararray"/>
+      <!-- column-name country -->
+      <column type="gchararray"/>
+      <!-- column-name time -->
+      <column type="gchararray"/>
+      <!-- column-name timezone -->
+      <column type="gchararray"/>
+    </columns>
+    <data>
+      <row>
+        <col id="0" translatable="yes">Montpellier</col>
+        <col id="1" translatable="yes">France</col>
+        <col id="2" translatable="yes">10:42</col>
+        <col id="3" translatable="yes">GMT +1</col>
+      </row>
+      <row>
+        <col id="0" translatable="yes">San Mateo</col>
+        <col id="1" translatable="yes">CA, United States of America</col>
+        <col id="2" translatable="yes">01:42</col>
+        <col id="3" translatable="yes">GMT -9</col>
+      </row>
+      <row>
+        <col id="0" translatable="yes">London</col>
+        <col id="1" translatable="yes">United Kingdom</col>
+        <col id="2" translatable="yes">11:42</col>
+        <col id="3" translatable="yes">GMT</col>
+      </row>
+    </data>
+  </object>
+  <object class="GtkWindow" id="main-window">
+    <property name="can_focus">False</property>
+    <property name="resizable">False</property>
+    <signal name="destroy-event" handler="_on_destroy" swapped="no"/>
+    <child>
+      <object class="GtkBox" id="box1">
+        <property name="visible">True</property>
+        <property name="can_focus">False</property>
+        <property name="orientation">vertical</property>
+        <child>
+          <object class="GtkImage" id="image1">
+            <property name="visible">True</property>
+            <property name="can_focus">False</property>
+            <property name="pixbuf">map.png</property>
+          </object>
+          <packing>
+            <property name="expand">False</property>
+            <property name="fill">True</property>
+            <property name="position">1</property>
+          </packing>
+        </child>
+        <child>
+          <object class="GtkBox" id="box5">
+            <property name="visible">True</property>
+            <property name="can_focus">False</property>
+            <property name="margin_left">12</property>
+            <property name="margin_right">12</property>
+            <property name="orientation">vertical</property>
+            <property name="spacing">6</property>
+            <child>
+              <object class="GtkBox" id="box2">
+                <property name="visible">True</property>
+                <property name="can_focus">False</property>
+                <child>
+                  <object class="GtkBox" id="box3">
+                    <property name="visible">True</property>
+                    <property name="can_focus">False</property>
+                    <property name="spacing">6</property>
+                    <child>
+                      <object class="GtkSwitch" id="networktime-switch">
+                        <property name="visible">True</property>
+                        <property name="can_focus">True</property>
+                        <property name="use_action_appearance">False</property>
+                        <property name="active">True</property>
+                        <signal name="activate" handler="_on_am_switch" swapped="no"/>
+                      </object>
+                      <packing>
+                        <property name="expand">False</property>
+                        <property name="fill">True</property>
+                        <property name="position">0</property>
+                      </packing>
+                    </child>
+                    <child>
+                      <object class="GtkLabel" id="label1">
+                        <property name="visible">True</property>
+                        <property name="can_focus">False</property>
+                        <property name="label" translatable="yes">Automatically set time</property>
+                      </object>
+                      <packing>
+                        <property name="expand">False</property>
+                        <property name="fill">True</property>
+                        <property name="position">1</property>
+                      </packing>
+                    </child>
+                    <child>
+                      <object class="GtkButton" id="conf_button">
+                        <property name="label" translatable="yes">Configure time...</property>
+                        <property name="visible">True</property>
+                        <property name="sensitive">False</property>
+                        <property name="can_focus">True</property>
+                        <property name="receives_default">True</property>
+                        <property name="use_action_appearance">False</property>
+                      </object>
+                      <packing>
+                        <property name="expand">False</property>
+                        <property name="fill">True</property>
+                        <property name="position">2</property>
+                      </packing>
+                    </child>
+                  </object>
+                  <packing>
+                    <property name="expand">False</property>
+                    <property name="fill">True</property>
+                    <property name="position">0</property>
+                  </packing>
+                </child>
+                <child>
+                  <object class="GtkBox" id="box4">
+                    <property name="visible">True</property>
+                    <property name="can_focus">False</property>
+                    <property name="spacing">6</property>
+                    <child>
+                      <object class="GtkLabel" id="label2">
+                        <property name="visible">True</property>
+                        <property name="can_focus">False</property>
+                        <property name="label" translatable="yes">Use AM format</property>
+                      </object>
+                      <packing>
+                        <property name="expand">False</property>
+                        <property name="fill">True</property>
+                        <property name="pack_type">end</property>
+                        <property name="position">0</property>
+                      </packing>
+                    </child>
+                    <child>
+                      <object class="GtkSwitch" id="switch1">
+                        <property name="visible">True</property>
+                        <property name="can_focus">True</property>
+                        <property name="halign">end</property>
+                        <property name="use_action_appearance">False</property>
+                      </object>
+                      <packing>
+                        <property name="expand">False</property>
+                        <property name="fill">True</property>
+                        <property name="position">1</property>
+                      </packing>
+                    </child>
+                  </object>
+                  <packing>
+                    <property name="expand">False</property>
+                    <property name="fill">True</property>
+                    <property name="pack_type">end</property>
+                    <property name="position">1</property>
+                  </packing>
+                </child>
+              </object>
+              <packing>
+                <property name="expand">False</property>
+                <property name="fill">True</property>
+                <property name="position">0</property>
+              </packing>
+            </child>
+            <child>
+              <object class="GtkBox" id="box6">
+                <property name="visible">True</property>
+                <property name="can_focus">False</property>
+                <property name="orientation">vertical</property>
+                <child>
+                  <object class="GtkScrolledWindow" id="scrolledwindow1">
+                    <property name="visible">True</property>
+                    <property name="can_focus">True</property>
+                    <property name="shadow_type">in</property>
+                    <property name="min_content_height">133</property>
+                    <child>
+                      <object class="GtkTreeView" id="treeview1">
+                        <property name="visible">True</property>
+                        <property name="can_focus">True</property>
+                        <property name="model">liststore1</property>
+                        <property name="headers_visible">False</property>
+                        <property name="headers_clickable">False</property>
+                        <property name="search_column">0</property>
+                        <child internal-child="selection">
+                          <object class="GtkTreeSelection" id="treeview-selection"/>
+                        </child>
+                        <child>
+                          <object class="GtkTreeViewColumn" id="citynamecolumn">
+                            <property name="title" translatable="yes">city</property>
+                            <child>
+                              <object class="GtkCellRendererText" id="cellrenderertext1"/>
+                              <attributes>
+                                <attribute name="text">0</attribute>
+                              </attributes>
+                            </child>
+                          </object>
+                        </child>
+                        <child>
+                          <object class="GtkTreeViewColumn" id="countrycolumn">
+                            <property name="title" translatable="yes">country</property>
+                            <child>
+                              <object class="GtkCellRendererText" id="cellrenderertext2">
+                                <property name="style">oblique</property>
+                              </object>
+                              <attributes>
+                                <attribute name="text">1</attribute>
+                              </attributes>
+                            </child>
+                          </object>
+                        </child>
+                        <child>
+                          <object class="GtkTreeViewColumn" id="tzcolumn">
+                            <property name="title" translatable="yes">tz</property>
+                            <property name="expand">True</property>
+                            <child>
+                              <object class="GtkCellRendererText" id="cellrenderertext3">
+                                <property name="xalign">1</property>
+                              </object>
+                              <attributes>
+                                <attribute name="text">3</attribute>
+                              </attributes>
+                            </child>
+                          </object>
+                        </child>
+                        <child>
+                          <object class="GtkTreeViewColumn" id="timecolumn">
+                            <property name="title" translatable="yes">time</property>
+                            <property name="alignment">1</property>
+                            <child>
+                              <object class="GtkCellRendererText" id="cellrenderertext4">
+                                <property name="xpad">26</property>
+                                <property name="xalign">1</property>
+                                <property name="yalign">0</property>
+                                <property name="scale">1.3300000000000001</property>
+                              </object>
+                              <attributes>
+                                <attribute name="text">2</attribute>
+                              </attributes>
+                            </child>
+                          </object>
+                        </child>
+                      </object>
+                    </child>
+                  </object>
+                  <packing>
+                    <property name="expand">False</property>
+                    <property name="fill">True</property>
+                    <property name="position">0</property>
+                  </packing>
+                </child>
+                <child>
+                  <object class="GtkToolbar" id="toolbar2">
+                    <property name="visible">True</property>
+                    <property name="can_focus">False</property>
+                    <property name="icon_size">1</property>
+                    <child>
+                      <object class="GtkToolButton" id="printer-add-button">
+                        <property name="visible">True</property>
+                        <property name="can_focus">False</property>
+                        <property name="use_action_appearance">False</property>
+                        <property name="label">AddPrinter</property>
+                        <property name="use_underline">True</property>
+                        <property name="icon_name">list-add-symbolic</property>
+                      </object>
+                      <packing>
+                        <property name="expand">False</property>
+                        <property name="homogeneous">True</property>
+                      </packing>
+                    </child>
+                    <child>
+                      <object class="GtkToolButton" id="printer-remove-button">
+                        <property name="visible">True</property>
+                        <property name="can_focus">False</property>
+                        <property name="use_action_appearance">False</property>
+                        <property name="label">RemovePrinter</property>
+                        <property name="use_underline">True</property>
+                        <property name="icon_name">list-remove-symbolic</property>
+                      </object>
+                      <packing>
+                        <property name="expand">False</property>
+                        <property name="homogeneous">True</property>
+                      </packing>
+                    </child>
+                    <child>
+                      <object class="GtkToolButton" id="location-mark-button">
+                        <property name="visible">True</property>
+                        <property name="can_focus">False</property>
+                        <property name="use_action_appearance">False</property>
+                        <property name="label" translatable="yes">HomeLocation</property>
+                        <property name="use_underline">True</property>
+                        <property name="icon_name">user-home-symbolic</property>
+                      </object>
+                      <packing>
+                        <property name="expand">False</property>
+                        <property name="homogeneous">True</property>
+                      </packing>
+                    </child>
+                  </object>
+                  <packing>
+                    <property name="expand">False</property>
+                    <property name="fill">True</property>
+                    <property name="position">1</property>
+                  </packing>
+                </child>
+              </object>
+              <packing>
+                <property name="expand">False</property>
+                <property name="fill">True</property>
+                <property name="position">1</property>
+              </packing>
+            </child>
+          </object>
+          <packing>
+            <property name="expand">False</property>
+            <property name="fill">True</property>
+            <property name="padding">12</property>
+            <property name="position">4</property>
+          </packing>
+        </child>
+      </object>
+    </child>
+  </object>
+</interface>



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]