diff options
author | Guy Harris <guy@alum.mit.edu> | 2012-02-12 23:09:14 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2012-02-12 23:09:14 +0000 |
commit | 96b89de3e951b99d7c873534a9d421fc330f900b (patch) | |
tree | 8f9ad7dc4dcced26cde8de2d12f196b41ae9e0e1 /ui/gtk/edit_packet_comment_dlg.c | |
parent | 13beca3bbf4d126f561f34a77df177bc09a7b7a3 (diff) |
Capitalize the "P" in "Packet" in "Add or Edit Packet Comment". Add
"..." after it, as it pops up a dialog box to let you actually type in a
comment.
Add "Add or Edit Packet Comment" to the menubar's Edit menu.
svn path=/trunk/; revision=41005
Diffstat (limited to 'ui/gtk/edit_packet_comment_dlg.c')
-rw-r--r-- | ui/gtk/edit_packet_comment_dlg.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/ui/gtk/edit_packet_comment_dlg.c b/ui/gtk/edit_packet_comment_dlg.c index e622806ccf..b546253eec 100644 --- a/ui/gtk/edit_packet_comment_dlg.c +++ b/ui/gtk/edit_packet_comment_dlg.c @@ -40,6 +40,7 @@ #include "ui/gtk/help_dlg.h" #include "ui/gtk/main.h" #include "ui/gtk/menus.h" +#include "ui/gtk/new_packet_list.h" #include "ui/gtk/edit_packet_comment_dlg.h" #include "ui/gtk/old-gtk-compat.h" @@ -58,7 +59,7 @@ pkt_comment_text_buff_clear_cb(GtkWidget *w _U_, GtkWidget *view) void -edit_packet_comment_dlg (GtkAction *action _U_, gpointer data) +edit_packet_comment_dlg (GtkAction *action _U_, gpointer data _U_) { GtkWidget *vbox; @@ -82,7 +83,7 @@ edit_packet_comment_dlg (GtkAction *action _U_, gpointer data) buffer = gtk_text_view_get_buffer (GTK_TEXT_VIEW (view)); /* Get the comment */ - opt_comment = get_packet_comment_from_packet_list_row(data); + opt_comment = new_packet_list_get_packet_comment(); /*g_warning("Fetched comment '%s'",opt_comment);*/ if(opt_comment){ |