diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2013-02-11 20:19:33 -0800 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2013-02-11 20:19:33 -0800 |
commit | f50ae3a6897d35245f7679eddf6d7f820aecd235 (patch) | |
tree | bb6b4eaeee251517b6c1bbc6013c884250c1bbd5 /gps.c | |
parent | 9166dab702c22532cd3b8eab88a3cb2502b63c99 (diff) | |
download | subsurface-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.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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) |