/* * DO NOT EDIT THIS FILE - it is generated by Glade. */ #ifdef HAVE_CONFIG_H # include #endif #include #include #include #include #include #include "callbacks.h" #include "interface.h" #include "support.h" GtkWidget* create_InfoFrm (void) { GtkWidget *InfoFrm; GtkWidget *dialog_vbox1; GtkWidget *scrolledwindow1; GtkWidget *InfoText; GtkWidget *dialog_action_area1; GtkWidget *OKBtn; InfoFrm = gnome_dialog_new (_("About Module"), NULL); gtk_object_set_data (GTK_OBJECT (InfoFrm), "InfoFrm", InfoFrm); gtk_window_set_modal (GTK_WINDOW (InfoFrm), TRUE); gtk_window_set_policy (GTK_WINDOW (InfoFrm), FALSE, FALSE, FALSE); dialog_vbox1 = GNOME_DIALOG (InfoFrm)->vbox; gtk_object_set_data (GTK_OBJECT (InfoFrm), "dialog_vbox1", dialog_vbox1); gtk_widget_show (dialog_vbox1); scrolledwindow1 = gtk_scrolled_window_new (NULL, NULL); gtk_widget_ref (scrolledwindow1); gtk_object_set_data_full (GTK_OBJECT (InfoFrm), "scrolledwindow1", scrolledwindow1, (GtkDestroyNotify) gtk_widget_unref); gtk_widget_show (scrolledwindow1); gtk_box_pack_start (GTK_BOX (dialog_vbox1), scrolledwindow1, TRUE, TRUE, 0); gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (scrolledwindow1), GTK_POLICY_NEVER, GTK_POLICY_ALWAYS); InfoText = gtk_text_new (NULL, NULL); gtk_widget_ref (InfoText); gtk_object_set_data_full (GTK_OBJECT (InfoFrm), "InfoText", InfoText, (GtkDestroyNotify) gtk_widget_unref); gtk_widget_show (InfoText); gtk_container_add (GTK_CONTAINER (scrolledwindow1), InfoText); dialog_action_area1 = GNOME_DIALOG (InfoFrm)->action_area; gtk_object_set_data (GTK_OBJECT (InfoFrm), "dialog_action_area1", dialog_action_area1); gtk_widget_show (dialog_action_area1); gtk_button_box_set_layout (GTK_BUTTON_BOX (dialog_action_area1), GTK_BUTTONBOX_SPREAD); gtk_button_box_set_spacing (GTK_BUTTON_BOX (dialog_action_area1), 8); gnome_dialog_append_button (GNOME_DIALOG (InfoFrm), GNOME_STOCK_BUTTON_OK); OKBtn = g_list_last (GNOME_DIALOG (InfoFrm)->buttons)->data; gtk_widget_ref (OKBtn); gtk_object_set_data_full (GTK_OBJECT (InfoFrm), "OKBtn", OKBtn, (GtkDestroyNotify) gtk_widget_unref); gtk_widget_show (OKBtn); GTK_WIDGET_SET_FLAGS (OKBtn, GTK_CAN_DEFAULT); gtk_signal_connect (GTK_OBJECT (OKBtn), "clicked", GTK_SIGNAL_FUNC (on_OKBtn_clicked), NULL); return InfoFrm; } GtkWidget* create_fileselection1 (void) { GtkWidget *fileselection1; GtkWidget *ok_button1; GtkWidget *cancel_button1; fileselection1 = gtk_file_selection_new (_("Select File")); gtk_object_set_data (GTK_OBJECT (fileselection1), "fileselection1", fileselection1); gtk_container_set_border_width (GTK_CONTAINER (fileselection1), 10); ok_button1 = GTK_FILE_SELECTION (fileselection1)->ok_button; gtk_object_set_data (GTK_OBJECT (fileselection1), "ok_button1", ok_button1); gtk_widget_show (ok_button1); GTK_WIDGET_SET_FLAGS (ok_button1, GTK_CAN_DEFAULT); cancel_button1 = GTK_FILE_SELECTION (fileselection1)->cancel_button; gtk_object_set_data (GTK_OBJECT (fileselection1), "cancel_button1", cancel_button1); gtk_widget_show (cancel_button1); GTK_WIDGET_SET_FLAGS (cancel_button1, GTK_CAN_DEFAULT); return fileselection1; } GtkWidget* create_RemoteMntFrm (void) { GtkWidget *RemoteMntFrm; GtkWidget *dialog_vbox2; GtkWidget *hbox2; GtkWidget *vbox4; GtkWidget *SiteList; GtkWidget *hbox3; GtkWidget *hbox4; GtkWidget *pixmap4; GtkWidget *AddBtn; GtkWidget *hbox5; GtkWidget *pixmap5; GtkWidget *RemoveBtn; GtkWidget *vbox5; GtkWidget *vbox6; GtkWidget *label6; GtkWidget *NameText; GtkWidget *vbox7; GtkWidget *label7; GtkWidget *MachineText; GtkWidget *vbox8; GtkWidget *label8; GtkWidget *RepositoryText; GtkWidget *dialog_action_area2; GtkWidget *SaveBtn; GtkWidget *CancelBtn; RemoteMntFrm = gnome_dialog_new (_("Manage Remote Sites"), NULL); gtk_object_set_data (GTK_OBJECT (RemoteMntFrm), "RemoteMntFrm", RemoteMntFrm); gtk_window_set_modal (GTK_WINDOW (RemoteMntFrm), TRUE); gtk_window_set_policy (GTK_WINDOW (RemoteMntFrm), FALSE, FALSE, FALSE); dialog_vbox2 = GNOME_DIALOG (RemoteMntFrm)->vbox; gtk_object_set_data (GTK_OBJECT (RemoteMntFrm), "dialog_vbox2", dialog_vbox2); gtk_widget_show (dialog_vbox2); hbox2 = gtk_hbox_new (FALSE, 0); gtk_widget_ref (hbox2); gtk_object_set_data_full (GTK_OBJECT (RemoteMntFrm), "hbox2", hbox2, (GtkDestroyNotify) gtk_widget_unref); gtk_widget_show (hbox2); gtk_box_pack_start (GTK_BOX (dialog_vbox2), hbox2, TRUE, TRUE, 0); vbox4 = gtk_vbox_new (FALSE, 0); gtk_widget_ref (vbox4); gtk_object_set_data_full (GTK_OBJECT (RemoteMntFrm), "vbox4", vbox4, (GtkDestroyNotify) gtk_widget_unref); gtk_widget_show (vbox4); gtk_box_pack_start (GTK_BOX (hbox2), vbox4, TRUE, TRUE, 0); SiteList = gtk_list_new (); gtk_widget_ref (SiteList); gtk_object_set_data_full (GTK_OBJECT (RemoteMntFrm), "SiteList", SiteList, (GtkDestroyNotify) gtk_widget_unref); gtk_widget_show (SiteList); gtk_box_pack_start (GTK_BOX (vbox4), SiteList, TRUE, TRUE, 0); gtk_widget_set_usize (SiteList, -2, 140); hbox3 = gtk_hbox_new (FALSE, 0); gtk_widget_ref (hbox3); gtk_object_set_data_full (GTK_OBJECT (RemoteMntFrm), "hbox3", hbox3, (GtkDestroyNotify) gtk_widget_unref); gtk_widget_show (hbox3); gtk_box_pack_start (GTK_BOX (vbox4), hbox3, TRUE, TRUE, 0); hbox4 = gtk_hbox_new (FALSE, 0); gtk_widget_ref (hbox4); gtk_object_set_data_full (GTK_OBJECT (RemoteMntFrm), "hbox4", hbox4, (GtkDestroyNotify) gtk_widget_unref); gtk_widget_show (hbox4); gtk_box_pack_start (GTK_BOX (hbox3), hbox4, FALSE, FALSE, 0); pixmap4 = create_pixmap (RemoteMntFrm, "installmgr/filenew.xpm", FALSE); gtk_widget_ref (pixmap4); gtk_object_set_data_full (GTK_OBJECT (RemoteMntFrm), "pixmap4", pixmap4, (GtkDestroyNotify) gtk_widget_unref); gtk_widget_show (pixmap4); gtk_box_pack_start (GTK_BOX (hbox4), pixmap4, TRUE, TRUE, 0); AddBtn = gtk_button_new_with_label (_("Add")); gtk_widget_ref (AddBtn); gtk_object_set_data_full (GTK_OBJECT (RemoteMntFrm), "AddBtn", AddBtn, (GtkDestroyNotify) gtk_widget_unref); gtk_widget_show (AddBtn); gtk_box_pack_start (GTK_BOX (hbox4), AddBtn, FALSE, FALSE, 0); hbox5 = gtk_hbox_new (FALSE, 0); gtk_widget_ref (hbox5); gtk_object_set_data_full (GTK_OBJECT (RemoteMntFrm), "hbox5", hbox5, (GtkDestroyNotify) gtk_widget_unref); gtk_widget_show (hbox5); gtk_box_pack_start (GTK_BOX (hbox3), hbox5, TRUE, TRUE, 0); pixmap5 = create_pixmap (RemoteMntFrm, "installmgr/trash.xpm", FALSE); gtk_widget_ref (pixmap5); gtk_object_set_data_full (GTK_OBJECT (RemoteMntFrm), "pixmap5", pixmap5, (GtkDestroyNotify) gtk_widget_unref); gtk_widget_show (pixmap5); gtk_box_pack_start (GTK_BOX (hbox5), pixmap5, TRUE, TRUE, 0); RemoveBtn = gtk_button_new_with_label (_("Remove")); gtk_widget_ref (RemoveBtn); gtk_object_set_data_full (GTK_OBJECT (RemoteMntFrm), "RemoveBtn", RemoveBtn, (GtkDestroyNotify) gtk_widget_unref); gtk_widget_show (RemoveBtn); gtk_box_pack_start (GTK_BOX (hbox5), RemoveBtn, FALSE, FALSE, 0); vbox5 = gtk_vbox_new (FALSE, 0); gtk_widget_ref (vbox5); gtk_object_set_data_full (GTK_OBJECT (RemoteMntFrm), "vbox5", vbox5, (GtkDestroyNotify) gtk_widget_unref); gtk_widget_show (vbox5); gtk_box_pack_start (GTK_BOX (hbox2), vbox5, TRUE, TRUE, 0); vbox6 = gtk_vbox_new (FALSE, 0); gtk_widget_ref (vbox6); gtk_object_set_data_full (GTK_OBJECT (RemoteMntFrm), "vbox6", vbox6, (GtkDestroyNotify) gtk_widget_unref); gtk_widget_show (vbox6); gtk_box_pack_start (GTK_BOX (vbox5), vbox6, TRUE, TRUE, 0); label6 = gtk_label_new (_("Site Name")); gtk_widget_ref (label6); gtk_object_set_data_full (GTK_OBJECT (RemoteMntFrm), "label6", label6, (GtkDestroyNotify) gtk_widget_unref); gtk_widget_show (label6); gtk_box_pack_start (GTK_BOX (vbox6), label6, FALSE, FALSE, 0); gtk_label_set_justify (GTK_LABEL (label6), GTK_JUSTIFY_LEFT); gtk_misc_set_alignment (GTK_MISC (label6), 1.22935e-07, 0.5); NameText = gtk_entry_new (); gtk_widget_ref (NameText); gtk_object_set_data_full (GTK_OBJECT (RemoteMntFrm), "NameText", NameText, (GtkDestroyNotify) gtk_widget_unref); gtk_widget_show (NameText); gtk_box_pack_start (GTK_BOX (vbox6), NameText, FALSE, FALSE, 0); vbox7 = gtk_vbox_new (FALSE, 0); gtk_widget_ref (vbox7); gtk_object_set_data_full (GTK_OBJECT (RemoteMntFrm), "vbox7", vbox7, (GtkDestroyNotify) gtk_widget_unref); gtk_widget_show (vbox7); gtk_box_pack_start (GTK_BOX (vbox5), vbox7, TRUE, TRUE, 0); label7 = gtk_label_new (_("Site Machine Name")); gtk_widget_ref (label7); gtk_object_set_data_full (GTK_OBJECT (RemoteMntFrm), "label7", label7, (GtkDestroyNotify) gtk_widget_unref); gtk_widget_show (label7); gtk_box_pack_start (GTK_BOX (vbox7), label7, FALSE, FALSE, 0); gtk_misc_set_alignment (GTK_MISC (label7), 7.45058e-09, 0.5); MachineText = gtk_entry_new (); gtk_widget_ref (MachineText); gtk_object_set_data_full (GTK_OBJECT (RemoteMntFrm), "MachineText", MachineText, (GtkDestroyNotify) gtk_widget_unref); gtk_widget_show (MachineText); gtk_box_pack_start (GTK_BOX (vbox7), MachineText, FALSE, FALSE, 0); vbox8 = gtk_vbox_new (FALSE, 0); gtk_widget_ref (vbox8); gtk_object_set_data_full (GTK_OBJECT (RemoteMntFrm), "vbox8", vbox8, (GtkDestroyNotify) gtk_widget_unref); gtk_widget_show (vbox8); gtk_box_pack_start (GTK_BOX (vbox5), vbox8, TRUE, TRUE, 0); label8 = gtk_label_new (_("Repository Directory")); gtk_widget_ref (label8); gtk_object_set_data_full (GTK_OBJECT (RemoteMntFrm), "label8", label8, (GtkDestroyNotify) gtk_widget_unref); gtk_widget_show (label8); gtk_box_pack_start (GTK_BOX (vbox8), label8, FALSE, FALSE, 0); gtk_misc_set_alignment (GTK_MISC (label8), 7.45058e-09, 0.5); RepositoryText = gtk_entry_new (); gtk_widget_ref (RepositoryText); gtk_object_set_data_full (GTK_OBJECT (RemoteMntFrm), "RepositoryText", RepositoryText, (GtkDestroyNotify) gtk_widget_unref); gtk_widget_show (RepositoryText); gtk_box_pack_start (GTK_BOX (vbox8), RepositoryText, FALSE, FALSE, 0); dialog_action_area2 = GNOME_DIALOG (RemoteMntFrm)->action_area; gtk_object_set_data (GTK_OBJECT (RemoteMntFrm), "dialog_action_area2", dialog_action_area2); gtk_widget_show (dialog_action_area2); gtk_button_box_set_layout (GTK_BUTTON_BOX (dialog_action_area2), GTK_BUTTONBOX_SPREAD); gtk_button_box_set_spacing (GTK_BUTTON_BOX (dialog_action_area2), 8); gnome_dialog_append_button_with_pixmap (GNOME_DIALOG (RemoteMntFrm), _("Save"), GNOME_STOCK_PIXMAP_SAVE); SaveBtn = g_list_last (GNOME_DIALOG (RemoteMntFrm)->buttons)->data; gtk_widget_ref (SaveBtn); gtk_object_set_data_full (GTK_OBJECT (RemoteMntFrm), "SaveBtn", SaveBtn, (GtkDestroyNotify) gtk_widget_unref); gtk_widget_show (SaveBtn); GTK_WIDGET_SET_FLAGS (SaveBtn, GTK_CAN_DEFAULT); gnome_dialog_append_button (GNOME_DIALOG (RemoteMntFrm), GNOME_STOCK_BUTTON_CANCEL); CancelBtn = g_list_last (GNOME_DIALOG (RemoteMntFrm)->buttons)->data; gtk_widget_ref (CancelBtn); gtk_object_set_data_full (GTK_OBJECT (RemoteMntFrm), "CancelBtn", CancelBtn, (GtkDestroyNotify) gtk_widget_unref); gtk_widget_show (CancelBtn); GTK_WIDGET_SET_FLAGS (CancelBtn, GTK_CAN_DEFAULT); gtk_signal_connect (GTK_OBJECT (AddBtn), "clicked", GTK_SIGNAL_FUNC (on_AddBtn_clicked), NULL); gtk_signal_connect (GTK_OBJECT (RemoveBtn), "clicked", GTK_SIGNAL_FUNC (on_RemoveBtn_clicked), NULL); gtk_signal_connect (GTK_OBJECT (NameText), "changed", GTK_SIGNAL_FUNC (on_NameText_changed), NULL); gtk_signal_connect (GTK_OBJECT (SaveBtn), "clicked", GTK_SIGNAL_FUNC (on_SaveBtn_clicked), NULL); gtk_signal_connect (GTK_OBJECT (CancelBtn), "clicked", GTK_SIGNAL_FUNC (on_CancelBtn_clicked), NULL); return RemoteMntFrm; } GtkWidget* create_CipherFrm (void) { GtkWidget *CipherFrm; GtkWidget *dialog_vbox3; GtkWidget *vbox9; GtkWidget *vbox10; GtkWidget *label9; GtkWidget *hbox6; GtkWidget *hbox7; GtkWidget *label10; GtkWidget *KeyText; GtkWidget *TryBtn; GtkWidget *scrolledwindow2; GtkWidget *ModuleText; GtkWidget *dialog_action_area3; GtkWidget *OKBtn; CipherFrm = gnome_dialog_new (_("Ciphered Module"), NULL); gtk_object_set_data (GTK_OBJECT (CipherFrm), "CipherFrm", CipherFrm); gtk_window_set_modal (GTK_WINDOW (CipherFrm), TRUE); gtk_window_set_policy (GTK_WINDOW (CipherFrm), FALSE, FALSE, FALSE); dialog_vbox3 = GNOME_DIALOG (CipherFrm)->vbox; gtk_object_set_data (GTK_OBJECT (CipherFrm), "dialog_vbox3", dialog_vbox3); gtk_widget_show (dialog_vbox3); vbox9 = gtk_vbox_new (FALSE, 0); gtk_widget_ref (vbox9); gtk_object_set_data_full (GTK_OBJECT (CipherFrm), "vbox9", vbox9, (GtkDestroyNotify) gtk_widget_unref); gtk_widget_show (vbox9); gtk_box_pack_start (GTK_BOX (dialog_vbox3), vbox9, TRUE, TRUE, 0); vbox10 = gtk_vbox_new (FALSE, 0); gtk_widget_ref (vbox10); gtk_object_set_data_full (GTK_OBJECT (CipherFrm), "vbox10", vbox10, (GtkDestroyNotify) gtk_widget_unref); gtk_widget_show (vbox10); gtk_box_pack_start (GTK_BOX (vbox9), vbox10, TRUE, TRUE, 0); label9 = gtk_label_new (_("The module that you have requested for install seems to be ciphered.")); gtk_widget_ref (label9); gtk_object_set_data_full (GTK_OBJECT (CipherFrm), "label9", label9, (GtkDestroyNotify) gtk_widget_unref); gtk_widget_show (label9); gtk_box_pack_start (GTK_BOX (vbox10), label9, FALSE, FALSE, 0); gtk_label_set_justify (GTK_LABEL (label9), GTK_JUSTIFY_LEFT); gtk_misc_set_alignment (GTK_MISC (label9), 7.45058e-09, 0); hbox6 = gtk_hbox_new (FALSE, 0); gtk_widget_ref (hbox6); gtk_object_set_data_full (GTK_OBJECT (CipherFrm), "hbox6", hbox6, (GtkDestroyNotify) gtk_widget_unref); gtk_widget_show (hbox6); gtk_box_pack_start (GTK_BOX (vbox10), hbox6, TRUE, TRUE, 0); gtk_container_set_border_width (GTK_CONTAINER (hbox6), 5); hbox7 = gtk_hbox_new (FALSE, 0); gtk_widget_ref (hbox7); gtk_object_set_data_full (GTK_OBJECT (CipherFrm), "hbox7", hbox7, (GtkDestroyNotify) gtk_widget_unref); gtk_widget_show (hbox7); gtk_box_pack_start (GTK_BOX (hbox6), hbox7, TRUE, TRUE, 0); label10 = gtk_label_new (_("Cipher Key:")); gtk_widget_ref (label10); gtk_object_set_data_full (GTK_OBJECT (CipherFrm), "label10", label10, (GtkDestroyNotify) gtk_widget_unref); gtk_widget_show (label10); gtk_box_pack_start (GTK_BOX (hbox7), label10, FALSE, FALSE, 0); KeyText = gtk_entry_new (); gtk_widget_ref (KeyText); gtk_object_set_data_full (GTK_OBJECT (CipherFrm), "KeyText", KeyText, (GtkDestroyNotify) gtk_widget_unref); gtk_widget_show (KeyText); gtk_box_pack_start (GTK_BOX (hbox7), KeyText, TRUE, TRUE, 5); TryBtn = gtk_button_new_with_label (_("Try")); gtk_widget_ref (TryBtn); gtk_object_set_data_full (GTK_OBJECT (CipherFrm), "TryBtn", TryBtn, (GtkDestroyNotify) gtk_widget_unref); gtk_widget_show (TryBtn); gtk_box_pack_start (GTK_BOX (hbox6), TryBtn, FALSE, FALSE, 10); gtk_widget_set_usize (TryBtn, 99, -2); scrolledwindow2 = gtk_scrolled_window_new (NULL, NULL); gtk_widget_ref (scrolledwindow2); gtk_object_set_data_full (GTK_OBJECT (CipherFrm), "scrolledwindow2", scrolledwindow2, (GtkDestroyNotify) gtk_widget_unref); gtk_widget_show (scrolledwindow2); gtk_box_pack_start (GTK_BOX (vbox9), scrolledwindow2, TRUE, TRUE, 0); gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (scrolledwindow2), GTK_POLICY_NEVER, GTK_POLICY_ALWAYS); ModuleText = gtk_text_new (NULL, NULL); gtk_widget_ref (ModuleText); gtk_object_set_data_full (GTK_OBJECT (CipherFrm), "ModuleText", ModuleText, (GtkDestroyNotify) gtk_widget_unref); gtk_widget_show (ModuleText); gtk_container_add (GTK_CONTAINER (scrolledwindow2), ModuleText); gtk_widget_set_usize (ModuleText, 166, 146); dialog_action_area3 = GNOME_DIALOG (CipherFrm)->action_area; gtk_object_set_data (GTK_OBJECT (CipherFrm), "dialog_action_area3", dialog_action_area3); gtk_widget_show (dialog_action_area3); gtk_button_box_set_layout (GTK_BUTTON_BOX (dialog_action_area3), GTK_BUTTONBOX_SPREAD); gtk_button_box_set_spacing (GTK_BUTTON_BOX (dialog_action_area3), 8); gnome_dialog_append_button (GNOME_DIALOG (CipherFrm), GNOME_STOCK_BUTTON_OK); OKBtn = g_list_last (GNOME_DIALOG (CipherFrm)->buttons)->data; gtk_widget_ref (OKBtn); gtk_object_set_data_full (GTK_OBJECT (CipherFrm), "OKBtn", OKBtn, (GtkDestroyNotify) gtk_widget_unref); gtk_widget_show (OKBtn); GTK_WIDGET_SET_FLAGS (OKBtn, GTK_CAN_DEFAULT); gtk_signal_connect (GTK_OBJECT (TryBtn), "clicked", GTK_SIGNAL_FUNC (on_TryBtn_clicked), NULL); gtk_signal_connect (GTK_OBJECT (OKBtn), "clicked", GTK_SIGNAL_FUNC (on_OKBtn_clicked), NULL); return CipherFrm; } GtkWidget* create_StatusFrm (void) { GtkWidget *StatusFrm; GtkWidget *dialog_vbox4; GtkWidget *vbox11; GtkWidget *label11; GtkWidget *progressbar1; GtkWidget *dialog_action_area4; GtkWidget *CancelBtn; StatusFrm = gnome_dialog_new (_("Status"), NULL); gtk_object_set_data (GTK_OBJECT (StatusFrm), "StatusFrm", StatusFrm); gtk_window_set_modal (GTK_WINDOW (StatusFrm), TRUE); gtk_window_set_policy (GTK_WINDOW (StatusFrm), FALSE, FALSE, FALSE); dialog_vbox4 = GNOME_DIALOG (StatusFrm)->vbox; gtk_object_set_data (GTK_OBJECT (StatusFrm), "dialog_vbox4", dialog_vbox4); gtk_widget_show (dialog_vbox4); vbox11 = gtk_vbox_new (FALSE, 0); gtk_widget_ref (vbox11); gtk_object_set_data_full (GTK_OBJECT (StatusFrm), "vbox11", vbox11, (GtkDestroyNotify) gtk_widget_unref); gtk_widget_show (vbox11); gtk_box_pack_start (GTK_BOX (dialog_vbox4), vbox11, TRUE, TRUE, 0); label11 = gtk_label_new (""); gtk_widget_ref (label11); gtk_object_set_data_full (GTK_OBJECT (StatusFrm), "label11", label11, (GtkDestroyNotify) gtk_widget_unref); gtk_widget_show (label11); gtk_box_pack_start (GTK_BOX (vbox11), label11, FALSE, FALSE, 0); gtk_misc_set_alignment (GTK_MISC (label11), 7.45058e-09, 7.45058e-09); progressbar1 = gtk_progress_bar_new (); gtk_widget_ref (progressbar1); gtk_object_set_data_full (GTK_OBJECT (StatusFrm), "progressbar1", progressbar1, (GtkDestroyNotify) gtk_widget_unref); gtk_widget_show (progressbar1); gtk_box_pack_start (GTK_BOX (vbox11), progressbar1, FALSE, FALSE, 0); dialog_action_area4 = GNOME_DIALOG (StatusFrm)->action_area; gtk_object_set_data (GTK_OBJECT (StatusFrm), "dialog_action_area4", dialog_action_area4); gtk_widget_show (dialog_action_area4); gtk_button_box_set_layout (GTK_BUTTON_BOX (dialog_action_area4), GTK_BUTTONBOX_SPREAD); gtk_button_box_set_spacing (GTK_BUTTON_BOX (dialog_action_area4), 8); gnome_dialog_append_button (GNOME_DIALOG (StatusFrm), GNOME_STOCK_BUTTON_CANCEL); CancelBtn = g_list_last (GNOME_DIALOG (StatusFrm)->buttons)->data; gtk_widget_ref (CancelBtn); gtk_object_set_data_full (GTK_OBJECT (StatusFrm), "CancelBtn", CancelBtn, (GtkDestroyNotify) gtk_widget_unref); gtk_widget_show (CancelBtn); GTK_WIDGET_SET_FLAGS (CancelBtn, GTK_CAN_DEFAULT); return StatusFrm; }