From 2ddb50c5a54504a2196f5ec99e06be57cbf86b51 Mon Sep 17 00:00:00 2001 From: "Lubomir I. Ivanov" Date: Fri, 21 Sep 2012 21:35:40 +0300 Subject: More cosmetic changes in the "Import" dialog Renamed the XML button and titles slightly. Generalized the dialog topmost text to "Choose what to import:". Signed-off-by: Lubomir I. Ivanov --- gtk-gui.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'gtk-gui.c') diff --git a/gtk-gui.c b/gtk-gui.c index 756f00a08..277c9343b 100644 --- a/gtk-gui.c +++ b/gtk-gui.c @@ -1312,7 +1312,7 @@ static void pick_import_files(GtkWidget *w, GSList **filelist) struct stat sb; *filelist = NULL; - fs_dialog = gtk_file_chooser_dialog_new("Choose Files to import", + fs_dialog = gtk_file_chooser_dialog_new("Choose Files To Import", GTK_WINDOW(main_window), GTK_FILE_CHOOSER_ACTION_OPEN, GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL, @@ -1357,12 +1357,12 @@ static void xml_file_selector(GtkWidget *vbox, GtkWidget *main_dialog, GSList ** hbox = gtk_hbox_new(FALSE, 6); gtk_box_pack_start(GTK_BOX(vbox), hbox, FALSE, FALSE, 3); - frame = gtk_frame_new("XML file name"); + frame = gtk_frame_new("XML files"); gtk_box_pack_start(GTK_BOX(hbox), frame, FALSE, TRUE, 3); box = gtk_hbox_new(FALSE, 6); gtk_container_add(GTK_CONTAINER(frame), box); - chooser = gtk_button_new_with_label("Pick XML file to import"); + chooser = gtk_button_new_with_label("Choose Files To Import"); g_signal_connect(G_OBJECT(chooser), "clicked", G_CALLBACK(pick_import_files), list); gtk_box_pack_start(GTK_BOX(box), chooser, FALSE, FALSE, 6); } @@ -1423,7 +1423,7 @@ void import_dialog(GtkWidget *w, gpointer data) NULL); vbox = gtk_dialog_get_content_area(GTK_DIALOG(dialog)); - label = gtk_label_new("Load XML file or import directly from dive computer"); + label = gtk_label_new("Choose what to import:"); gtk_box_pack_start(GTK_BOX(vbox), label, FALSE, TRUE, 3); xml_file_selector(vbox, dialog, &filenames); computer = dive_computer_selector(vbox); -- cgit v1.2.3-70-g09d2