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/menus.h | |
parent | bcfbbd6f1e0e34dfe8c12f231a0e69ed717248f3 (diff) | |
download | wireshark-9c44d87610cf97fbfc7d4ba9628676ab043547c9.tar.gz |
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/menus.h')
-rw-r--r-- | ui/gtk/menus.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/ui/gtk/menus.h b/ui/gtk/menus.h index 27940cbc06..cf1ec47243 100644 --- a/ui/gtk/menus.h +++ b/ui/gtk/menus.h @@ -125,12 +125,6 @@ extern GtkWidget *menus_get_profiles_change_menu (void); void set_menus_for_selected_tree_row(capture_file *cf); -/* Enable or disable menu items based on whether you have a capture file - you've finished reading and, if you have one, whether it's been saved - and whether it could be saved except by copying the raw packet data. */ -void set_menus_for_capture_file(capture_file *); - - /* Enable or disable menu items based on whether there's a capture in progress. */ void set_menus_for_capture_in_progress(gboolean); |