Mercurial > pidgin
changeset 4756:85637881b342
[gaim-migrate @ 5073]
This fixed the right click URL thing for me. I'm using gtk 2.0.
Hopefully it won't break it for other people.
committer: Tailor Script <tailor@pidgin.im>
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Thu, 13 Mar 2003 23:28:25 +0000 |
parents | 54fbd9769677 |
children | c4ebe1a8484b |
files | src/gtkimhtml.c |
diffstat | 1 files changed, 3 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/gtkimhtml.c Thu Mar 13 22:57:58 2003 +0000 +++ b/src/gtkimhtml.c Thu Mar 13 23:28:25 2003 +0000 @@ -308,8 +308,6 @@ tempdata->url = g_strdup(url); menu = gtk_menu_new(); - gtk_menu_popup(GTK_MENU(menu), NULL, NULL, NULL, NULL, - event_button->button, event_button->time); /* buttons and such */ img = gtk_image_new_from_stock(GTK_STOCK_COPY, GTK_ICON_SIZE_MENU); @@ -325,7 +323,10 @@ g_signal_connect(G_OBJECT(item), "activate", G_CALLBACK(url_open), tempdata); gtk_menu_shell_append(GTK_MENU_SHELL(menu), item); + gtk_widget_show_all(menu); + gtk_menu_popup(GTK_MENU(menu), NULL, NULL, NULL, NULL, + event_button->button, event_button->time); return TRUE; }