From f50ae3a6897d35245f7679eddf6d7f820aecd235 Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Mon, 11 Feb 2013 20:19:33 -0800 Subject: Update German and Swiss-German translations for latest strings Signed-off-by: Dirk Hohndel --- gps.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'gps.c') diff --git a/gps.c b/gps.c index ec427fdd5..899db81c1 100644 --- a/gps.c +++ b/gps.c @@ -203,7 +203,6 @@ void show_map(OsmGpsMap *map, GtkWidget **window, struct dive *dive, void (*call *window = gtk_window_new(GTK_WINDOW_TOPLEVEL); gtk_window_set_position(GTK_WINDOW(*window), GTK_WIN_POS_MOUSE); gtk_window_set_default_size(GTK_WINDOW(*window), 560, 360); - gtk_window_set_title(GTK_WINDOW(*window), _("Dive locations")); gtk_container_set_border_width(GTK_CONTAINER(*window), 5); gtk_window_set_resizable(GTK_WINDOW(*window), TRUE); gtk_container_add(GTK_CONTAINER(*window), GTK_WIDGET(map)); @@ -216,6 +215,8 @@ void show_map(OsmGpsMap *map, GtkWidget **window, struct dive *dive, void (*call if (callback) { g_signal_connect(G_OBJECT(map), "button-press-event", G_CALLBACK(button_cb), callback); gtk_window_set_title(GTK_WINDOW(*window), _("Use right click to mark dive location at cursor")); + } else { + gtk_window_set_title(GTK_WINDOW(*window), _("Dive locations")); } gtk_widget_show_all(*window); if (callback) -- cgit v1.2.3-70-g09d2