aboutsummaryrefslogtreecommitdiff
path: root/src/title-widget.c
diff options
context:
space:
mode:
authorSebastien Bacher <seb128@ubuntu.com>2010-07-22 21:04:26 +0200
committerSebastien Bacher <seb128@ubuntu.com>2010-07-22 21:04:26 +0200
commit1777ee4291dc792ca3d4df087c8af23cd8458961 (patch)
tree101cc9ea1b424973a7c43cd7ce7bb9c4f9ac66aa /src/title-widget.c
parentf6ffb190261dfdbbf55e90b63c1cd06f03037e35 (diff)
parentc7316aef6047ef29ab71fbcd34d6932fb0e521ad (diff)
downloadayatana-indicator-sound-1777ee4291dc792ca3d4df087c8af23cd8458961.tar.gz
ayatana-indicator-sound-1777ee4291dc792ca3d4df087c8af23cd8458961.tar.bz2
ayatana-indicator-sound-1777ee4291dc792ca3d4df087c8af23cd8458961.zip
Import upstream version 0.3.8
Diffstat (limited to 'src/title-widget.c')
-rw-r--r--src/title-widget.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/title-widget.c b/src/title-widget.c
index 7e48940..8037eb7 100644
--- a/src/title-widget.c
+++ b/src/title-widget.c
@@ -152,7 +152,7 @@ title_widget_property_update(DbusmenuMenuitem* item, gchar* property,
TitleWidget* mitem = TITLE_WIDGET(userdata);
TitleWidgetPrivate * priv = TITLE_WIDGET_GET_PRIVATE(mitem);
- if(g_ascii_strcasecmp(DBUSMENU_TITLE_MENUITEM_TEXT_NAME, property) == 0){
+ if(g_ascii_strcasecmp(DBUSMENU_TITLE_MENUITEM_NAME, property) == 0){
gtk_label_set_text(GTK_LABEL(priv->name), g_value_get_string(value));
title_widget_style_name_text(mitem);
}
@@ -167,7 +167,7 @@ title_widget_set_twin_item(TitleWidget* self,
g_signal_connect(G_OBJECT(twin_item), "property-changed",
G_CALLBACK(title_widget_property_update), self);
priv->name = gtk_label_new(dbusmenu_menuitem_property_get(priv->twin_item,
- DBUSMENU_TITLE_MENUITEM_TEXT_NAME));
+ DBUSMENU_TITLE_MENUITEM_NAME));
gtk_misc_set_padding(GTK_MISC(priv->name), 10, 0);
gtk_box_pack_start (GTK_BOX (priv->hbox), priv->name, FALSE, FALSE, 0);