UbuntuLiveChatSupport
Attachment '09_help_submenu.patch'
Download 1 --- gnome-panel-2.14.1.old/gnome-panel/panel-menu-items.c 2006-04-26 22:36:22.000000000 +0800
2 +++ gnome-panel-2.14.1/gnome-panel/panel-menu-items.c 2006-04-26 22:40:09.000000000 +0800
3 @@ -700,6 +700,7 @@
4 {
5 gboolean add_separator;
6 GList *children;
7 + GtkWidget *add_menu, *item;
8
9 if (!g_object_get_data (G_OBJECT (menu), "panel-menu-needs-appending"))
10 return;
11 @@ -724,7 +725,35 @@
12 if (add_separator)
13 add_menu_separator (menu);
14
15 - panel_menu_items_append_from_desktop (menu, "yelp.desktop", NULL);
16 +item = gtk_image_menu_item_new ();
17 + setup_menu_item_with_icon (item, panel_menu_icon_get_size (),
18 + "stock_help-agent", NULL,
19 + _("Help"), TRUE);
20 +
21 + gtk_menu_shell_append (GTK_MENU_SHELL (menu), item);
22 + gtk_widget_show (item);
23 +
24 + add_menu = create_empty_menu ();
25 + gtk_menu_item_set_submenu (GTK_MENU_ITEM (item), add_menu);
26 +
27 + panel_menu_items_append_from_desktop (add_menu, "yelp.desktop", _("System Documentation"));
28 +
29 + panel_menu_items_append_place_item ("gnome-globe",
30 + _("Online Support"),
31 + _("Online Support"),
32 + add_menu,
33 + G_CALLBACK (activate_uri),
34 + "http://help.ubuntu.com");
35 +
36 + panel_menu_items_append_place_item ("config-language",
37 + _("Find Local Support"),
38 + _("Find Local Support"),
39 + add_menu,
40 + G_CALLBACK (activate_uri),
41 + "http://www.ubuntu.com/support/marketplace");
42 +
43 + panel_menu_items_append_from_desktop (add_menu, "ubuntu-live-support.desktop", _("Live Chat Support"));
44 +
45 panel_menu_items_append_from_desktop (menu, "gnome-about.desktop", NULL);
46
47 if (parent->priv->append_lock_logout)
Attached Files
To refer to attachments on a page, use attachment:filename, as shown below in the list of files. Do NOT use the URL of the [get] link, since this is subject to change and can break easily.You are not allowed to attach a file to this page.