diff options
author | Jeffrey Stedfast <fejj@ximian.com> | 2001-08-03 03:07:04 +0800 |
---|---|---|
committer | Jeffrey Stedfast <fejj@src.gnome.org> | 2001-08-03 03:07:04 +0800 |
commit | 6752871a360830f247f893507c872f490f8955e0 (patch) | |
tree | 22fb72ea9adad4989d79e1ca0838a569f678a639 /mail/mail-vfolder.c | |
parent | b6878cb8d3d11eedee0597301672b61f94355210 (diff) | |
download | gsoc2013-evolution-6752871a360830f247f893507c872f490f8955e0.tar.gz gsoc2013-evolution-6752871a360830f247f893507c872f490f8955e0.tar.zst gsoc2013-evolution-6752871a360830f247f893507c872f490f8955e0.zip |
Connect to the folder_remove signal on the storage. (vfolder_remove): New
2001-08-02 Jeffrey Stedfast <fejj@ximian.com>
* mail-vfolder.c (vfolder_create_storage): Connect to the
folder_remove signal on the storage.
(vfolder_remove): New function to remove a vfolder.
(vfolder_edit): Raise the window if it already exists.
svn path=/trunk/; revision=11593
Diffstat (limited to 'mail/mail-vfolder.c')
-rw-r--r-- | mail/mail-vfolder.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/mail/mail-vfolder.c b/mail/mail-vfolder.c index 6319546b2f..7eff3c462e 100644 --- a/mail/mail-vfolder.c +++ b/mail/mail-vfolder.c @@ -422,18 +422,18 @@ vfolder_editor_destroy (GtkWidget *widget, gpointer user_data) } static void -vfolder_editor_clicked(GtkWidget *w, int button, void *data) +vfolder_editor_clicked (GtkWidget *dialog, int button, void *data) { if (button == 0) { char *user; - user = g_strdup_printf("%s/vfolders.xml", evolution_dir); - rule_context_save((RuleContext *)context, user); - g_free(user); - vfolder_refresh(); + user = g_strdup_printf ("%s/vfolders.xml", evolution_dir); + rule_context_save ((RuleContext *)context, user); + g_free (user); + vfolder_refresh (); } if (button != -1) { - gnome_dialog_close((GnomeDialog *)w); + gnome_dialog_close (GNOME_DIALOG (dialog)); } } @@ -441,7 +441,7 @@ void vfolder_edit (void) { if (vfolder_editor) { - /* FIXME: raise the vfolder editor window? */ + gdk_window_raise (GTK_WIDGET (vfolder_editor)->window); return; } |