コード例 #1
0
static void
progress_ui_handler_update_notification_or_status (NautilusProgressUIHandler *self)
{
	if (self->priv->notification_supports_persistence) {
		progress_ui_handler_update_notification (self);
	} else {
		progress_ui_handler_update_status_icon (self);
	}
}
コード例 #2
0
static void
progress_ui_handler_update_notification_or_status (AthenaProgressUIHandler *self)
{
    if (server_has_persistence ()) {
        progress_ui_handler_update_notification (self);
    } else {
        progress_ui_handler_update_status_icon (self);
    }
}
コード例 #3
0
static gboolean
progress_window_delete_event (GtkWidget *widget,
			      GdkEvent *event,
			      NautilusProgressUIHandler *self)
{
	gtk_widget_hide (widget);

	if (self->priv->notification_supports_persistence) {
		progress_ui_handler_update_notification (self);
	} else {
		progress_ui_handler_update_status_icon (self);
	}

	return TRUE;
}
コード例 #4
0
static gboolean
progress_window_delete_event (GtkWidget *widget,
                              GdkEvent *event,
                              AthenaProgressUIHandler *self)
{
    gtk_widget_hide (widget);

    if (server_has_persistence ()) {
        progress_ui_handler_update_notification (self);
    } else {
        progress_ui_handler_update_status_icon (self);
    }

    return TRUE;
}