Lines Matching refs:dialog
73 GtkWidget *dialog, *entry, *label; in passphrase_dialog() local
78 dialog = gnome_dialog_new("OpenSSH", GNOME_STOCK_BUTTON_OK, in passphrase_dialog()
85 gtk_box_pack_start(GTK_BOX(GNOME_DIALOG(dialog)->vbox), in passphrase_dialog()
90 gtk_box_pack_start(GTK_BOX(GNOME_DIALOG(dialog)->vbox), entry, FALSE, in passphrase_dialog()
96 gtk_object_set(GTK_OBJECT(dialog), "type", GTK_WINDOW_POPUP, NULL); in passphrase_dialog()
97 gnome_dialog_set_default(GNOME_DIALOG(dialog), 0); in passphrase_dialog()
98 gtk_window_set_position (GTK_WINDOW(dialog), GTK_WIN_POS_CENTER); in passphrase_dialog()
99 gtk_window_set_policy(GTK_WINDOW(dialog), FALSE, FALSE, TRUE); in passphrase_dialog()
100 gnome_dialog_close_hides(GNOME_DIALOG(dialog), TRUE); in passphrase_dialog()
101 gtk_container_set_border_width(GTK_CONTAINER(GNOME_DIALOG(dialog)->vbox), in passphrase_dialog()
103 gtk_widget_show_all(dialog); in passphrase_dialog()
108 if (grab_pointer && gdk_pointer_grab(dialog->window, TRUE, 0, in passphrase_dialog()
111 if (gdk_keyboard_grab(dialog->window, FALSE, GDK_CURRENT_TIME)) in passphrase_dialog()
115 gnome_dialog_editable_enters(GNOME_DIALOG(dialog), GTK_EDITABLE(entry)); in passphrase_dialog()
118 result = gnome_dialog_run(GNOME_DIALOG(dialog)); in passphrase_dialog()
137 gnome_dialog_close(GNOME_DIALOG(dialog)); in passphrase_dialog()
148 gnome_dialog_close(GNOME_DIALOG(dialog)); in passphrase_dialog()