aboutsummaryrefslogtreecommitdiffstats
path: root/gtk/capture_info_dlg.c
diff options
context:
space:
mode:
authorUlf Lamping <ulf.lamping@web.de>2004-01-21 03:54:32 +0000
committerUlf Lamping <ulf.lamping@web.de>2004-01-21 03:54:32 +0000
commite3dd2f547251fdece61c01694df03359f5b28d30 (patch)
tree3f4bdd13b78cad58c80f9ad97a4cea595940f2d9 /gtk/capture_info_dlg.c
parent76910636e00a84502c7ae8c711ad760788d43420 (diff)
use stock buttons whereever possible,
added some ethereal specific stock icons svn path=/trunk/; revision=9763
Diffstat (limited to 'gtk/capture_info_dlg.c')
-rw-r--r--gtk/capture_info_dlg.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/gtk/capture_info_dlg.c b/gtk/capture_info_dlg.c
index 400907c90f..74657955b3 100644
--- a/gtk/capture_info_dlg.c
+++ b/gtk/capture_info_dlg.c
@@ -1,7 +1,7 @@
/* capture_info_dlg.c
* Routines for packet capture info dialog
*
- * $Id: capture_info_dlg.c,v 1.9 2004/01/05 18:11:27 ulfl Exp $
+ * $Id: capture_info_dlg.c,v 1.10 2004/01/21 03:54:29 ulfl Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@@ -202,11 +202,7 @@ capture_info *cinfo)
/* allow user to either click a stop button, or the close button on
the window to stop a capture in progress. */
-#if GTK_MAJOR_VERSION < 2
- stop_bt = gtk_button_new_with_label ("Stop");
-#else
- stop_bt = gtk_button_new_from_stock(GTK_STOCK_STOP);
-#endif
+ stop_bt = BUTTON_NEW_FROM_STOCK(GTK_STOCK_STOP);
SIGNAL_CONNECT(stop_bt, "clicked", capture_info_stop_cb,
cinfo->callback_data);
SIGNAL_CONNECT(info->cap_w, "delete_event", capture_info_delete_cb,