aboutsummaryrefslogtreecommitdiffstats
path: root/mail/folder-browser.c
diff options
context:
space:
mode:
authorDan Winship <danw@src.gnome.org>2000-06-10 09:52:51 +0800
committerDan Winship <danw@src.gnome.org>2000-06-10 09:52:51 +0800
commit88b0244b327a951ea96687aaab1ed51439c23976 (patch)
tree3dce22ab5b2fab8ecb09f252a3ea06bdfc724365 /mail/folder-browser.c
parent66cfad20330cf8a2b5f56b5637064b481b3ac233 (diff)
downloadgsoc2013-evolution-88b0244b327a951ea96687aaab1ed51439c23976.tar
gsoc2013-evolution-88b0244b327a951ea96687aaab1ed51439c23976.tar.gz
gsoc2013-evolution-88b0244b327a951ea96687aaab1ed51439c23976.tar.bz2
gsoc2013-evolution-88b0244b327a951ea96687aaab1ed51439c23976.tar.lz
gsoc2013-evolution-88b0244b327a951ea96687aaab1ed51439c23976.tar.xz
gsoc2013-evolution-88b0244b327a951ea96687aaab1ed51439c23976.tar.zst
gsoc2013-evolution-88b0244b327a951ea96687aaab1ed51439c23976.zip
Add a serial number to FolderBrowser.
* folder-browser.c (folder_browser_new): Add a serial number to FolderBrowser. * folder-browser-factory.c (control_activate, control_deactivate): Include fb serial number in the name of the Bonobo toolbar to prevent problems with disappearing toolbars. This is a kludge and should go away. svn path=/trunk/; revision=3501
Diffstat (limited to 'mail/folder-browser.c')
-rw-r--r--mail/folder-browser.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/mail/folder-browser.c b/mail/folder-browser.c
index da8184993c..efb1deaa9e 100644
--- a/mail/folder-browser.c
+++ b/mail/folder-browser.c
@@ -446,10 +446,12 @@ my_folder_browser_init (GtkObject *object)
GtkWidget *
folder_browser_new (void)
{
+ static int serial;
FolderBrowser *folder_browser = gtk_type_new (folder_browser_get_type ());
my_folder_browser_init (GTK_OBJECT (folder_browser));
folder_browser->uri = NULL;
+ folder_browser->serial = serial++;
return GTK_WIDGET (folder_browser);
}