1
Index: awn-extras-0.4.0~rc1/applets/maintained/cairo-menu/cairo-aux-icon.c
2
===================================================================
3
--- awn-extras-0.4.0~rc1.orig/applets/maintained/cairo-menu/cairo-aux-icon.c 2010-03-29 00:09:17.000000000 +0200
4
+++ awn-extras-0.4.0~rc1/applets/maintained/cairo-menu/cairo-aux-icon.c 2010-03-30 00:46:20.000000000 +0200
6
if (!priv->context_menu)
8
priv->context_menu = awn_applet_create_default_menu (AWN_APPLET(priv->applet));
9
+ gtk_menu_set_screen(GTK_MENU(priv->context_menu), NULL);
11
item = awn_themed_icon_create_remove_custom_icon_item (AWN_THEMED_ICON(icon),NULL);
12
gtk_menu_shell_append (GTK_MENU_SHELL(priv->context_menu), item);
15
item = gtk_image_menu_item_new_with_label("Applet Preferences");
16
gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM(item),
17
gtk_image_new_from_stock (GTK_STOCK_PREFERENCES,GTK_ICON_SIZE_MENU));
18
gtk_widget_show(item);
19
+ gtk_menu_shell_append(GTK_MENU_SHELL(priv->context_menu), item);*/
20
gtk_menu_set_screen(GTK_MENU(priv->context_menu), NULL);
21
- gtk_menu_shell_append(GTK_MENU_SHELL(priv->context_menu), item);
23
item = gtk_image_menu_item_new_with_label("Remove Icon");
24
gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM(item),
25
gtk_image_new_from_stock (GTK_STOCK_REMOVE,GTK_ICON_SIZE_MENU));
26
Index: awn-extras-0.4.0~rc1/applets/maintained/cairo-menu/cairo-main-icon.c
27
===================================================================
28
--- awn-extras-0.4.0~rc1.orig/applets/maintained/cairo-menu/cairo-main-icon.c 2010-03-29 00:09:17.000000000 +0200
29
+++ awn-extras-0.4.0~rc1/applets/maintained/cairo-menu/cairo-main-icon.c 2010-03-30 00:46:20.000000000 +0200
31
if (!priv->context_menu)
33
priv->context_menu = awn_applet_create_default_menu (AWN_APPLET(priv->applet));
34
+ gtk_menu_set_screen(GTK_MENU(priv->context_menu), NULL);
35
item = awn_themed_icon_create_remove_custom_icon_item (AWN_THEMED_ICON(icon),NULL);
36
gtk_menu_shell_append (GTK_MENU_SHELL(priv->context_menu), item);
37
- item = gtk_image_menu_item_new_with_label("Applet Preferences");
38
+/* item = gtk_image_menu_item_new_with_label("Applet Preferences");
39
gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM(item),
40
gtk_image_new_from_stock (GTK_STOCK_PREFERENCES,GTK_ICON_SIZE_MENU));
41
gtk_widget_show(item);
42
- gtk_menu_set_screen(GTK_MENU(priv->context_menu), NULL);
43
gtk_menu_shell_append(GTK_MENU_SHELL(priv->context_menu), item);
45
// g_signal_connect(G_OBJECT(item), "button-press-event", G_CALLBACK(_show_prefs), NULL);
46
item=awn_applet_create_about_item_simple(AWN_APPLET(priv->applet),
47
"Copyright 2007,2008, 2009 Rodney Cryderman <rcryderman@gmail.com>",