struct editor_window
{
GtkWindow *window; /* The top level window of the editor */
- gchar *name; /* The name of this editor */
+ gchar *name; /* The name of this editor (UTF-8) */
enum window_type type;
} ;
const gchar * window_name (const struct editor_window *);
+/* Set the name of this window based on FILENAME.
+ FILENAME is in "filename encoding" */
void window_set_name_from_filename (struct editor_window *e,
const gchar *filename);