aboutsummaryrefslogtreecommitdiffstats
path: root/column.h
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>1999-09-10 06:53:32 +0000
committerGuy Harris <guy@alum.mit.edu>1999-09-10 06:53:32 +0000
commit046c060f989cdd51791c2112c1103f858ceeadf4 (patch)
tree2ad3d562ab8c51ee36eec5f31f5bf13f3180febb /column.h
parent7e1ce9e12207a0601d329e7147a5bca1eb5a22b6 (diff)
We need to catch a "window delete" event for the preferences dialog box
- that event happens if, say, you nuke the dialog box from a window manager - and call "delete" routines for each of the preferences tabs, so that, for preferences tabs that include list widgets, we can set a flag on the preferences tab widget telling the selection callback for the list widget that the buttons it would normally set the sensitivity of, based on whether any row in the list is selected or not, have Joined the Choir Invisible, and therefore that we shouldn't change their sensitivity because GTK+ will whine at us if we do, just as is the case if we press the "OK" or "Cancel" button (which also cause the window to go away). Can we just do this in the "window delete" handler? I.e., does that get called if we explicitly destroy the widget? Or should we catch a "destroy" event instead? (There must be a better way to do this....) svn path=/trunk/; revision=647
Diffstat (limited to 'column.h')
-rw-r--r--column.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/column.h b/column.h
index 06647e7498..21ddbd56ed 100644
--- a/column.h
+++ b/column.h
@@ -1,7 +1,7 @@
/* column.h
* Definitions for column handling routines
*
- * $Id: column.h,v 1.4 1999/07/28 03:29:00 guy Exp $
+ * $Id: column.h,v 1.5 1999/09/10 06:53:23 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@zing.org>
@@ -47,5 +47,6 @@ GtkWidget *column_prefs_show(void);
void column_prefs_ok(GtkWidget *);
void column_prefs_save(GtkWidget *);
void column_prefs_cancel(GtkWidget *);
+void column_prefs_delete(GtkWidget *);
#endif /* column.h */