diff options
Diffstat (limited to 'meta/recipes-sato/pimlico/tasks')
-rw-r--r-- | meta/recipes-sato/pimlico/tasks/tasks-owl.diff | 67 |
1 files changed, 0 insertions, 67 deletions
diff --git a/meta/recipes-sato/pimlico/tasks/tasks-owl.diff b/meta/recipes-sato/pimlico/tasks/tasks-owl.diff deleted file mode 100644 index aab23ff281..0000000000 --- a/meta/recipes-sato/pimlico/tasks/tasks-owl.diff +++ /dev/null | |||
@@ -1,67 +0,0 @@ | |||
1 | This patch enable owl menu, which is hidden in the title bar to save space on | ||
2 | small screen. It has not been used for a long time, rebase needed. | ||
3 | |||
4 | Upstream-Status: Inappropriate [enable feature] | ||
5 | |||
6 | Index: src/gtk/tasks-ui.xml | ||
7 | =================================================================== | ||
8 | --- src/gtk/tasks-ui.xml (revision 338) | ||
9 | +++ src/gtk/tasks-ui.xml (working copy) | ||
10 | @@ -7,17 +7,14 @@ | ||
11 | <menuitem action="EditTask"/> | ||
12 | <menuitem action="CompleteTask"/> | ||
13 | <separator/> | ||
14 | + <menuitem action="Undo"/> | ||
15 | + <menuitem action="Redo"/> | ||
16 | + <separator/> | ||
17 | <menuitem action="DeleteTask"/> | ||
18 | <menuitem action="PurgeTasks"/> | ||
19 | <separator/> | ||
20 | + <menuitem action="About"/> | ||
21 | <menuitem action="Quit"/> | ||
22 | </menu> | ||
23 | - <menu action="EditMenu"> | ||
24 | - <menuitem action="Undo"/> | ||
25 | - <menuitem action="Redo"/> | ||
26 | - </menu> | ||
27 | - <menu action="HelpMenu"> | ||
28 | - <menuitem action="About"/> | ||
29 | - </menu> | ||
30 | </menubar> | ||
31 | </ui> | ||
32 | Index: src/gtk/main.c | ||
33 | =================================================================== | ||
34 | --- src/gtk/main.c (revision 338) | ||
35 | +++ src/gtk/main.c (working copy) | ||
36 | @@ -21,6 +21,7 @@ | ||
37 | #include <libecal/e-cal.h> | ||
38 | #include <glib/gi18n.h> | ||
39 | #include <gtk/gtk.h> | ||
40 | +#include <libowl/owlwindowmenu.h> | ||
41 | |||
42 | #include <libkoto/ical-util.h> | ||
43 | #include <libkoto/koto-actions.h> | ||
44 | @@ -564,8 +565,8 @@ | ||
45 | gtk_window_add_accel_group (GTK_WINDOW (window), gtk_ui_manager_get_accel_group (ui_manager)); | ||
46 | gtk_ui_manager_ensure_update (ui_manager); | ||
47 | |||
48 | - menu = gtk_ui_manager_get_widget (ui_manager, "/MenuBar"); | ||
49 | - gtk_box_pack_start (GTK_BOX (top_box), menu, FALSE, FALSE, 0); | ||
50 | + menu = gtk_ui_manager_get_widget (ui_manager, "/MenuBar/TasksMenu"); | ||
51 | + owl_set_window_menu_item (GTK_WINDOW (window), GTK_MENU_ITEM (menu)); | ||
52 | |||
53 | box = gtk_vbox_new (FALSE, 4); | ||
54 | gtk_container_set_border_width (GTK_CONTAINER (box), 4); | ||
55 | Index: src/gtk/Makefile.am | ||
56 | =================================================================== | ||
57 | --- src/gtk/Makefile.am (revision 338) | ||
58 | +++ src/gtk/Makefile.am (working copy) | ||
59 | @@ -4,7 +4,7 @@ | ||
60 | bin_PROGRAMS = tasks | ||
61 | tasks_CPPFLAGS = -I$(top_srcdir)/ | ||
62 | tasks_CFLAGS = $(WARN_CFLAGS) $(GTK_CFLAGS) $(ECAL_CFLAGS) $(SEXY_CFLAGS) | ||
63 | -tasks_LDADD = $(top_builddir)/libkoto/libkoto.a $(GTK_LIBS) $(ECAL_LIBS) $(SEXY_LIBS) | ||
64 | +tasks_LDADD = $(top_builddir)/libkoto/libkoto.a $(GTK_LIBS) $(ECAL_LIBS) $(SEXY_LIBS) -lowl | ||
65 | |||
66 | tasks_SOURCES = \ | ||
67 | main.c \ | ||