From 8e2a930023b7d8c86d8be142a01679a57c25e411 Mon Sep 17 00:00:00 2001 From: Ulf Lamping Date: Wed, 21 Jan 2004 21:19:34 +0000 Subject: implemented dlg_button_row_new to get a standard function for layouting the dialog buttons, and use it where appropriate. This will help us with the GTK1/2 conflict on button layouts and will also result in a more consistent look of the dialogs at all. svn path=/trunk/; revision=9771 --- gtk/dlg_utils.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'gtk/dlg_utils.h') diff --git a/gtk/dlg_utils.h b/gtk/dlg_utils.h index 81a3adaacd..176e308f81 100644 --- a/gtk/dlg_utils.h +++ b/gtk/dlg_utils.h @@ -1,7 +1,7 @@ /* dlg_utils.h * Declarations of utilities to use when constructing dialogs * - * $Id: dlg_utils.h,v 1.8 2004/01/07 00:10:51 ulfl Exp $ + * $Id: dlg_utils.h,v 1.9 2004/01/21 21:19:32 ulfl Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs @@ -32,6 +32,10 @@ extern GtkWidget *dlg_window_new(const gchar *); main window. */ extern GtkWidget *file_selection_new(const gchar *); +/* Create a button row for a dialog */ +/* the button widgets will be available by OBJECT_GET_DATA(stock_id) */ +extern GtkWidget *dlg_button_row_new(gchar *stock_id_first, ...); + /* Set the "activate" signal for a widget to call a routine to activate the "OK" button for a dialog box. */ extern void dlg_set_activate(GtkWidget *widget, GtkWidget *ok_button); -- cgit v1.2.3