aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarco Trevisan (Treviño) <mail@3v1n0.net>2011-11-08 22:46:58 +0100
committerMarco Trevisan (Treviño) <mail@3v1n0.net>2011-11-08 22:46:58 +0100
commit17b9be589ed42a933751eef55de3e83a38626da8 (patch)
tree40c8f5bce7fc8f7064d309a3df87cde48cc7ae73
parentba87e5cb673992cee0fcb0bb3c90523974836a30 (diff)
downloadayatana-indicator-datetime-17b9be589ed42a933751eef55de3e83a38626da8.tar.gz
ayatana-indicator-datetime-17b9be589ed42a933751eef55de3e83a38626da8.tar.bz2
ayatana-indicator-datetime-17b9be589ed42a933751eef55de3e83a38626da8.zip
Export the name_hint
Using the PACKAGE_NAME value
-rw-r--r--src/indicator-datetime.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/indicator-datetime.c b/src/indicator-datetime.c
index 8e5f421..1b6b6af 100644
--- a/src/indicator-datetime.c
+++ b/src/indicator-datetime.c
@@ -161,6 +161,7 @@ static void indicator_datetime_finalize (GObject *object);
static GtkLabel * get_label (IndicatorObject * io);
static GtkMenu * get_menu (IndicatorObject * io);
static const gchar * get_accessible_desc (IndicatorObject * io);
+static const gchar * get_name_hint (IndicatorObject * io);
static GVariant * bind_enum_set (const GValue * value, const GVariantType * type, gpointer user_data);
static gboolean bind_enum_get (GValue * value, GVariant * variant, gpointer user_data);
static gchar * generate_format_string_now (IndicatorDatetime * self);
@@ -200,6 +201,7 @@ indicator_datetime_class_init (IndicatorDatetimeClass *klass)
io_class->get_label = get_label;
io_class->get_menu = get_menu;
io_class->get_accessible_desc = get_accessible_desc;
+ io_class->get_name_hint = get_name_hint;
g_object_class_install_property (object_class,
PROP_SHOW_CLOCK,
@@ -1548,3 +1550,9 @@ get_accessible_desc (IndicatorObject * io)
}
return NULL;
}
+
+static const gchar *
+get_name_hint (IndicatorObject * io)
+{
+ return PACKAGE_NAME;
+}