diff options
author | Matthew Barnes <mbarnes@src.gnome.org> | 2008-09-30 00:14:46 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@src.gnome.org> | 2008-09-30 00:14:46 +0800 |
commit | 098ea8aad8d3249d9faca5df5b4fe67b94ba660f (patch) | |
tree | c39d278f71283c9ebded47c606970404276b020f /shell/e-shell-window.c | |
parent | cb78b84aecf1c011e0b013cc94a079e2dc0eabbc (diff) | |
download | gsoc2013-evolution-098ea8aad8d3249d9faca5df5b4fe67b94ba660f.tar.gz gsoc2013-evolution-098ea8aad8d3249d9faca5df5b4fe67b94ba660f.tar.zst gsoc2013-evolution-098ea8aad8d3249d9faca5df5b4fe67b94ba660f.zip |
Get Memos to come up. Doesn't really work yet, but the widgets are all there.
svn path=/branches/kill-bonobo/; revision=36491
Diffstat (limited to 'shell/e-shell-window.c')
-rw-r--r-- | shell/e-shell-window.c | 32 |
1 files changed, 0 insertions, 32 deletions
diff --git a/shell/e-shell-window.c b/shell/e-shell-window.c index a316fd7680..e6aa0b09fd 100644 --- a/shell/e-shell-window.c +++ b/shell/e-shell-window.c @@ -648,38 +648,6 @@ e_shell_window_set_safe_mode (EShellWindow *shell_window, } /** - * e_shell_window_show_popup_menu: - * @shell_window: an #EShellWindow - * @widget_path: path in the UI definition - * @event: a #GdkEventButton - * - * Displays a context-sensitive (or "popup") menu that is described in - * the UI definition loaded into @shell_window<!-- -->'s user interface - * manager. The menu will be shown at the current mouse cursor position. - **/ -void -e_shell_window_show_popup_menu (EShellWindow *shell_window, - const gchar *widget_path, - GdkEventButton *event) -{ - GtkWidget *menu; - - g_return_if_fail (E_IS_SHELL_WINDOW (shell_window)); - - menu = e_shell_window_get_managed_widget (shell_window, widget_path); - g_return_if_fail (GTK_IS_MENU (menu)); - - if (event != NULL) - gtk_menu_popup ( - GTK_MENU (menu), NULL, NULL, NULL, NULL, - event->button, event->time); - else - gtk_menu_popup ( - GTK_MENU (menu), NULL, NULL, NULL, NULL, - 0, gtk_get_current_event_time ()); -} - -/** * e_shell_window_register_new_item_actions: * @shell_window: an #EShellWindow * @module_name: name of an #EShellModule |