2001-10-24    <NotZed@Ximian.com>

	* folder-browser-ui.c (ui_add):
	(fbui_sensitize_timeout): Same.

	* folder-browser-factory.c (control_activate): Comment out freeze/thaw.
	(control_deactivate):

svn path=/trunk/; revision=13990
This commit is contained in:
4
2001-10-24 19:00:22 +00:00
committed by Michael Zucci
parent 5cd755bc7d
commit b61e480c42
4 changed files with 18 additions and 10 deletions

View File

@ -1,3 +1,11 @@
2001-10-24 <NotZed@Ximian.com>
* folder-browser-ui.c (ui_add):
(fbui_sensitize_timeout): Same.
* folder-browser-factory.c (control_activate): Comment out freeze/thaw.
(control_deactivate):
2001-10-24 Jon Trowbridge <trow@ximian.com>
* mail-search.c (mail_search_construct): Fixed some weird casting

View File

@ -87,13 +87,13 @@ control_activate (BonoboControl *control,
folder_browser = bonobo_control_get_widget (control);
folder_browser_set_ui_component (FOLDER_BROWSER (folder_browser), uic);
bonobo_ui_component_freeze (uic, NULL);
/*bonobo_ui_component_freeze (uic, NULL);*/
folder_browser_ui_add_global (fb);
folder_browser_ui_add_list (fb);
folder_browser_ui_add_message (fb);
bonobo_ui_component_thaw (uic, NULL);
/*bonobo_ui_component_thaw (uic, NULL);*/
folder_browser_set_shell_view(fb, fb_get_svi (control));
@ -106,12 +106,12 @@ control_deactivate (BonoboControl *control,
BonoboUIComponent *uic,
FolderBrowser *fb)
{
bonobo_ui_component_freeze (uic, NULL);
/*bonobo_ui_component_freeze (uic, NULL);*/
folder_browser_ui_rm_list (fb);
folder_browser_ui_rm_all (fb);
bonobo_ui_component_thaw (uic, NULL);
/*bonobo_ui_component_thaw (uic, NULL);*/
if (fb->folder)
mail_sync_folder (fb->folder, NULL, NULL);

View File

@ -178,7 +178,7 @@ static void ui_add (FolderBrowser *fb,
bonobo_ui_component_add_verb_list_with_data (uic, verb, fb);
bonobo_ui_component_freeze (uic, NULL);
/*bonobo_ui_component_freeze (uic, NULL);*/
file = g_strconcat ("evolution-mail-", name, ".xml", NULL);
bonobo_ui_util_set_ui (uic, EVOLUTION_DATADIR, file, "evolution-mail");
@ -186,7 +186,7 @@ static void ui_add (FolderBrowser *fb,
e_pixmaps_update (uic, pixcache);
bonobo_ui_component_thaw (uic, NULL);
/*bonobo_ui_component_thaw (uic, NULL);*/
}
/* more complex stuff */
@ -458,7 +458,7 @@ fbui_sensitize_timeout (gpointer data)
int i;
if (uic) {
bonobo_ui_component_freeze (uic, NULL);
/*bonobo_ui_component_freeze (uic, NULL);*/
for (iter = fb->sensitize_changes; iter; iter = iter->next) {
sd = (struct sensitize_data *) iter->data;
@ -467,7 +467,7 @@ fbui_sensitize_timeout (gpointer data)
g_free(sd);
}
bonobo_ui_component_thaw (uic, NULL);
/*bonobo_ui_component_thaw (uic, NULL);*/
} else {
g_slist_foreach(fb->sensitize_changes, (GFunc)g_free, NULL);
}

View File

@ -182,7 +182,7 @@ set_bonobo_ui (GtkWidget *widget, FolderBrowser *fb)
/* Load our UI */
bonobo_ui_component_freeze (uic, NULL);
/*bonobo_ui_component_freeze (uic, NULL);*/
bonobo_ui_util_set_ui (uic, EVOLUTION_DATADIR, "evolution-mail-messagedisplay.xml", "evolution-mail");
/* Load the appropriate UI stuff from the folder browser */
@ -204,7 +204,7 @@ set_bonobo_ui (GtkWidget *widget, FolderBrowser *fb)
/* Done */
bonobo_ui_component_thaw (uic, NULL);
/*bonobo_ui_component_thaw (uic, NULL);*/
}