diff options
author | Ettore Perazzoli <ettore@src.gnome.org> | 2002-09-03 23:25:13 +0800 |
---|---|---|
committer | Ettore Perazzoli <ettore@src.gnome.org> | 2002-09-03 23:25:13 +0800 |
commit | 37b668380ee0859a014e3069cf5396b80dfbde28 (patch) | |
tree | 71325c33a26917f26b9f492f1e21de89a158b89e /shell/e-shell-view.c | |
parent | 8ee694a7e4e9b3ac1cef2919230b33e181ec4452 (diff) | |
download | gsoc2013-evolution-37b668380ee0859a014e3069cf5396b80dfbde28.tar.gz gsoc2013-evolution-37b668380ee0859a014e3069cf5396b80dfbde28.tar.zst gsoc2013-evolution-37b668380ee0859a014e3069cf5396b80dfbde28.zip |
(show_import_wizard): Make the WM close
button in the dialog hide instead of destroying, using
gnome_dialog_close_hides(). [#15572]
svn path=/trunk/; revision=17945
Diffstat (limited to 'shell/e-shell-view.c')
-rw-r--r-- | shell/e-shell-view.c | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/shell/e-shell-view.c b/shell/e-shell-view.c index 97cf88af30..7fc10fb761 100644 --- a/shell/e-shell-view.c +++ b/shell/e-shell-view.c @@ -808,8 +808,8 @@ switch_on_folder_tree_click (EShellView *shell_view, /* Callbacks. */ -/* Callback when a new folder is added. removed when we clear the - delayed_selection */ +/* Callback when a new folder is added. Removed when we clear the + delayed_selection. */ static void new_folder_cb (EStorageSet *storage_set, const char *path, @@ -822,6 +822,8 @@ new_folder_cb (EStorageSet *storage_set, shell_view = E_SHELL_VIEW (data); priv = shell_view->priv; + g_print ("%s %s -- delayed_selection %s\n", __FUNCTION__, path, priv->delayed_selection); + delayed_path = strchr (priv->delayed_selection, ':'); if (delayed_path) { delayed_path ++; @@ -1315,10 +1317,6 @@ destroy (GtkObject *object) storage set used for the delayed selection mechanism. */ cleanup_delayed_selection (shell_view); - /* This is necessary to remove the signal handler for folder_new on the - storage set used for the delayed selection mechanism. */ - cleanup_delayed_selection (shell_view); - gtk_object_unref (GTK_OBJECT (priv->tooltips)); if (priv->history != NULL) @@ -2188,6 +2186,8 @@ create_new_view_for_uri (EShellView *shell_view, priv = shell_view->priv; + g_print ("%s %s\n", __FUNCTION__, uri); + view = get_view_for_uri (shell_view, uri, view_info); if (view == NULL) return FALSE; @@ -2203,6 +2203,8 @@ create_new_view_for_uri (EShellView *shell_view, g_assert (page_num != -1); set_current_notebook_page (shell_view, page_num); + g_print ("%s set notebook page %d\n", __FUNCTION__, page_num); + g_hash_table_insert (priv->uri_to_view, view->uri, view); return TRUE; |