77 dlg = gtk_dialog_new_with_buttons(
_(
"Place Rally Point"), NULL, 0,
78 _(
"Close"), GTK_RESPONSE_NO,
82 gtk_dialog_set_default_response(GTK_DIALOG(dlg), GTK_RESPONSE_NO);
83 gtk_window_set_destroy_with_parent(GTK_WINDOW(dlg),
TRUE);
85 main_box = gtk_grid_new();
86 gtk_orientable_set_orientation(GTK_ORIENTABLE(main_box),
87 GTK_ORIENTATION_VERTICAL);
92 sep = gtk_separator_new(GTK_ORIENTATION_HORIZONTAL);
93 gtk_container_add(GTK_CONTAINER(main_box), sep);
95 persistent = gtk_check_button_new_with_label(
_(
"Persistent rallypoint"));
96 gtk_container_add(GTK_CONTAINER(main_box),
persistent);
98 sep = gtk_separator_new(GTK_ORIENTATION_HORIZONTAL);
99 gtk_container_add(GTK_CONTAINER(main_box), sep);
101 gtk_container_add(GTK_CONTAINER(gtk_dialog_get_content_area(GTK_DIALOG(dlg))),
107 gtk_widget_show_all(gtk_dialog_get_content_area(GTK_DIALOG(dlg)));
108 gtk_widget_show(dlg);