aboutsummaryrefslogtreecommitdiffstats
path: root/gtk/dlg_utils.c
diff options
context:
space:
mode:
authorUlf Lamping <ulf.lamping@web.de>2004-01-07 00:10:52 +0000
committerUlf Lamping <ulf.lamping@web.de>2004-01-07 00:10:52 +0000
commitbba39ed952513107da36c2e45fa097c644043959 (patch)
treef3487df000739c8bc8b61abc97db069f8e7ea121 /gtk/dlg_utils.c
parentbcccb3185d2092928b58f384047716110ddce5f6 (diff)
save dialog with "Captured" and "Displayed" buttons in packet range
svn path=/trunk/; revision=9580
Diffstat (limited to 'gtk/dlg_utils.c')
-rw-r--r--gtk/dlg_utils.c13
1 files changed, 12 insertions, 1 deletions
diff --git a/gtk/dlg_utils.c b/gtk/dlg_utils.c
index 09eda1f9c3..941056f7e7 100644
--- a/gtk/dlg_utils.c
+++ b/gtk/dlg_utils.c
@@ -1,7 +1,7 @@
/* dlg_utils.c
* Utilities to use when constructing dialogs
*
- * $Id: dlg_utils.c,v 1.14 2003/12/13 03:36:17 guy Exp $
+ * $Id: dlg_utils.c,v 1.15 2004/01/07 00:10:51 ulfl Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@@ -199,4 +199,15 @@ dlg_check_button_new_with_label_with_mnemonic(const gchar *label,
dlg_fix_button_label(check_button, accel_group);
return check_button;
}
+
+GtkWidget *
+dlg_toggle_button_new_with_label_with_mnemonic(const gchar *label,
+ GtkAccelGroup *accel_group)
+{
+ GtkWidget *toggle_button;
+
+ toggle_button = gtk_toggle_button_new_with_label (label);
+ dlg_fix_button_label(toggle_button, accel_group);
+ return toggle_button;
+}
#endif