aboutsummaryrefslogtreecommitdiffstats
path: root/ui/gtk/edit_packet_comment_dlg.c
diff options
context:
space:
mode:
authorMartin Kaiser <wireshark@kaiser.cx>2012-09-24 19:30:23 +0000
committerMartin Kaiser <wireshark@kaiser.cx>2012-09-24 19:30:23 +0000
commit47cf08409da99bdd1e76f2d16bda82b0d10d68f0 (patch)
treede2133a379c17bebaa96036298a11e6c730fbd6a /ui/gtk/edit_packet_comment_dlg.c
parenteea9174bcf75f240b303a593f47121f59e127b02 (diff)
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
Diffstat (limited to 'ui/gtk/edit_packet_comment_dlg.c')
-rw-r--r--ui/gtk/edit_packet_comment_dlg.c3
1 files changed, 3 insertions, 0 deletions
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);
}