diff options
author | Guy Harris <guy@alum.mit.edu> | 2012-06-04 02:24:42 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2012-06-04 02:24:42 +0000 |
commit | 9c44d87610cf97fbfc7d4ba9628676ab043547c9 (patch) | |
tree | b827248f96aff727b5aced96c5c97b4958b1c6d6 /ui/gtk/Makefile.common | |
parent | bcfbbd6f1e0e34dfe8c12f231a0e69ed717248f3 (diff) |
Have a main_update_for_unsaved_changes() routine that, if changes are
made to the capture file (adding/removing/editing comments, for now) or
if a capture file with unsaved changes are unsaved, updates the menu
bar, the toolbar, *and* the titlebar, which now has a GNOME-style "*" to
indicate unsaved changes.
Make set_menus_for_capture_file() a private interface between main.c and
main_menubar.c, and have its callers, such as
main_update_for_unsaved_changes(), be responsible for updating the
toolbar as well.
svn path=/trunk/; revision=43051
Diffstat (limited to 'ui/gtk/Makefile.common')
-rw-r--r-- | ui/gtk/Makefile.common | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ui/gtk/Makefile.common b/ui/gtk/Makefile.common index 113a945e8c..f836c60a21 100644 --- a/ui/gtk/Makefile.common +++ b/ui/gtk/Makefile.common @@ -292,6 +292,7 @@ noinst_HEADERS = \ main.h \ main_airpcap_toolbar.h \ main_filter_toolbar.h \ + main_menubar_private.h \ menus.h \ main_proto_draw.h \ main_statusbar_private.h \ |