summaryrefslogtreecommitdiffstats
path: root/meta/recipes-sato/pimlico/dates
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@linux.intel.com>2010-08-27 15:14:24 +0100
committerRichard Purdie <rpurdie@linux.intel.com>2010-08-27 15:29:45 +0100
commit29d6678fd546377459ef75cf54abeef5b969b5cf (patch)
tree8edd65790e37a00d01c3f203f773fe4b5012db18 /meta/recipes-sato/pimlico/dates
parentda49de6885ee1bc424e70bc02f21f6ab920efb55 (diff)
downloadpoky-29d6678fd546377459ef75cf54abeef5b969b5cf.tar.gz
Major layout change to the packages directory
Having one monolithic packages directory makes it hard to find things and is generally overwhelming. This commit splits it into several logical sections roughly based on function, recipes.txt gives more information about the classifications used. The opportunity is also used to switch from "packages" to "recipes" as used in OpenEmbedded as the term "packages" can be confusing to people and has many different meanings. Not all recipes have been classified yet, this is just a first pass at separating things out. Some packages are moved to meta-extras as they're no longer actively used or maintained. Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'meta/recipes-sato/pimlico/dates')
-rw-r--r--meta/recipes-sato/pimlico/dates/dates-owl-window-menu.patch65
1 files changed, 65 insertions, 0 deletions
diff --git a/meta/recipes-sato/pimlico/dates/dates-owl-window-menu.patch b/meta/recipes-sato/pimlico/dates/dates-owl-window-menu.patch
new file mode 100644
index 0000000000..d5901658be
--- /dev/null
+++ b/meta/recipes-sato/pimlico/dates/dates-owl-window-menu.patch
@@ -0,0 +1,65 @@
1---
2 src/dates_gtk.c | 5 -----
3 src/dates_main.c | 5 +++++
4 src/dates_platform.h | 2 +-
5 3 files changed, 7 insertions(+), 7 deletions(-)
6
7Index: git/src/dates_gtk.c
8===================================================================
9--- git.orig/src/dates_gtk.c 2009-08-18 12:44:56.000000000 +0100
10+++ git/src/dates_gtk.c 2009-09-03 22:28:50.000000000 +0100
11@@ -33,10 +33,6 @@
12 #endif
13
14 #ifndef DATES_PLATFORM_create_main_window
15-/* the default implementation assumes that menu is GtkMenuBar */
16-#ifdef DATES_MENU_WITHOUT_BAR
17-#error Cannot use default create_main_window () if DATES_MENU_WITHOUT_BAR is defined !!!
18-#endif
19 static GtkWidget *
20 create_main_window (DatesData * d, GtkWidget * toolbar,
21 GtkWidget * menu, GtkAccelGroup * accel_group)
22@@ -59,7 +55,6 @@
23 gtk_container_add (GTK_CONTAINER (d->main_window), main_vbox);
24
25 gtk_widget_show (menu);
26- gtk_box_pack_start (GTK_BOX (main_vbox), menu, FALSE, FALSE, 0);
27
28 gtk_box_pack_end (GTK_BOX (main_vbox), toolbar, FALSE, FALSE, 0);
29 gtk_container_set_border_width (GTK_CONTAINER (toolbar), 3);
30Index: git/src/dates_main.c
31===================================================================
32--- git.orig/src/dates_main.c 2009-08-18 12:44:56.000000000 +0100
33+++ git/src/dates_main.c 2009-09-03 22:29:21.000000000 +0100
34@@ -26,6 +26,8 @@
35 #include <libical/icaltime.h>
36 #include <gconf/gconf-client.h>
37
38+#include <gtk/gtkmenuitem.h>
39+#include <libowl/owlwindowmenu.h>
40 #include "dates_types.h"
41 #include "dates_platform.h"
42 #include "dates_callbacks.h"
43@@ -582,6 +584,9 @@
44 g_free (url_uri);
45 }
46
47+ owl_set_window_menu (GTK_WINDOW (data.main_window),
48+ GTK_MENU (data.main_menu));
49+
50 gtk_main ();
51
52 return 0;
53Index: git/src/dates_platform.h
54===================================================================
55--- git.orig/src/dates_platform.h 2009-08-18 12:44:56.000000000 +0100
56+++ git/src/dates_platform.h 2009-09-03 22:28:50.000000000 +0100
57@@ -20,7 +20,7 @@
58
59 #include "dates_types.h"
60
61-#ifdef WITH_HILDON
62+#if 1
63 #define DATES_MENU_WITHOUT_BAR 1
64 #endif
65