Mercurial > pidgin.yaz
diff plugins/docklet/docklet.c @ 10268:d082b2a71ee7
[gaim-migrate @ 11414]
Added an optional docklet ui op for positioning the GtkMenu that we pop up
on right-click. I haven't touched the Windows part of this, but the Linux
part aligns it appropriately with the icon so that it drops down in a
cleaner way, much like nearly every other polished applet.
committer: Tailor Script <tailor@pidgin.im>
author | Christian Hammond <chipx86@chipx86.com> |
---|---|
date | Fri, 26 Nov 2004 05:21:58 +0000 |
parents | 23e101b522f1 |
children | bf1ebc8f3bf3 |
line wrap: on
line diff
--- a/plugins/docklet/docklet.c Fri Nov 26 03:52:00 2004 +0000 +++ b/plugins/docklet/docklet.c Fri Nov 26 05:21:58 2004 +0000 @@ -231,7 +231,9 @@ g_signal_connect(menu, "leave-notify-event", G_CALLBACK(docklet_menu_leave), NULL); #endif gtk_widget_show_all(menu); - gtk_menu_popup(GTK_MENU(menu), NULL, NULL, NULL, NULL, 0, gtk_get_current_event_time()); + gtk_menu_popup(GTK_MENU(menu), NULL, NULL, + ui_ops->position_menu, + NULL, 0, gtk_get_current_event_time()); } static gboolean