Skip to content
This repository has been archived by the owner on Jul 7, 2023. It is now read-only.

Commit

Permalink
Merge pull request #50 from skatiger/master
Browse files Browse the repository at this point in the history
trayicon popup menu add position handle
  • Loading branch information
kernelhcy committed Jan 5, 2012
2 parents 2ced0a2 + fc94cdb commit a09367e
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/gui/tray.c
Expand Up @@ -89,8 +89,10 @@ static void qq_tray_popup_menu(GtkStatusIcon *tray, guint button
{
QQTrayPriv *priv = G_TYPE_INSTANCE_GET_PRIVATE(tray, qq_tray_get_type()
, QQTrayPriv);
gtk_menu_popup(GTK_MENU(priv -> popupmenu), NULL, NULL, NULL
, NULL, button, active_time);
gtk_menu_popup(GTK_MENU(priv -> popupmenu),
NULL, NULL,
gtk_status_icon_position_menu, tray,
button, active_time);
}

static gboolean qq_tray_button_press(GtkStatusIcon *tray, GdkEvent *event
Expand Down

0 comments on commit a09367e

Please sign in to comment.