aboutsummaryrefslogtreecommitdiffstats
path: root/ui/gtk/main_titlebar.h
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2013-04-01 00:21:44 +0000
committerGuy Harris <guy@alum.mit.edu>2013-04-01 00:21:44 +0000
commita94307adcf95f74d19ab1b3ce3eafdc263780f1a (patch)
treefdcfdc06ae654c653ffc648fc74f2872840a884e /ui/gtk/main_titlebar.h
parent6c5c65b4867eb3c595581c40f696bc48170fe670 (diff)
Move the knowledge about what the window title should be to
ui/gtk/main_titlebar.c, with set_titlebar_for_capture_file() for either no capture file or an opened capture file and set_titlebar_for_capture_in_progress() for an in-progress capture. svn path=/trunk/; revision=48683
Diffstat (limited to 'ui/gtk/main_titlebar.h')
-rw-r--r--ui/gtk/main_titlebar.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/ui/gtk/main_titlebar.h b/ui/gtk/main_titlebar.h
index ec70fb8f02..b7362c4929 100644
--- a/ui/gtk/main_titlebar.h
+++ b/ui/gtk/main_titlebar.h
@@ -31,7 +31,10 @@
*/
extern void main_titlebar_update(void);
-/* Set the name of the top-level window. */
-extern void main_set_window_name(const gchar *);
+/* Set titlebar to reflect the current state of the capture file, if any */
+extern void set_titlebar_for_capture_file(capture_file *cf);
+
+/* Set titlebar to reflect a capture in progress */
+extern void set_titlebar_for_capture_in_progress(capture_file *cf);
#endif /* __MAIN_TITLEBAR_H__ */