summaryrefslogtreecommitdiff
path: root/chat/gtkyahoo/patches/patch-ab
blob: f8cf2ef93cf38f89c963c9d5cc4920f0861e1e33 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
$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, "<Branch>"},
 	{"/File/About GTKYahoo...", NULL, create_about_window,
@@ -286,11 +308,11 @@
 
 	{"/_Edit", NULL, 0, 0, "<Branch>"},
 	{"/Edit/Friends & Groups", NULL, launch_browser_cb,
-		(guint) "http://msg.edit.yahoo.com/config/set_buddylist", "<Item>"},
+		0, "<Item>"},
 	{"/Edit/Account Information", NULL, launch_browser_cb,
-		(guint) "http://msg.edit.yahoo.com/config/eval_profile", "<Item>"},
+		1, "<Item>"},
 	{"/Edit/Profiles & Identities", NULL, launch_browser_cb,
-		(guint) "http://msg.edit.yahoo.com/config/edit_identity", "<Item>"},
+		2, "<Item>"},
 
 	{"/_Tools", NULL, 0, 0, "<Branch>"},
 	{"/Tools/Start Chat...", "<control>M", handle_menu_tools_startchat,
@@ -328,37 +350,37 @@
 
 	{"/_Y!", NULL, 0, 0, "<Branch>"},
 	{"/Y!/Yahoo! Home", NULL, launch_browser_cb,
-		(guint) "http://www.yahoo.com", "<Item>"},
+		3, "<Item>"},
 	{"/Y!/Find New Friends", NULL, launch_browser_cb,
-		(guint) "http://search.profiles.yahoo.com", "<Item>"},
+		4, "<Item>"},
 	{"/Y!/Check & Send Email", NULL, launch_browser_cb,
-		(guint) "http://mail.yahoo.com", "<Item>"},
+		5, "<Item>"},
 	{"/Y!/View Your Address Book", NULL, launch_browser_cb,
-		(guint) "http://address.yahoo.com", "<Item>"},
+		6, "<Item>"},
 	{"/Y!/View Your Calendar", NULL, launch_browser_cb,
-		(guint) "http://calendar.yahoo.com", "<Item>"},
+		7, "<Item>"},
 	{"/Y!/Stock Quotes", NULL, launch_browser_cb,
-		(guint) "http://finance.yahoo.com", "<Item>"},
+		8, "<Item>"},
 	{"/Y!/Personalize Yahoo!", NULL, launch_browser_cb,
-		(guint) "http://my.yahoo.com", "<Item>"},
+		9, "<Item>"},
 	{"/Y!/Shopping", NULL, launch_browser_cb,
-		(guint) "http://shopping.yahoo.com", "<Item>"},
+		10, "<Item>"},
 	{"/Y!/Bid on Auctions", NULL, launch_browser_cb,
-		(guint) "http://auctions.yahoo.com", "<Item>"},
+		11, "<Item>"},
 	{"/Y!/Classified Ads", NULL, launch_browser_cb,
-		(guint) "http://classifieds.yahoo.com", "<Item>"},
+		12, "<Item>"},
 	{"/Y!/Join & View Clubs", NULL, launch_browser_cb,
-		(guint) "http://clubs.yahoo.com", "<Item>"},
+		13, "<Item>"},
 	{"/Y!/Play Games", NULL, launch_browser_cb,
-		(guint) "http://games.yahoo.com", "<Item>"},
+		14, "<Item>"},
 	{"/Y!/Chat With Friends", NULL, launch_browser_cb,
-		(guint) "http://chat.yahoo.com", "<Item>"},
+		15, "<Item>"},
 	{"/Y!/View & Post Personals", NULL, launch_browser_cb,
-		(guint) "http://personals.yahoo.com", "<Item>"},
+		16, "<Item>"},
 	{"/Y!/Message Boards", NULL, launch_browser_cb,
-		(guint) "http://messages.yahoo.com", "<Item>"},
+		17, "<Item>"},
 	{"/Y!/Free Home Pages at GeoCities", NULL, launch_browser_cb,
-		(guint) "http://geocities.yahoo.com/home", "<Item>"}
+		18, "<Item>"}
 };
 
 static GtkItemFactoryEntry status_items[] = {