aboutsummaryrefslogtreecommitdiffstats
path: root/gps.c
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2013-02-11 20:19:33 -0800
committerGravatar Dirk Hohndel <dirk@hohndel.org>2013-02-11 20:19:33 -0800
commitf50ae3a6897d35245f7679eddf6d7f820aecd235 (patch)
treebb6b4eaeee251517b6c1bbc6013c884250c1bbd5 /gps.c
parent9166dab702c22532cd3b8eab88a3cb2502b63c99 (diff)
downloadsubsurface-f50ae3a6897d35245f7679eddf6d7f820aecd235.tar.gz
Update German and Swiss-German translations for latest strings
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'gps.c')
-rw-r--r--gps.c3
1 files changed, 2 insertions, 1 deletions
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)