Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/shell/ev-navigation-action-widget.c
diff options
context:
space:
mode:
authorNickolay V. Shmyrev <nshmyrev@yandex.ru>2007-05-09 16:26:44 (GMT)
committer Nickolay V. Shmyrev <nshmyrev@src.gnome.org>2007-05-09 16:26:44 (GMT)
commit122c227b07387a942e4379eef8132fe6b6e92e80 (patch)
treee563df6100a1aa8eea5de74593c6aea1db507ba8 /shell/ev-navigation-action-widget.c
parent33bf66b8f4e2d719c847af1c177c71b5173b49aa (diff)
Add app-specific icons to our icon theme. Fixes bug #425508.
2007-05-09 Nickolay V. Shmyrev <nshmyrev@yandex.ru> * shell/ev-application.c: (ev_application_open_window), (ev_application_add_icon_path_for_screen), (ev_application_open_uri_at_dest): * shell/ev-navigation-action-widget.c: (popup_menu_under_arrow): * shell/ev-navigation-action.c: (build_menu): Add app-specific icons to our icon theme. Fixes bug #425508. svn path=/trunk/; revision=2444
Diffstat (limited to 'shell/ev-navigation-action-widget.c')
-rw-r--r--shell/ev-navigation-action-widget.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/shell/ev-navigation-action-widget.c b/shell/ev-navigation-action-widget.c
index 1de4cf1..fafa501 100644
--- a/shell/ev-navigation-action-widget.c
+++ b/shell/ev-navigation-action-widget.c
@@ -157,11 +157,11 @@ static void
popup_menu_under_arrow (EvNavigationActionWidget *button,
GdkEventButton *event)
{
+ g_signal_emit (button, signals[SHOW_MENU], 0);
+
if (!button->menu)
return;
- g_signal_emit (button, signals[SHOW_MENU], 0);
-
gtk_menu_popup (button->menu, NULL, NULL,
(GtkMenuPositionFunc) menu_position_func,
button,