aboutsummaryrefslogtreecommitdiffstats
path: root/shell/e-folder-list.c
diff options
context:
space:
mode:
authorEttore Perazzoli <ettore@src.gnome.org>2002-11-02 16:25:03 +0800
committerEttore Perazzoli <ettore@src.gnome.org>2002-11-02 16:25:03 +0800
commit9c73777f2268b5bf2622f893e2a3ba7d0f720572 (patch)
treef81b79f19b87f84b4429d329b3fc0f9ff7946060 /shell/e-folder-list.c
parent236c15d106b4e740d4e3996e0649334ca8e13876 (diff)
downloadgsoc2013-evolution-9c73777f2268b5bf2622f893e2a3ba7d0f720572.tar.gz
gsoc2013-evolution-9c73777f2268b5bf2622f893e2a3ba7d0f720572.tar.zst
gsoc2013-evolution-9c73777f2268b5bf2622f893e2a3ba7d0f720572.zip
First big sync of my GNOME 2 porting work (incomplete, and still
pretty broken). Weeeeee! svn path=/trunk/; revision=18503
Diffstat (limited to 'shell/e-folder-list.c')
-rw-r--r--shell/e-folder-list.c36
1 files changed, 24 insertions, 12 deletions
diff --git a/shell/e-folder-list.c b/shell/e-folder-list.c
index a86461f303..7291d7fde6 100644
--- a/shell/e-folder-list.c
+++ b/shell/e-folder-list.c
@@ -22,17 +22,26 @@
*/
#include <config.h>
-#include <libgnomeui/gnome-canvas-rect-ellipse.h>
-#include "e-folder-list.h"
-#include <gal/e-table/e-table-memory-store.h>
-#include <gal/widgets/e-unicode.h>
-#include <gal/widgets/e-gui-utils.h>
-#include <gal/widgets/e-option-menu.h>
+
+#include <string.h>
+
+#include <gtk/gtkframe.h>
+
#include <libgnome/gnome-i18n.h>
+
#include <gnome-xml/parser.h>
#include <gnome-xml/xmlmemory.h>
-#include <gal/util/e-xml-utils.h>
+
#include <glade/glade.h>
+
+#include <gal/e-table/e-table-memory-store.h>
+#include <gal/util/e-xml-utils.h>
+#include <gal/widgets/e-unicode.h>
+#include <gal/widgets/e-gui-utils.h>
+#include <gal/widgets/e-option-menu.h>
+
+#include "e-folder-list.h"
+
#include "Evolution.h"
static GtkVBoxClass *parent_class = NULL;
@@ -130,12 +139,14 @@ e_folder_list_changed (EFolderList *efl)
static void
e_folder_list_destroy (GtkObject *object)
{
- EFolderList *efl = E_FOLDER_LIST(object);
+ EFolderList *efl = E_FOLDER_LIST (object);
if (efl->priv->gui)
- gtk_object_unref(GTK_OBJECT(efl->priv->gui));
+ gtk_object_unref (GTK_OBJECT (efl->priv->gui));
+
if (efl->priv->client)
- bonobo_object_client_unref(BONOBO_OBJECT_CLIENT(efl->priv->client), NULL);
+ g_object_unref (efl->priv->client);
+
g_free (efl->priv);
efl->priv = NULL;
@@ -400,7 +411,7 @@ e_folder_list_init (EFolderList *efl)
efl->priv = g_new (EFolderListPrivate, 1);
- gui = glade_xml_new (EVOLUTION_GLADEDIR "/e-folder-list.glade", NULL);
+ gui = glade_xml_new (EVOLUTION_GLADEDIR "/e-folder-list.glade", NULL, NULL);
efl->priv->gui = gui;
efl->priv->title = NULL;
@@ -555,8 +566,9 @@ e_folder_list_new (EvolutionShellClient *client, char *xml)
GtkWidget*
e_folder_list_construct (EFolderList *efl, EvolutionShellClient *client, char *xml)
{
+ g_object_ref (client);
efl->priv->client = client;
- bonobo_object_ref (BONOBO_OBJECT (efl->priv->client));
+
efl->priv->corba_storage_registry = evolution_shell_client_get_storage_registry_interface (client);
e_folder_list_set_xml (efl, xml);
return GTK_WIDGET (efl);