diff options
author | Guy Harris <guy@alum.mit.edu> | 2007-05-22 02:21:01 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2007-05-22 02:21:01 +0000 |
commit | b66228d28b4d6b00377fdd6c8cd23e0c0483ddbd (patch) | |
tree | 2b7c4b30406661726a88a3451327359d7be444c2 /ui_util.h | |
parent | dac8664c9e914564035224718a1c7b21eb87eeb1 (diff) |
Don't explicitly set the main window name unless you're changing the
state to "no packets", "file open", or "live capture in progress".
Instead, to update the main window title when the user-specified prefix
for the title changes:
save the un-decorated title as a data value attached to the main
window in set_main_window_name();
have a new routine to update the title, which fetches the
un-decorated title, decorates it, and sets the title to the
decorated value.
This fixes bug 1608.
svn path=/trunk/; revision=21876
Diffstat (limited to 'ui_util.h')
-rw-r--r-- | ui_util.h | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -35,6 +35,9 @@ extern "C" { /* Set the name of the top-level window and its icon. */ void set_main_window_name(gchar *); +/* Update the name of the main window if the user-specified decoration + changed. */ +void update_main_window_name(void); /* update the main window */ extern void main_window_update(void); /* exit the main window */ |