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
This commit is contained in:
parent
eea9174bcf
commit
47cf08409d
|
@ -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);
|
||||
|
||||
}
|
||||
|
|
|
@ -32,6 +32,11 @@ void profile_bar_update(void);
|
|||
void packets_bar_update(void);
|
||||
void status_expert_update(void);
|
||||
|
||||
/** Update the capture comment icon in the statusbar, depending on the
|
||||
* current capture comment (XXX - it's only available for GTK at the moment)
|
||||
*/
|
||||
void status_capture_comment_update(void);
|
||||
|
||||
/** Push a formatted message referring to the currently-selected field
|
||||
* onto the statusbar.
|
||||
*
|
||||
|
|
Loading…
Reference in New Issue