コード例 #1
0
static void
cancel_clicked (GtkWidget *button,
		ProgressWidgetData *data)
{
	nautilus_progress_info_cancel (data->info);
	gtk_widget_set_sensitive (button, FALSE);
}
コード例 #2
0
static void
cancel_clicked (GtkWidget *button,
		NautilusProgressInfoWidget *self)
{
	nautilus_progress_info_cancel (self->priv->info);
	gtk_widget_set_sensitive (button, FALSE);
}
コード例 #3
0
static void
button_clicked (GtkWidget *button,
		NautilusProgressInfoWidget *self)
{
	if (!nautilus_progress_info_get_is_finished (self->priv->info)) {
		nautilus_progress_info_cancel (self->priv->info);
	}
}
コード例 #4
0
static void
cancel_clicked (GtkWidget *button,
		NautilusProgressInfoWidget *self)
{
	nautilus_progress_info_cancel (self->priv->info);
}