From 492cdaf6f9db2f622ad4a4b292bddaf55631d0b6 Mon Sep 17 00:00:00 2001 From: Ettore Perazzoli Date: Tue, 2 Dec 2003 03:41:35 +0000 Subject: New member activity_handler. (mail_component_init): Initialize. * mail-component.c (struct _MailComponentPrivate): New member activity_handler. (mail_component_init): Initialize. (impl_dispose): Unref. (mail_component_peek_activity_handler): New. (impl_createControls): Create an ETaskBar, attach it to the ActivityHandler, and return it to the caller as the statusbar control. * e-activity-handler.c (e_activity_handler_operation_finished): Argh, renamed from e_activity_client_operation_finished(). (e_activity_handler_operation_started): Don't unref the pixbuf. * e-shell-window.c (setup_widgets): Hide the menu hint label. * e-activity-handler.c (init): Init to next_activity_id to 1 so callers can rely on it being nonzero. svn path=/trunk/; revision=23556 --- shell/e-shell-window.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'shell/e-shell-window.c') diff --git a/shell/e-shell-window.c b/shell/e-shell-window.c index e11908902f..fb123561a7 100644 --- a/shell/e-shell-window.c +++ b/shell/e-shell-window.c @@ -534,7 +534,7 @@ setup_status_bar (EShellWindow *window) setup_statusbar_notebook (window); ui_engine = bonobo_window_get_ui_engine (BONOBO_WINDOW (window)); - + g_signal_connect (ui_engine, "add_hint", G_CALLBACK (ui_engine_add_hint_callback), window); g_signal_connect (ui_engine, "remove_hint", G_CALLBACK (ui_engine_remove_hint_callback), window); } @@ -586,6 +586,9 @@ setup_widgets (EShellWindow *window) gtk_box_pack_start (GTK_BOX (contents_vbox), priv->status_bar, FALSE, TRUE, 0); gtk_widget_show_all (contents_vbox); + /* We only display this when a menu item is actually selected. */ + gtk_widget_hide (priv->menu_hint_label); + bonobo_window_set_contents (BONOBO_WINDOW (window), contents_vbox); } -- cgit