2621 GtkWidget *vbox_progress, *table_progress;
2623 dialog_progress = gtk_dialog_new_with_buttons(
_(
"Working..."), GTK_WINDOW(
window_main), GTK_DIALOG_DESTROY_WITH_PARENT, GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL, NULL);
2631 gtk_box_set_spacing(GTK_BOX(vbox_progress), 15);
2634 table_progress = gtk_table_new(2, 1,
TRUE);
2635 gtk_container_set_border_width (GTK_CONTAINER (table_progress), 12);
2636 gtk_table_set_row_spacings(GTK_TABLE(table_progress), 5);
2637 gtk_table_set_col_spacings(GTK_TABLE(table_progress), 10);
2641 gtk_table_attach_defaults(GTK_TABLE(table_progress),
label_progress, 0, 1, 0, 1);
2645 gtk_progress_bar_set_orientation(GTK_PROGRESS_BAR(
progress), GTK_PROGRESS_LEFT_TO_RIGHT);
2646 gtk_progress_bar_set_fraction(GTK_PROGRESS_BAR(
progress), 0.0);
2647 gtk_table_attach_defaults(GTK_TABLE(table_progress),
progress, 0, 1, 1, 2);
2650 gtk_box_pack_start(GTK_BOX(vbox_progress), table_progress,
FALSE,
FALSE, 0);
static GtkWidget * window_main
static GtkWidget * progress
static gint pgui_action_progress_delete(GtkWidget *widget, GdkEvent *event, gpointer data)
static void pgui_action_progress_cancel(GtkDialog *dialog, gint response_id, gpointer user_data)
static GtkWidget * label_progress
#define gtk_dialog_get_content_area(dialog)
static GtkWidget * dialog_progress