diff options
Diffstat (limited to 'shell/e-shell-view.c')
-rw-r--r-- | shell/e-shell-view.c | 45 |
1 files changed, 27 insertions, 18 deletions
diff --git a/shell/e-shell-view.c b/shell/e-shell-view.c index 38ba7d6487..e1d3acefa9 100644 --- a/shell/e-shell-view.c +++ b/shell/e-shell-view.c @@ -149,6 +149,8 @@ storage_set_view_box_button_release_event_cb (GtkWidget *widget, EShellView *shell_view; EShellViewPrivate *priv; + puts (__FUNCTION__); + shell_view = E_SHELL_VIEW (data); priv = shell_view->priv; @@ -169,6 +171,8 @@ popup_storage_set_view_close_button_clicked (ETitleBar *title_bar, EShellView *shell_view; EShellViewPrivate *priv; + puts (__FUNCTION__); + shell_view = E_SHELL_VIEW (data); priv = shell_view->priv; @@ -182,24 +186,6 @@ popup_storage_set_view_close_button_clicked (ETitleBar *title_bar, } static void -disconnect_popup_signals (EShellView *shell_view) -{ - EShellViewPrivate *priv; - - priv = shell_view->priv; - - gtk_signal_disconnect_by_func (GTK_OBJECT (priv->storage_set_view_box), - GTK_SIGNAL_FUNC (storage_set_view_box_button_release_event_cb), - shell_view); - gtk_signal_disconnect_by_func (GTK_OBJECT (priv->storage_set_view), - GTK_SIGNAL_FUNC (storage_set_view_box_button_release_event_cb), - shell_view); - gtk_signal_disconnect_by_func (GTK_OBJECT (priv->storage_set_title_bar), - GTK_SIGNAL_FUNC (popup_storage_set_view_close_button_clicked), - shell_view); -} - -static void storage_set_view_box_map_cb (GtkWidget *widget, void *data) { @@ -231,6 +217,29 @@ storage_set_view_box_map_cb (GtkWidget *widget, } static void +disconnect_popup_signals (EShellView *shell_view) +{ + EShellViewPrivate *priv; + + puts (__FUNCTION__); + + priv = shell_view->priv; + + gtk_signal_disconnect_by_func (GTK_OBJECT (priv->storage_set_view_box), + GTK_SIGNAL_FUNC (storage_set_view_box_button_release_event_cb), + shell_view); + gtk_signal_disconnect_by_func (GTK_OBJECT (priv->storage_set_view), + GTK_SIGNAL_FUNC (storage_set_view_box_button_release_event_cb), + shell_view); + gtk_signal_disconnect_by_func (GTK_OBJECT (priv->storage_set_title_bar), + GTK_SIGNAL_FUNC (popup_storage_set_view_close_button_clicked), + shell_view); + gtk_signal_disconnect_by_func (GTK_OBJECT (priv->storage_set_view_box), + GTK_SIGNAL_FUNC (storage_set_view_box_map_cb), + shell_view); +} + +static void pop_up_folder_bar (EShellView *shell_view) { EShellViewPrivate *priv; |