diff options
author | Gerald Combs <gerald@wireshark.org> | 2012-12-23 04:37:58 +0000 |
---|---|---|
committer | Gerald Combs <gerald@wireshark.org> | 2012-12-23 04:37:58 +0000 |
commit | a5d5162826b0349b0a7846d8336afdd77ab07a65 (patch) | |
tree | 1b47592d5aeb6b4cfcab86bf9264242446fc99b4 /ui/gtk/edit_packet_comment_dlg.c | |
parent | aa347d504f65d3c8650c02a3b2cd839d11d0936b (diff) |
Qt: Implement packet comments. Fix packet detail updates.
GTK+: Shorten the packet comment menu item name. Remove a couple of
unneeded includes.
Both: Add an arbitrary 20 MB limit when fetching all packet comments.
Use a color from the Tango palette for comments.
svn path=/trunk/; revision=46709
Diffstat (limited to 'ui/gtk/edit_packet_comment_dlg.c')
-rw-r--r-- | ui/gtk/edit_packet_comment_dlg.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/ui/gtk/edit_packet_comment_dlg.c b/ui/gtk/edit_packet_comment_dlg.c index 97f2f529f9..d5034c5963 100644 --- a/ui/gtk/edit_packet_comment_dlg.c +++ b/ui/gtk/edit_packet_comment_dlg.c @@ -32,9 +32,6 @@ #include <epan/epan.h> #include <epan/filesystem.h> -#include "../cfile.h" -#include "../file.h" - #include "ui/main_statusbar.h" #include "ui/simple_dialog.h" @@ -132,7 +129,7 @@ edit_packet_comment_dlg (GtkAction *action _U_, gpointer data _U_) GtkWidget *bbox; GtkWidget *ok_bt, *cancel_bt, *help_bt; GtkTextBuffer *buffer; - gchar *opt_comment; + const gchar *opt_comment; gchar *buf_str; edit_or_add_pkt_comment_dlg = dlg_window_new ("Edit or Add Packet Comments"); |