summaryrefslogtreecommitdiffstats
path: root/gtk-gui.c
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2012-09-15 05:29:12 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2012-09-17 21:03:03 -0400
commit65d9d488452c6d13d8db7812dfd09be0e985876d (patch)
treea248033e3f15a35b333529a5028ba5539316072d /gtk-gui.c
parent1771500078312047d4c9ca1800af17029983e69f (diff)
downloadsubsurface-65d9d488452c6d13d8db7812dfd09be0e985876d.tar.gz
Display current filename in windows title
This seems to make sense since we have a pretty strong concept of the "active file" that we are working on. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'gtk-gui.c')
-rw-r--r--gtk-gui.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/gtk-gui.c b/gtk-gui.c
index d2e2817d8..e5bdac9f2 100644
--- a/gtk-gui.c
+++ b/gtk-gui.c
@@ -25,7 +25,7 @@ GtkWidget *vpane, *hpane;
GtkWidget *notebook;
int error_count;
-
+char *existing_filename;
const char *divelist_font;
const char *default_filename;
@@ -81,7 +81,6 @@ void repaint_dive(void)
gtk_widget_queue_draw(dive_profile);
}
-static char *existing_filename;
static gboolean need_icon = TRUE;
static void on_info_bar_response(GtkWidget *widget, gint response,