Re: [evolution-patches] Exchange : Fix for 72099



Looks fine..

I think closing Evolution shell, before closing this window,
will not destroy this window. But this is the common problem
with all popup windows there.

-Sushma.

Sarfraaz Ahmed wrote:

This fixes showing the folder sizes from the menu.

Thanks
-- Sarfraaz

------------------------------------------------------------------------

Index: storage/xc-commands.c
===================================================================
RCS file: /cvs/gnome/evolution-exchange/storage/xc-commands.c,v
retrieving revision 1.13
diff -u -p -u -r1.13 xc-commands.c
--- storage/xc-commands.c	26 Nov 2004 09:27:00 -0000	1.13
+++ storage/xc-commands.c	15 Feb 2005 11:21:30 -0000
@@ -92,10 +92,15 @@ do_folder_size_menu (BonoboUIComponent *
	  const char *cname)
{
	XCBackendView *view = user_data;
+	EStorageSetView *storage_set_view;
+	EFolder *folder = xc_backend_view_get_selected_folder (view);

-	//exchange_folder_size (xc_backend_view_get_selected_account (view),
-			    //widget_for_view (view));
-	e_notice (widget_for_view (view), GTK_MESSAGE_ERROR, "FIXME (do_folder_size_menu)\n Right click a folder to view the sizes\n");
+	if (!folder)
+		/* FIXME : e_notice (_("Select a folder to view the sizes\n")); */
+		return;
+
+	storage_set_view = xc_backend_view_get_storage_set_view (view);
+	exchange_folder_size_display (folder, GTK_WIDGET (storage_set_view));
}

static void




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]