diff options
author | Denys Dmytriyenko <denis@denix.org> | 2009-03-17 14:32:59 -0400 |
---|---|---|
committer | Denys Dmytriyenko <denis@denix.org> | 2009-03-17 14:32:59 -0400 |
commit | 709c4d66e0b107ca606941b988bad717c0b45d9b (patch) | |
tree | 37ee08b1eb308f3b2b6426d5793545c38396b838 /packages/matchbox-panel/matchbox-panel-0.9.2/mb-applet-battery-repaint.patch | |
parent | fa6cd5a3b993f16c27de4ff82b42684516d433ba (diff) |
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 'packages/matchbox-panel/matchbox-panel-0.9.2/mb-applet-battery-repaint.patch')
-rw-r--r-- | packages/matchbox-panel/matchbox-panel-0.9.2/mb-applet-battery-repaint.patch | 43 |
1 files changed, 0 insertions, 43 deletions
diff --git a/packages/matchbox-panel/matchbox-panel-0.9.2/mb-applet-battery-repaint.patch b/packages/matchbox-panel/matchbox-panel-0.9.2/mb-applet-battery-repaint.patch deleted file mode 100644 index 7d5c53f165..0000000000 --- a/packages/matchbox-panel/matchbox-panel-0.9.2/mb-applet-battery-repaint.patch +++ /dev/null @@ -1,43 +0,0 @@ ---- matchbox-panel-0.9.2/applets/mb-applet-battery.c.orig 2005-04-06 22:20:45.000000000 +0200 -+++ matchbox-panel-0.9.2/applets/mb-applet-battery.c 2006-02-01 01:21:17.000000000 +0100 -@@ -200,23 +200,12 @@ - void - paint_callback (MBTrayApp *app, Drawable drw ) - { -- -- - int power_pixels = 0; - unsigned char r = 0, g = 0, b = 0; - int x, y; - int bar_width, bar_height, bar_x, bar_y; - - MBPixbufImage *img_backing = NULL; -- -- -- -- -- while (!read_apm(apm_vals)) -- usleep(50000L); -- -- if (last_percentage == apm_vals[PERCENTAGE] && last_ac == apm_vals[AC_POWER]) -- return; - - img_backing = mb_tray_app_get_background (app, pb); - -@@ -409,10 +398,12 @@ - - } - --void --timeout_callback ( MBTrayApp *app ) --{ -- mb_tray_app_repaint (app); -+void timeout_callback (MBTrayApp *app) { -+ while (!read_apm(apm_vals)) -+ usleep(50000L); -+ -+ if (last_percentage != apm_vals[PERCENTAGE] || last_ac != apm_vals[AC_POWER]) -+ mb_tray_app_repaint (app); - } - - void |