aboutsummaryrefslogtreecommitdiffstats
path: root/ui/gtk/edit_packet_comment_dlg.c
diff options
context:
space:
mode:
authorAnders Broman <anders.broman@ericsson.com>2012-02-12 14:56:06 +0000
committerAnders Broman <anders.broman@ericsson.com>2012-02-12 14:56:06 +0000
commitf78145ca9f8d404ea1fc6cfc724ac7556135cef3 (patch)
treec8f5c9c05825709a09d9bbfdf3613756e25bd28d /ui/gtk/edit_packet_comment_dlg.c
parentc36b0f1b0375db5ef69c5cfd8b2a77d95cff3feb (diff)
Add the edit packet comment menu entry and the empty files
to actually handel the menu to edit the comments. svn path=/trunk/; revision=40980
Diffstat (limited to 'ui/gtk/edit_packet_comment_dlg.c')
-rw-r--r--ui/gtk/edit_packet_comment_dlg.c59
1 files changed, 59 insertions, 0 deletions
diff --git a/ui/gtk/edit_packet_comment_dlg.c b/ui/gtk/edit_packet_comment_dlg.c
new file mode 100644
index 0000000000..3ab76a8561
--- /dev/null
+++ b/ui/gtk/edit_packet_comment_dlg.c
@@ -0,0 +1,59 @@
+/* edit_packet_comment_dlg.c
+ * Dialog box for editing or adding packet comments.
+ *
+ * $Id$
+ *
+ * Wireshark - Network traffic analyzer
+ * By Gerald Combs <gerald@wireshark.org>
+ * Copyright 1998 Gerald Combs
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License
+ * as published by the Free Software Foundation; either version 2
+ * of the License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
+#ifdef HAVE_SYS_TYPES_H
+#include <sys/types.h>
+#endif
+#include <string.h>
+
+#include <gtk/gtk.h>
+
+#include "ui/simple_dialog.h"
+
+#include "ui/gtk/dlg_utils.h"
+#include "ui/gtk/gui_utils.h"
+#include "ui/gtk/help_dlg.h"
+#include "ui/gtk/main.h"
+#include "ui/gtk/menus.h"
+#include "ui/gtk/edit_packet_comment_dlg.h"
+#include "ui/gtk/old-gtk-compat.h"
+
+GtkWidget *edit_or_add_pkt_comment_dlg = NULL;
+
+
+
+void
+edit_packet_comment_dlg (GtkAction *action _U_, gpointer data)
+{
+
+ GtkWidget *dialog = simple_dialog (ESD_TYPE_ERROR, ESD_BTN_OK,
+ "Not implemented yet");
+
+
+
+}