summaryrefslogtreecommitdiff
path: root/applets/notification_area/system-tray/na-tray-manager.c
diff options
context:
space:
mode:
authorrbuj <[email protected]>2021-12-18 14:31:49 +0100
committerraveit65 <[email protected]>2021-12-19 17:46:41 +0100
commitede1f04954c5b64dbdaea7a75aecc1153cc6e9b3 (patch)
treeb29cb6bfa05a9b88194631e964f55bbcfcb70ef8 /applets/notification_area/system-tray/na-tray-manager.c
parent0791b258daba11925ced8406db204f27b827202f (diff)
downloadmate-panel-ede1f04954c5b64dbdaea7a75aecc1153cc6e9b3.tar.bz2
mate-panel-ede1f04954c5b64dbdaea7a75aecc1153cc6e9b3.tar.xz
Use dashes instead of underscores in signal names
Diffstat (limited to 'applets/notification_area/system-tray/na-tray-manager.c')
-rw-r--r--applets/notification_area/system-tray/na-tray-manager.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/applets/notification_area/system-tray/na-tray-manager.c b/applets/notification_area/system-tray/na-tray-manager.c
index f001c653..d4f27ff3 100644
--- a/applets/notification_area/system-tray/na-tray-manager.c
+++ b/applets/notification_area/system-tray/na-tray-manager.c
@@ -148,7 +148,7 @@ na_tray_manager_class_init (NaTrayManagerClass *klass)
G_PARAM_STATIC_BLURB));
manager_signals[TRAY_ICON_ADDED] =
- g_signal_new ("tray_icon_added",
+ g_signal_new ("tray-icon-added",
G_OBJECT_CLASS_TYPE (klass),
G_SIGNAL_RUN_LAST,
G_STRUCT_OFFSET (NaTrayManagerClass, tray_icon_added),
@@ -158,7 +158,7 @@ na_tray_manager_class_init (NaTrayManagerClass *klass)
GTK_TYPE_SOCKET);
manager_signals[TRAY_ICON_REMOVED] =
- g_signal_new ("tray_icon_removed",
+ g_signal_new ("tray-icon-removed",
G_OBJECT_CLASS_TYPE (klass),
G_SIGNAL_RUN_LAST,
G_STRUCT_OFFSET (NaTrayManagerClass, tray_icon_removed),
@@ -167,7 +167,7 @@ na_tray_manager_class_init (NaTrayManagerClass *klass)
G_TYPE_NONE, 1,
GTK_TYPE_SOCKET);
manager_signals[MESSAGE_SENT] =
- g_signal_new ("message_sent",
+ g_signal_new ("message-sent",
G_OBJECT_CLASS_TYPE (klass),
G_SIGNAL_RUN_LAST,
G_STRUCT_OFFSET (NaTrayManagerClass, message_sent),
@@ -179,7 +179,7 @@ na_tray_manager_class_init (NaTrayManagerClass *klass)
G_TYPE_LONG,
G_TYPE_LONG);
manager_signals[MESSAGE_CANCELLED] =
- g_signal_new ("message_cancelled",
+ g_signal_new ("message-cancelled",
G_OBJECT_CLASS_TYPE (klass),
G_SIGNAL_RUN_LAST,
G_STRUCT_OFFSET (NaTrayManagerClass, message_cancelled),
@@ -306,7 +306,7 @@ na_tray_manager_handle_dock_request (NaTrayManager *manager,
return;
}
- g_signal_connect (child, "plug_removed",
+ g_signal_connect (child, "plug-removed",
G_CALLBACK (na_tray_manager_plug_removed), manager);
gtk_socket_add_id (GTK_SOCKET (child), icon_window);