mirror of
https://github.com/subsurface/subsurface.git
synced 2025-01-20 06:45:27 +00:00
Generalized the "Import" dialog title
Renamed the title of the "Import" dialog to "Import", as there are a couple of supported operations. Removed the "Import:" text in the dialog body. Signed-off-by: Lubomir I. Ivanov <neolit123@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
21a8f3f325
commit
ac06d1f693
1 changed files with 2 additions and 2 deletions
|
@ -1402,7 +1402,7 @@ void import_dialog(GtkWidget *w, gpointer data)
|
||||||
.devname = NULL,
|
.devname = NULL,
|
||||||
};
|
};
|
||||||
|
|
||||||
dialog = gtk_dialog_new_with_buttons("Import from dive computer",
|
dialog = gtk_dialog_new_with_buttons("Import",
|
||||||
GTK_WINDOW(main_window),
|
GTK_WINDOW(main_window),
|
||||||
GTK_DIALOG_DESTROY_WITH_PARENT,
|
GTK_DIALOG_DESTROY_WITH_PARENT,
|
||||||
GTK_STOCK_OK, GTK_RESPONSE_ACCEPT,
|
GTK_STOCK_OK, GTK_RESPONSE_ACCEPT,
|
||||||
|
@ -1410,7 +1410,7 @@ void import_dialog(GtkWidget *w, gpointer data)
|
||||||
NULL);
|
NULL);
|
||||||
|
|
||||||
vbox = gtk_dialog_get_content_area(GTK_DIALOG(dialog));
|
vbox = gtk_dialog_get_content_area(GTK_DIALOG(dialog));
|
||||||
label = gtk_label_new("Import: \nLoad XML file or import directly from dive computer");
|
label = gtk_label_new("Load XML file or import directly from dive computer");
|
||||||
gtk_box_pack_start(GTK_BOX(vbox), label, FALSE, TRUE, 3);
|
gtk_box_pack_start(GTK_BOX(vbox), label, FALSE, TRUE, 3);
|
||||||
xml_file_selector(vbox, dialog, &filenames);
|
xml_file_selector(vbox, dialog, &filenames);
|
||||||
computer = dive_computer_selector(vbox);
|
computer = dive_computer_selector(vbox);
|
||||||
|
|
Loading…
Add table
Reference in a new issue