summaryrefslogtreecommitdiff
path: root/applets/notification_area/status-notifier/sn-item-v0.c
diff options
context:
space:
mode:
authorrbuj <[email protected]>2021-02-20 18:42:42 +0100
committerraveit65 <[email protected]>2021-02-22 08:15:34 +0100
commit58775c48a4dfe4bb6d468f721b27f7c1f631fb57 (patch)
tree297fa4a207124c096dd1d6fff20645d3ae1f6433 /applets/notification_area/status-notifier/sn-item-v0.c
parentb3221a9c6363851469822c25702f5b986ed479c6 (diff)
downloadmate-panel-58775c48a4dfe4bb6d468f721b27f7c1f631fb57.tar.bz2
mate-panel-58775c48a4dfe4bb6d468f721b27f7c1f631fb57.tar.xz
notification_area: move XAyatana(New)Label case at the bottom
Diffstat (limited to 'applets/notification_area/status-notifier/sn-item-v0.c')
-rw-r--r--applets/notification_area/status-notifier/sn-item-v0.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/applets/notification_area/status-notifier/sn-item-v0.c b/applets/notification_area/status-notifier/sn-item-v0.c
index dca5dbb7..3ec4d037 100644
--- a/applets/notification_area/status-notifier/sn-item-v0.c
+++ b/applets/notification_area/status-notifier/sn-item-v0.c
@@ -912,8 +912,6 @@ g_signal_cb (GDBusProxy *proxy,
new_title_cb (v0);
else if (g_strcmp0 (signal_name, "NewIcon") == 0)
new_icon_cb (v0);
- else if (g_strcmp0 (signal_name, "XAyatanaNewLabel") == 0)
- new_label_cb (v0, parameters);
else if (g_strcmp0 (signal_name, "NewOverlayIcon") == 0)
new_overlay_icon_cb (v0);
else if (g_strcmp0 (signal_name, "NewAttentionIcon") == 0)
@@ -924,6 +922,8 @@ g_signal_cb (GDBusProxy *proxy,
new_status_cb (v0, parameters);
else if (g_strcmp0 (signal_name, "NewIconThemePath") == 0)
new_icon_theme_path_cb (v0, parameters);
+ else if (g_strcmp0 (signal_name, "XAyatanaNewLabel") == 0)
+ new_label_cb (v0, parameters);
else
g_debug ("signal '%s' not handled!", signal_name);
}
@@ -974,8 +974,6 @@ get_all_cb (GObject *source_object,
v0->window_id = g_variant_get_int32 (value);
else if (g_strcmp0 (key, "IconName") == 0)
v0->icon_name = g_variant_dup_string (value, NULL);
- else if (g_strcmp0 (key, "XAyatanaLabel") == 0)
- v0->label = g_variant_dup_string (value, NULL);
else if (g_strcmp0 (key, "IconPixmap") == 0)
v0->icon_pixmap = icon_pixmap_new (value);
else if (g_strcmp0 (key, "OverlayIconName") == 0)
@@ -996,6 +994,8 @@ get_all_cb (GObject *source_object,
v0->menu = g_variant_dup_string (value, NULL);
else if (g_strcmp0 (key, "ItemIsMenu") == 0)
v0->item_is_menu = g_variant_get_boolean (value);
+ else if (g_strcmp0 (key, "XAyatanaLabel") == 0)
+ v0->label = g_variant_dup_string (value, NULL);
else
g_debug ("property '%s' not handled!", key);