From 47cf08409da99bdd1e76f2d16bda82b0d10d68f0 Mon Sep 17 00:00:00 2001 From: Martin Kaiser Date: Mon, 24 Sep 2012 19:30:23 +0000 Subject: change the capture comment icon in the statusbar from "add" to "edit" when a comment was added (deletion of a comment is not recognized correctly) svn path=/trunk/; revision=45109 --- ui/gtk/edit_packet_comment_dlg.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'ui/gtk/edit_packet_comment_dlg.c') diff --git a/ui/gtk/edit_packet_comment_dlg.c b/ui/gtk/edit_packet_comment_dlg.c index cfea157e8d..c823533e8d 100644 --- a/ui/gtk/edit_packet_comment_dlg.c +++ b/ui/gtk/edit_packet_comment_dlg.c @@ -35,6 +35,7 @@ #include "../cfile.h" #include "../file.h" +#include "ui/main_statusbar.h" #include "ui/simple_dialog.h" #include "ui/gtk/dlg_utils.h" @@ -93,6 +94,8 @@ capture_comment_text_buff_ok_cb(GtkWidget *w _U_, GtkWidget *view) /* Update the main window as appropriate */ main_update_for_unsaved_changes(&cfile); + status_capture_comment_update(); + window_destroy(edit_or_add_capture_comment_dlg); } -- cgit v1.2.3