Mercurial > pidgin.yaz
changeset 10936:ea9e65f52b4b
[gaim-migrate @ 12720]
sf patch #1203209, from Alex Duggan
Change order of options in right click on link menu
committer: Tailor Script <tailor@pidgin.im>
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Tue, 24 May 2005 04:46:51 +0000 |
parents | 61ae1ee53a94 |
children | ca3e0882d377 |
files | src/gtkimhtml.c |
diffstat | 1 files changed, 10 insertions(+), 10 deletions(-) [+] |
line wrap: on
line diff
--- a/src/gtkimhtml.c Tue May 24 04:37:33 2005 +0000 +++ b/src/gtkimhtml.c Tue May 24 04:46:51 2005 +0000 @@ -1445,6 +1445,16 @@ } else { + /* Open Link in Browser */ + img = gtk_image_new_from_stock(GTK_STOCK_JUMP_TO, + GTK_ICON_SIZE_MENU); + item = gtk_image_menu_item_new_with_mnemonic( + _("_Open Link in Browser")); + gtk_image_menu_item_set_image(GTK_IMAGE_MENU_ITEM(item), img); + g_signal_connect(G_OBJECT(item), "activate", + G_CALLBACK(url_open), tempdata); + gtk_menu_shell_append(GTK_MENU_SHELL(menu), item); + /* Copy Link Location */ img = gtk_image_new_from_stock(GTK_STOCK_COPY, GTK_ICON_SIZE_MENU); @@ -1454,16 +1464,6 @@ g_signal_connect(G_OBJECT(item), "activate", G_CALLBACK(url_copy), tempdata->url); gtk_menu_shell_append(GTK_MENU_SHELL(menu), item); - - /* Open Link in Browser */ - img = gtk_image_new_from_stock(GTK_STOCK_JUMP_TO, - GTK_ICON_SIZE_MENU); - item = gtk_image_menu_item_new_with_mnemonic( - _("_Open Link in Browser")); - gtk_image_menu_item_set_image(GTK_IMAGE_MENU_ITEM(item), img); - g_signal_connect(G_OBJECT(item), "activate", - G_CALLBACK(url_open), tempdata); - gtk_menu_shell_append(GTK_MENU_SHELL(menu), item); }