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:
Lubomir I. Ivanov 2012-09-17 01:37:09 +03:00 committed by Dirk Hohndel
parent 21a8f3f325
commit ac06d1f693

View file

@ -1402,7 +1402,7 @@ void import_dialog(GtkWidget *w, gpointer data)
.devname = NULL,
};
dialog = gtk_dialog_new_with_buttons("Import from dive computer",
dialog = gtk_dialog_new_with_buttons("Import",
GTK_WINDOW(main_window),
GTK_DIALOG_DESTROY_WITH_PARENT,
GTK_STOCK_OK, GTK_RESPONSE_ACCEPT,
@ -1410,7 +1410,7 @@ void import_dialog(GtkWidget *w, gpointer data)
NULL);
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);
xml_file_selector(vbox, dialog, &filenames);
computer = dive_computer_selector(vbox);