summaryrefslogtreecommitdiff
path: root/packages/matchbox-panel/matchbox-panel-0.8.3
diff options
context:
space:
mode:
authorKoen Kooi <koen@openembedded.org>2005-06-30 08:19:37 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2005-06-30 08:19:37 +0000
commitc8e5702127e507e82e6f68a4b8c546803accea9d (patch)
tree00583491f40ecc640f2b28452af995e3a63a09d7 /packages/matchbox-panel/matchbox-panel-0.8.3
parent87ec8ca4d2e2eb4d1c1e1e1a6b46a395d56805b9 (diff)
import clean BK tree at cset 1.3670
Diffstat (limited to 'packages/matchbox-panel/matchbox-panel-0.8.3')
-rw-r--r--packages/matchbox-panel/matchbox-panel-0.8.3/.mtn2git_empty0
-rw-r--r--packages/matchbox-panel/matchbox-panel-0.8.3/make-batteryapp-less-strict.patch13
-rw-r--r--packages/matchbox-panel/matchbox-panel-0.8.3/wifi-location.patch54
3 files changed, 67 insertions, 0 deletions
diff --git a/packages/matchbox-panel/matchbox-panel-0.8.3/.mtn2git_empty b/packages/matchbox-panel/matchbox-panel-0.8.3/.mtn2git_empty
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/packages/matchbox-panel/matchbox-panel-0.8.3/.mtn2git_empty
diff --git a/packages/matchbox-panel/matchbox-panel-0.8.3/make-batteryapp-less-strict.patch b/packages/matchbox-panel/matchbox-panel-0.8.3/make-batteryapp-less-strict.patch
index e69de29bb2..45bff32b9a 100644
--- a/packages/matchbox-panel/matchbox-panel-0.8.3/make-batteryapp-less-strict.patch
+++ b/packages/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/packages/matchbox-panel/matchbox-panel-0.8.3/wifi-location.patch b/packages/matchbox-panel/matchbox-panel-0.8.3/wifi-location.patch
index e69de29bb2..930db66dc9 100644
--- a/packages/matchbox-panel/matchbox-panel-0.8.3/wifi-location.patch
+++ b/packages/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);