Mercurial > pidgin
diff src/gtkimhtml.c @ 4745:01cae9259e2f
[gaim-migrate @ 5060]
fixes a bug where if all your accounts got logged off, thus making the
buddy list disappear, you could never get it back. That makes for a bad
time when your internet connection goes out (like mine did last night)
also makes some of the prpl tooltips spiffier, and re-does some of the
handling of away messages in jabber, thus making it cooler.
committer: Tailor Script <tailor@pidgin.im>
author | Nathan Walp <nwalp@pidgin.im> |
---|---|
date | Thu, 13 Mar 2003 17:52:21 +0000 |
parents | beffb3109ddb |
children | 85637881b342 |
line wrap: on
line diff
--- a/src/gtkimhtml.c Thu Mar 13 10:16:59 2003 +0000 +++ b/src/gtkimhtml.c Thu Mar 13 17:52:21 2003 +0000 @@ -302,15 +302,15 @@ g_signal_emit(arg1, signals[URL_CLICKED], 0, url); return FALSE; } else if(event_button->button == 3) { - GtkWidget *img, *item, *label, *menu; + GtkWidget *img, *item, *menu; struct url_data *tempdata = g_new(struct url_data, 1); tempdata->object = g_object_ref(arg1); tempdata->url = g_strdup(url); - + menu = gtk_menu_new(); - gtk_menu_popup(GTK_MENU(menu), NULL, NULL, NULL, NULL, + 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); item = gtk_image_menu_item_new_with_mnemonic(_("_Copy Link Location")); @@ -326,7 +326,7 @@ tempdata); gtk_menu_shell_append(GTK_MENU_SHELL(menu), item); gtk_widget_show_all(menu); - + return TRUE; } }