Lines Matching refs:notification
111 didActivateNotification:(NSUserNotification*) notification
113 if ([notification activationType] == NSUserNotificationActivationTypeContentsClicked)
115 const char *action = [[notification userInfo][@"default"] UTF8String];
120 else if ([notification activationType] == NSUserNotificationActivationTypeActionButtonClicked)
122 const char *action = [[notification userInfo][@"button0"] UTF8String];
127 [center removeDeliveredNotification:notification];
148 GNotification *notification)
150 guint n_buttons = g_notification_get_n_buttons (notification);
155 if (g_notification_get_default_action (notification, &action, &target))
171 g_notification_get_button (notification, 0, &label, &action, &target);
203 GNotification *notification)
212 if ((cstr = g_notification_get_title (notification)))
214 if ((cstr = g_notification_get_body (notification)))
218 if ((icon = g_notification_get_icon (notification)))
228 add_actions_to_notification (userNotification, notification);
252 for (NSUserNotification *notification in notifications)
254 if ([notification.identifier compare:str_id] == NSOrderedSame)
256 [center removeDeliveredNotification:notification];