From be2f9a67f63403a95a96e0dfbd72a4c2e68e17c6 Mon Sep 17 00:00:00 2001 From: Ettore Perazzoli Date: Fri, 4 May 2001 02:47:33 +0000 Subject: Complete the shell side for supporting off-line operations, getting the dialog to fully work and the menu item to change its label according to the current status of the line. svn path=/trunk/; revision=9662 --- shell/e-shell-offline-handler.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'shell/e-shell-offline-handler.c') diff --git a/shell/e-shell-offline-handler.c b/shell/e-shell-offline-handler.c index 4a6ea1bb64..7a27998b67 100644 --- a/shell/e-shell-offline-handler.c +++ b/shell/e-shell-offline-handler.c @@ -191,10 +191,10 @@ impl_OfflineProgressListener_updateProgress (PortableServer_Servant servant, CORBA_free (component_info->active_connection_list); component_info->active_connection_list = duplicate_connection_list (current_active_connections); + update_dialog_clist (offline_handler); + if (priv->num_total_connections == 0) gtk_signal_emit (GTK_OBJECT (offline_handler), signals[OFFLINE_PROCEDURE_FINISHED], TRUE); - - update_dialog_clist (offline_handler); } static gboolean @@ -618,8 +618,8 @@ pop_up_confirmation_dialog (EShellOfflineHandler *offline_handler) dialog = glade_xml_get_widget (priv->dialog_gui, "active_connection_dialog"); /* FIXME: do we really want this? */ - gtk_window_set_transient_for (GTK_WINDOW (dialog), GTK_WINDOW (priv->parent_shell_view)); - gtk_window_set_modal (GTK_WINDOW (dialog), TRUE); + /* gtk_window_set_transient_for (GTK_WINDOW (dialog), GTK_WINDOW (priv->parent_shell_view)); */ + /* gtk_window_set_modal (GTK_WINDOW (dialog), TRUE); */ gnome_dialog_set_default (GNOME_DIALOG (dialog), 1); -- cgit v1.2.3