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>
This commit is contained in:
Dirk Hohndel 2012-09-15 05:29:12 -07:00
parent 1771500078
commit 65d9d48845
3 changed files with 16 additions and 4 deletions

View file

@ -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,