aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/matchbox-panel/matchbox-panel-0.8.3
diff options
context:
space:
mode:
authorDenys Dmytriyenko <denis@denix.org>2009-03-17 14:32:59 -0400
committerDenys Dmytriyenko <denis@denix.org>2009-03-17 14:32:59 -0400
commit709c4d66e0b107ca606941b988bad717c0b45d9b (patch)
tree37ee08b1eb308f3b2b6426d5793545c38396b838 /recipes/matchbox-panel/matchbox-panel-0.8.3
parentfa6cd5a3b993f16c27de4ff82b42684516d433ba (diff)
downloadopenembedded-709c4d66e0b107ca606941b988bad717c0b45d9b.tar.gz
rename packages/ to recipes/ per earlier agreement
See links below for more details: http://thread.gmane.org/gmane.comp.handhelds.openembedded/21326 http://thread.gmane.org/gmane.comp.handhelds.openembedded/21816 Signed-off-by: Denys Dmytriyenko <denis@denix.org> Acked-by: Mike Westerhof <mwester@dls.net> Acked-by: Philip Balister <philip@balister.org> Acked-by: Khem Raj <raj.khem@gmail.com> Acked-by: Marcin Juszkiewicz <hrw@openembedded.org> Acked-by: Koen Kooi <koen@openembedded.org> Acked-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com>
Diffstat (limited to 'recipes/matchbox-panel/matchbox-panel-0.8.3')
-rw-r--r--recipes/matchbox-panel/matchbox-panel-0.8.3/make-batteryapp-less-strict.patch13
-rw-r--r--recipes/matchbox-panel/matchbox-panel-0.8.3/wifi-location.patch54
2 files changed, 67 insertions, 0 deletions
diff --git a/recipes/matchbox-panel/matchbox-panel-0.8.3/make-batteryapp-less-strict.patch b/recipes/matchbox-panel/matchbox-panel-0.8.3/make-batteryapp-less-strict.patch
new file mode 100644
index 0000000000..45bff32b9a
--- /dev/null
+++ b/recipes/matchbox-panel/matchbox-panel-0.8.3/make-batteryapp-less-strict.patch
@@ -0,0 +1,13 @@
+diff -urNd ../matchbox-panel-0.8.1-r4/matchbox-panel-0.8.1/applets/mb-applet-battery.c matchbox-panel-0.8.1/applets/mb-applet-battery.c
+--- ../matchbox-panel-0.8.1-r4/matchbox-panel-0.8.1/applets/mb-applet-battery.c 2004-02-25 22:58:09.000000000 +0000
++++ matchbox-panel-0.8.1/applets/mb-applet-battery.c 2004-09-16 12:17:58.000000000 +0100
+@@ -385,8 +385,7 @@
+ sprintf(tray_msg, _("AC Connected\nFully charged.\n"));
+ } else {
+ if (apm_vals[PERCENTAGE] > 0
+- && apm_vals[PERCENTAGE] < 100
+- && apm_vals[TIME_LEFT] > 0)
++ && apm_vals[PERCENTAGE] < 100)
+ {
+ sprintf(tray_msg,
+ _("Battery Power\nJuice %.2i %%\nTime left: %.2i mins\n"), apm_vals[PERCENTAGE], apm_vals[TIME_LEFT]);
diff --git a/recipes/matchbox-panel/matchbox-panel-0.8.3/wifi-location.patch b/recipes/matchbox-panel/matchbox-panel-0.8.3/wifi-location.patch
new file mode 100644
index 0000000000..930db66dc9
--- /dev/null
+++ b/recipes/matchbox-panel/matchbox-panel-0.8.3/wifi-location.patch
@@ -0,0 +1,54 @@
+--- matchbox-panel-0.8.1/src/panel.c Mon Oct 25 00:15:53 2004
++++ matchbox-panel-0.8.1/src/panel.c Tue Oct 26 21:40:56 2004
+@@ -813,6 +813,7 @@
+ int app_origin_dist = 0;
+ char *cmd_str = NULL;
+ MBPanelApp *new_papp = NULL;
++ Bool from_session = False;
+
+ util_get_command_str_from_win(panel, win, &cmd_str); /* cmd_str freed l8r */
+
+@@ -820,9 +821,10 @@
+ {
+ app_origin_dist = panel->session_init_offset;
+ session_preexisting_clear_current(panel);
++ from_session = True;
+ }
+
+- new_papp = panel_app_new(panel, win, cmd_str);
++ new_papp = panel_app_new(panel, win, cmd_str, from_session);
+
+ if (new_papp)
+ {
+--- matchbox-panel-0.8.1/src/panel_app.c Mon Oct 25 00:15:53 2004
++++ matchbox-panel-0.8.1/src/panel_app.c Tue Oct 26 21:39:28 2004
+@@ -239,7 +239,7 @@
+ }
+
+ MBPanelApp *
+-panel_app_new(MBPanel *panel, Window win, char *cmd_str)
++panel_app_new(MBPanel *panel, Window win, char *cmd_str, Bool from_session)
+ {
+ MBPanelApp *papp;
+ XWindowAttributes attr;
+@@ -261,7 +261,7 @@
+ papp->w = attr.width;
+ papp->h = attr.height;
+
+- if (session_preexisting_restarting(panel) && !panel->session_run_first_time)
++ if (session_preexisting_restarting(panel) && !panel->session_run_first_time && from_session)
+ {
+ if (panel->session_cur_gravity == PAPP_GRAVITY_START)
+ add_at_start = True;
+--- matchbox-panel-0.8.1/src/panel_app.h Tue Feb 3 15:11:25 2004
++++ matchbox-panel-0.8.1/src/panel_app.h Tue Oct 26 21:42:07 2004
+@@ -61,7 +61,8 @@
+
+ MBPanelApp* panel_app_new(MBPanel *panel,
+ Window win,
+- char *cmd );
++ char *cmd,
++ Bool from_session);
+
+ void panel_app_handle_configure_request(MBPanel *panel,
+ XConfigureRequestEvent *ev);