diff options
author | Charles Kerr <charles.kerr@canonical.com> | 2012-02-14 21:43:08 -0600 |
---|---|---|
committer | Charles Kerr <charles.kerr@canonical.com> | 2012-02-14 21:43:08 -0600 |
commit | e89e4271e1c160036668e92f7106ec4c57994e07 (patch) | |
tree | d52a59889e1194cb8093d1dd0c16c288e2848f8e | |
parent | ecaf87264769ac093530341f8b2221622394948f (diff) | |
parent | 17b9be589ed42a933751eef55de3e83a38626da8 (diff) | |
download | ayatana-indicator-datetime-e89e4271e1c160036668e92f7106ec4c57994e07.tar.gz ayatana-indicator-datetime-e89e4271e1c160036668e92f7106ec4c57994e07.tar.bz2 ayatana-indicator-datetime-e89e4271e1c160036668e92f7106ec4c57994e07.zip |
merging TreviƱo's lp:~3v1n0/indicator-datetime/add-name-hint
-rw-r--r-- | src/indicator-datetime.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/indicator-datetime.c b/src/indicator-datetime.c index 38f178b..c847d47 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, @@ -1556,3 +1558,9 @@ get_accessible_desc (IndicatorObject * io) } return NULL; } + +static const gchar * +get_name_hint (IndicatorObject * io) +{ + return PACKAGE_NAME; +} |