aboutsummaryrefslogtreecommitdiffstats
path: root/gtk/conversations_table.c
diff options
context:
space:
mode:
authorGerald Combs <gerald@wireshark.org>2004-08-08 03:56:02 +0000
committerGerald Combs <gerald@wireshark.org>2004-08-08 03:56:02 +0000
commit9cde8d8a70c8b96ac9d246a75f3b1cab3f3404d8 (patch)
tree3e1b898ca4a9986a5e5534a1878f7cb1eae250c3 /gtk/conversations_table.c
parent42b915674b5fabf183bae1ca491febbd5a854642 (diff)
downloadwireshark-9cde8d8a70c8b96ac9d246a75f3b1cab3f3404d8.tar.gz
wireshark-9cde8d8a70c8b96ac9d246a75f3b1cab3f3404d8.tar.bz2
wireshark-9cde8d8a70c8b96ac9d246a75f3b1cab3f3404d8.zip
Put the "copy" button back in the conversation and host list tables.
svn path=/trunk/; revision=11624
Diffstat (limited to 'gtk/conversations_table.c')
-rw-r--r--gtk/conversations_table.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gtk/conversations_table.c b/gtk/conversations_table.c
index 828f46b938..ebd61d1463 100644
--- a/gtk/conversations_table.c
+++ b/gtk/conversations_table.c
@@ -1072,7 +1072,7 @@ draw_ct_table_data(conversations_table *ct)
}
-#if (GTK_MAJOR_VERSION > 2)
+#if (GTK_MAJOR_VERSION >= 2)
static void
copy_as_csv_cb(GtkWindow *win _U_, gpointer data)
{
@@ -1122,7 +1122,7 @@ init_ct_table_page(conversations_table *conversations, GtkWidget *vbox, gboolean
GString *error_string;
GtkWidget *label;
char title[256];
-#if (GTK_MAJOR_VERSION > 2)
+#if (GTK_MAJOR_VERSION >= 2)
GtkWidget *copy_bt;
GtkTooltips *tooltips = gtk_tooltips_new();
#endif
@@ -1209,7 +1209,7 @@ init_ct_table_page(conversations_table *conversations, GtkWidget *vbox, gboolean
/* create popup menu for this table */
ct_create_popup_menu(conversations);
-#if (GTK_MAJOR_VERSION > 2)
+#if (GTK_MAJOR_VERSION >= 2)
/* XXX - maybe we want to have a "Copy as CSV" stock button here? */
/*copy_bt = gtk_button_new_with_label ("Copy content to clipboard as CSV");*/
copy_bt = BUTTON_NEW_FROM_STOCK(GTK_STOCK_COPY);