Mercurial > pidgin.yaz
comparison src/gtkimhtml.c @ 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 | 0711078e0e2d |
children | 2d30f151146d |
comparison
equal
deleted
inserted
replaced
10935:61ae1ee53a94 | 10936:ea9e65f52b4b |
---|---|
1443 G_CALLBACK(url_copy), tempdata->url + 7); | 1443 G_CALLBACK(url_copy), tempdata->url + 7); |
1444 gtk_menu_shell_append(GTK_MENU_SHELL(menu), item); | 1444 gtk_menu_shell_append(GTK_MENU_SHELL(menu), item); |
1445 } | 1445 } |
1446 else | 1446 else |
1447 { | 1447 { |
1448 /* Open Link in Browser */ | |
1449 img = gtk_image_new_from_stock(GTK_STOCK_JUMP_TO, | |
1450 GTK_ICON_SIZE_MENU); | |
1451 item = gtk_image_menu_item_new_with_mnemonic( | |
1452 _("_Open Link in Browser")); | |
1453 gtk_image_menu_item_set_image(GTK_IMAGE_MENU_ITEM(item), img); | |
1454 g_signal_connect(G_OBJECT(item), "activate", | |
1455 G_CALLBACK(url_open), tempdata); | |
1456 gtk_menu_shell_append(GTK_MENU_SHELL(menu), item); | |
1457 | |
1448 /* Copy Link Location */ | 1458 /* Copy Link Location */ |
1449 img = gtk_image_new_from_stock(GTK_STOCK_COPY, | 1459 img = gtk_image_new_from_stock(GTK_STOCK_COPY, |
1450 GTK_ICON_SIZE_MENU); | 1460 GTK_ICON_SIZE_MENU); |
1451 item = gtk_image_menu_item_new_with_mnemonic( | 1461 item = gtk_image_menu_item_new_with_mnemonic( |
1452 _("_Copy Link Location")); | 1462 _("_Copy Link Location")); |
1453 gtk_image_menu_item_set_image(GTK_IMAGE_MENU_ITEM(item), img); | 1463 gtk_image_menu_item_set_image(GTK_IMAGE_MENU_ITEM(item), img); |
1454 g_signal_connect(G_OBJECT(item), "activate", | 1464 g_signal_connect(G_OBJECT(item), "activate", |
1455 G_CALLBACK(url_copy), tempdata->url); | 1465 G_CALLBACK(url_copy), tempdata->url); |
1456 gtk_menu_shell_append(GTK_MENU_SHELL(menu), item); | |
1457 | |
1458 /* Open Link in Browser */ | |
1459 img = gtk_image_new_from_stock(GTK_STOCK_JUMP_TO, | |
1460 GTK_ICON_SIZE_MENU); | |
1461 item = gtk_image_menu_item_new_with_mnemonic( | |
1462 _("_Open Link in Browser")); | |
1463 gtk_image_menu_item_set_image(GTK_IMAGE_MENU_ITEM(item), img); | |
1464 g_signal_connect(G_OBJECT(item), "activate", | |
1465 G_CALLBACK(url_open), tempdata); | |
1466 gtk_menu_shell_append(GTK_MENU_SHELL(menu), item); | 1466 gtk_menu_shell_append(GTK_MENU_SHELL(menu), item); |
1467 } | 1467 } |
1468 | 1468 |
1469 | 1469 |
1470 gtk_widget_show_all(menu); | 1470 gtk_widget_show_all(menu); |