$NetBSD: patch-ab,v 1.1 2002/03/31 14:13:46 dmcmahill Exp $ LP64 fixes --- menus.c.orig Mon Aug 20 09:13:11 2001 +++ menus.c @@ -269,6 +269,28 @@ } } +char *preset_urls[]={ +"http://msg.edit.yahoo.com/config/set_buddylist", +"http://msg.edit.yahoo.com/config/eval_profile", +"http://msg.edit.yahoo.com/config/edit_identity", +"http://www.yahoo.com", +"http://search.profiles.yahoo.com", +"http://mail.yahoo.com", +"http://address.yahoo.com", +"http://calendar.yahoo.com", +"http://finance.yahoo.com", +"http://my.yahoo.com", +"http://shopping.yahoo.com", +"http://auctions.yahoo.com", +"http://classifieds.yahoo.com", +"http://clubs.yahoo.com", +"http://games.yahoo.com", +"http://chat.yahoo.com", +"http://personals.yahoo.com", +"http://messages.yahoo.com", +"http://geocities.yahoo.com/home" +}; + static GtkItemFactoryEntry menu_items[] = { {"/_File", NULL, 0, 0, ""}, {"/File/About GTKYahoo...", NULL, create_about_window, @@ -286,11 +308,11 @@ {"/_Edit", NULL, 0, 0, ""}, {"/Edit/Friends & Groups", NULL, launch_browser_cb, - (guint) "http://msg.edit.yahoo.com/config/set_buddylist", ""}, + 0, ""}, {"/Edit/Account Information", NULL, launch_browser_cb, - (guint) "http://msg.edit.yahoo.com/config/eval_profile", ""}, + 1, ""}, {"/Edit/Profiles & Identities", NULL, launch_browser_cb, - (guint) "http://msg.edit.yahoo.com/config/edit_identity", ""}, + 2, ""}, {"/_Tools", NULL, 0, 0, ""}, {"/Tools/Start Chat...", "M", handle_menu_tools_startchat, @@ -328,37 +350,37 @@ {"/_Y!", NULL, 0, 0, ""}, {"/Y!/Yahoo! Home", NULL, launch_browser_cb, - (guint) "http://www.yahoo.com", ""}, + 3, ""}, {"/Y!/Find New Friends", NULL, launch_browser_cb, - (guint) "http://search.profiles.yahoo.com", ""}, + 4, ""}, {"/Y!/Check & Send Email", NULL, launch_browser_cb, - (guint) "http://mail.yahoo.com", ""}, + 5, ""}, {"/Y!/View Your Address Book", NULL, launch_browser_cb, - (guint) "http://address.yahoo.com", ""}, + 6, ""}, {"/Y!/View Your Calendar", NULL, launch_browser_cb, - (guint) "http://calendar.yahoo.com", ""}, + 7, ""}, {"/Y!/Stock Quotes", NULL, launch_browser_cb, - (guint) "http://finance.yahoo.com", ""}, + 8, ""}, {"/Y!/Personalize Yahoo!", NULL, launch_browser_cb, - (guint) "http://my.yahoo.com", ""}, + 9, ""}, {"/Y!/Shopping", NULL, launch_browser_cb, - (guint) "http://shopping.yahoo.com", ""}, + 10, ""}, {"/Y!/Bid on Auctions", NULL, launch_browser_cb, - (guint) "http://auctions.yahoo.com", ""}, + 11, ""}, {"/Y!/Classified Ads", NULL, launch_browser_cb, - (guint) "http://classifieds.yahoo.com", ""}, + 12, ""}, {"/Y!/Join & View Clubs", NULL, launch_browser_cb, - (guint) "http://clubs.yahoo.com", ""}, + 13, ""}, {"/Y!/Play Games", NULL, launch_browser_cb, - (guint) "http://games.yahoo.com", ""}, + 14, ""}, {"/Y!/Chat With Friends", NULL, launch_browser_cb, - (guint) "http://chat.yahoo.com", ""}, + 15, ""}, {"/Y!/View & Post Personals", NULL, launch_browser_cb, - (guint) "http://personals.yahoo.com", ""}, + 16, ""}, {"/Y!/Message Boards", NULL, launch_browser_cb, - (guint) "http://messages.yahoo.com", ""}, + 17, ""}, {"/Y!/Free Home Pages at GeoCities", NULL, launch_browser_cb, - (guint) "http://geocities.yahoo.com/home", ""} + 18, ""} }; static GtkItemFactoryEntry status_items[] = {