From 09061834119ed7118b3ddb345c9257285376e02f Mon Sep 17 00:00:00 2001 From: Chris Toshok Date: Mon, 20 May 2002 21:59:27 +0000 Subject: set the parent window insensitive before popping up the dialog and 2002-05-20 Chris Toshok * evolution-folder-selector-button.c (clicked): set the parent window insensitive before popping up the dialog and sensitive after it's popped down, to give us semi-modal behavior. Also, emit a "popped_up" signal when popping up the dialog, and emit "canceled" when the return folder is NULL (when the user canceled the dialog). (class_init): fix typo (?) - parent type isn't bonobo_object_get_type(), it's PARENT_TYPE. Also, initialize the POPPED_UP and CANCELED signals. * evolution-folder-selector-button.h (struct _EvolutionFolderSelectorButtonClass): add popped_up and canceled signals. svn path=/trunk/; revision=16959 --- shell/evolution-folder-selector-button.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'shell/evolution-folder-selector-button.h') diff --git a/shell/evolution-folder-selector-button.h b/shell/evolution-folder-selector-button.h index d2918bd143..5f5e1115d1 100644 --- a/shell/evolution-folder-selector-button.h +++ b/shell/evolution-folder-selector-button.h @@ -52,7 +52,9 @@ struct _EvolutionFolderSelectorButtonClass { GtkButtonClass parent_class; /* signals */ + void (*popped_up) (EvolutionFolderSelectorButton *button); void (*selected) (EvolutionFolderSelectorButton *button, GNOME_Evolution_Folder *folder); + void (*canceled) (EvolutionFolderSelectorButton *button); }; -- cgit