From 8c37e1b2ee3dec0445e299cc0f29c2c2bb76ae7d Mon Sep 17 00:00:00 2001 From: Dan Winship Date: Fri, 10 Jan 2003 21:36:42 +0000 Subject: Make this work again. * e-storage-set-view.c (popup_folder_menu): Make this work again. svn path=/trunk/; revision=19414 --- shell/ChangeLog | 4 ++++ shell/e-storage-set-view.c | 8 ++++---- 2 files changed, 8 insertions(+), 4 deletions(-) (limited to 'shell') diff --git a/shell/ChangeLog b/shell/ChangeLog index 1448e6de34..18496e71df 100644 --- a/shell/ChangeLog +++ b/shell/ChangeLog @@ -1,3 +1,7 @@ +2003-01-10 Dan Winship + + * e-storage-set-view.c (popup_folder_menu): Make this work again. + 2003-01-10 Ettore Perazzoli * e-shell-view.c (e_shell_view_save_defaults): Save the expansion diff --git a/shell/e-storage-set-view.c b/shell/e-storage-set-view.c index fd1fd6fea5..82af6389cd 100644 --- a/shell/e-storage-set-view.c +++ b/shell/e-storage-set-view.c @@ -756,7 +756,7 @@ popup_folder_menu (EStorageSetView *storage_set_view, EStorageSetViewPrivate *priv; EFolderTypeRegistry *folder_type_registry; EFolder *folder; - GtkWidget *menu; + GtkWidget *menu, *window; FolderPropertyItemsData *folder_property_items_data; priv = storage_set_view->priv; @@ -771,10 +771,10 @@ popup_folder_menu (EStorageSetView *storage_set_view, e_folder_get_type_string (folder)); menu = gtk_menu_new (); -#if 0 - bonobo_window_add_popup (bonobo_ui_container_get_win (priv->ui_container), + window = gtk_widget_get_ancestor (GTK_WIDGET (storage_set_view), + BONOBO_TYPE_WINDOW); + bonobo_window_add_popup (BONOBO_WINDOW (window), GTK_MENU (menu), "/popups/FolderPopup"); -#endif bonobo_ui_component_set (priv->ui_component, "/popups/FolderPopup/ComponentPlaceholder", -- cgit