From fb9a15960ab8001fa51ecb794afda2738e8de4b0 Mon Sep 17 00:00:00 2001 From: Christian Persch Date: Thu, 16 Dec 2004 20:52:58 +0000 Subject: Implement context menu on tray icon, as per HIG. Fixes bug #152903. 2004-12-16 Christian Persch * embed/downloader-view.c: (show_downloader_cb), (status_icon_popup_menu_cb), (show_status_icon): * lib/egg/eggstatusicon.c: (egg_status_icon_class_init), (egg_status_icon_init), (egg_status_icon_finalize), (emit_activate_signal), (emit_popup_menu_signal), (egg_status_icon_size_allocate), (egg_status_icon_button_press), (egg_status_icon_set_tooltip): * lib/egg/eggstatusicon.h: * lib/ephy-gui.c: (ephy_gui_menu_position_under_widget), (ephy_gui_menu_position_on_panel): * lib/ephy-gui.h: Implement context menu on tray icon, as per HIG. Fixes bug #152903. --- lib/ephy-gui.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'lib/ephy-gui.h') diff --git a/lib/ephy-gui.h b/lib/ephy-gui.h index caa4035d8..73f2e5bce 100644 --- a/lib/ephy-gui.h +++ b/lib/ephy-gui.h @@ -47,6 +47,12 @@ void ephy_gui_menu_position_under_widget (GtkMenu *menu, gboolean *push_in, gpointer user_data); +void ephy_gui_menu_position_on_panel (GtkMenu *menu, + gint *x, + gint *y, + gboolean *push_in, + gpointer user_data); + gboolean ephy_gui_is_middle_click (void); gboolean ephy_gui_select_row_by_key (GtkTreeView *treeview, -- cgit