r1253 - in trunk/src/target/OM-2007/applications/openmoko-taskmanager: patch src
zhiyong_sun at sita.openmoko.org
zhiyong_sun at sita.openmoko.org
Tue Mar 6 08:33:28 CET 2007
Author: zhiyong_sun
Date: 2007-03-06 08:32:58 +0100 (Tue, 06 Mar 2007)
New Revision: 1253
Modified:
trunk/src/target/OM-2007/applications/openmoko-taskmanager/patch/matchbox-window-manager-1.1.patch
trunk/src/target/OM-2007/applications/openmoko-taskmanager/src/callbacks.c
trunk/src/target/OM-2007/applications/openmoko-taskmanager/src/callbacks.h
trunk/src/target/OM-2007/applications/openmoko-taskmanager/src/list_view.c
trunk/src/target/OM-2007/applications/openmoko-taskmanager/src/list_view.h
trunk/src/target/OM-2007/applications/openmoko-taskmanager/src/misc.c
trunk/src/target/OM-2007/applications/openmoko-taskmanager/src/misc.h
trunk/src/target/OM-2007/applications/openmoko-taskmanager/src/popupmenu.c
trunk/src/target/OM-2007/applications/openmoko-taskmanager/src/popupmenu.h
trunk/src/target/OM-2007/applications/openmoko-taskmanager/src/taskmanager.c
trunk/src/target/OM-2007/applications/openmoko-taskmanager/src/taskmanager.h
trunk/src/target/OM-2007/applications/openmoko-taskmanager/src/xatoms.c
trunk/src/target/OM-2007/applications/openmoko-taskmanager/src/xatoms.h
Log:
update licenses
Modified: trunk/src/target/OM-2007/applications/openmoko-taskmanager/patch/matchbox-window-manager-1.1.patch
===================================================================
--- trunk/src/target/OM-2007/applications/openmoko-taskmanager/patch/matchbox-window-manager-1.1.patch 2007-03-06 07:30:14 UTC (rev 1252)
+++ trunk/src/target/OM-2007/applications/openmoko-taskmanager/patch/matchbox-window-manager-1.1.patch 2007-03-06 07:32:58 UTC (rev 1253)
@@ -8,7 +8,7 @@
#define MB_CMB_KEYS_RELOAD 9
+ /* Defines for MB_COMMAND values, for openmoko project */
-+ #define MB_CMD_ACTIVAE_CLIENT 100
++ #define MB_CMD_ACTIVATE_CLIENT 100
+ #define MB_CMD_REMOVE_CLIENT 101
+
/* Atoms, if you change these check ewmh_init() first */
@@ -24,7 +24,7 @@
wm_toggle_desktop(w);
break;
+ /*For OpenMoko project, add by Sun Zhiyong*/
-+ case MB_CMD_ACTIVAE_CLIENT :
++ case MB_CMD_ACTIVATE_CLIENT :
+ if (c == w->focused_client)
+ break;
+ else
Modified: trunk/src/target/OM-2007/applications/openmoko-taskmanager/src/callbacks.c
===================================================================
--- trunk/src/target/OM-2007/applications/openmoko-taskmanager/src/callbacks.c 2007-03-06 07:30:14 UTC (rev 1252)
+++ trunk/src/target/OM-2007/applications/openmoko-taskmanager/src/callbacks.c 2007-03-06 07:32:58 UTC (rev 1253)
@@ -1,20 +1,20 @@
/**
- * @file callbacks.c
- * @brief openmoko-taskmanager callbacks functions based on misc.c.
- * @author Sun Zhiyong
- * @date 2006-10
+ * callbacks.c
*
- * Copyright (C) 2006 FIC-SH
+ * Authored by Sun Zhiyong <sunzhiyong at fic-sh.com.cn>
*
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public License as
- * published by the Free Software Foundation; either version 2, or (at
- * your option) any later version.
+ * Copyright (C) 2006-2007 OpenMoko Inc.
*
- * This program is distributed in the hope that it will be useful, but
- * WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * General Public License for more details.
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU Public License as published by
+ * the Free Software Foundation; version 2 of the license.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Public License for more details.
+ *
+ * Current Version: $Rev$ ($Date$) [$Author$]
*/
#include "callbacks.h"
@@ -82,7 +82,7 @@
if (!tm)
return;
moko_wm_cmd (GTK_WIDGET (tm),
- GTK_WIDGET (tm->l->list_view), MB_CMD_ACTIVAE_CLIENT);
+ GTK_WIDGET (tm->l->list_view), MB_CMD_ACTIVATE_CLIENT);
}
void
@@ -161,7 +161,7 @@
gtk_tree_model_get (model, &iter, OBJECT_COL, &w, -1);
//moko_print_win_list(GDK_DISPLAY(), &w, 1);
//moko_send_Xclimsgwm(GDK_DISPLAY (), w);
- mbcommand(GDK_DISPLAY(), MB_CMD_ACTIVAE_CLIENT, w, NULL);
+ mbcommand(GDK_DISPLAY(), MB_CMD_ACTIVATE_CLIENT, w, NULL);
}
if (path)
free (path);
Modified: trunk/src/target/OM-2007/applications/openmoko-taskmanager/src/callbacks.h
===================================================================
--- trunk/src/target/OM-2007/applications/openmoko-taskmanager/src/callbacks.h 2007-03-06 07:30:14 UTC (rev 1252)
+++ trunk/src/target/OM-2007/applications/openmoko-taskmanager/src/callbacks.h 2007-03-06 07:32:58 UTC (rev 1253)
@@ -1,21 +1,22 @@
/**
- * @file callbacks.h
- * @brief openmoko-taskmanager callbacks based on misc.c.
- * @author Sun Zhiyong
- * @date 2006-10
+ * callbacks.h
*
- * Copyright (C) 2006 FIC-SH
+ * Authored by Sun Zhiyong <sunzhiyong at fic-sh.com.cn>
*
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public License as
- * published by the Free Software Foundation; either version 2, or (at
- * your option) any later version.
+ * Copyright (C) 2006-2007 OpenMoko Inc.
*
- * This program is distributed in the hope that it will be useful, but
- * WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * General Public License for more details.
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU Public License as published by
+ * the Free Software Foundation; version 2 of the license.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Public License for more details.
+ *
+ * Current Version: $Rev$ ($Date$) [$Author$]
*/
+
#ifndef _TASK_MANAGER_CALLBACKS_H
#define _TASK_MANAGER_CALLBACKS_H
#include <gdk/gdk.h>
Modified: trunk/src/target/OM-2007/applications/openmoko-taskmanager/src/list_view.c
===================================================================
--- trunk/src/target/OM-2007/applications/openmoko-taskmanager/src/list_view.c 2007-03-06 07:30:14 UTC (rev 1252)
+++ trunk/src/target/OM-2007/applications/openmoko-taskmanager/src/list_view.c 2007-03-06 07:32:58 UTC (rev 1253)
@@ -1,20 +1,20 @@
/**
- * @file list_view.c
- * @brief list_view.c based on misc.c and gtk+-2.0.
- * @author Sun Zhiyong
- * @date 2006-10
+ * list_view.c
*
- * Copyright (C) 2006 FIC-SH
+ * Authored by Sun Zhiyong <sunzhiyong at fic-sh.com.cn>
*
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public License as
- * published by the Free Software Foundation; either version 2, or (at
- * your option) any later version.
+ * Copyright (C) 2006-2007 OpenMoko Inc.
*
- * This program is distributed in the hope that it will be useful, but
- * WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * General Public License for more details.
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU Public License as published by
+ * the Free Software Foundation; version 2 of the license.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Public License for more details.
+ *
+ * Current Version: $Rev$ ($Date$) [$Author$]
*/
#include "list_view.h"
Modified: trunk/src/target/OM-2007/applications/openmoko-taskmanager/src/list_view.h
===================================================================
--- trunk/src/target/OM-2007/applications/openmoko-taskmanager/src/list_view.h 2007-03-06 07:30:14 UTC (rev 1252)
+++ trunk/src/target/OM-2007/applications/openmoko-taskmanager/src/list_view.h 2007-03-06 07:32:58 UTC (rev 1253)
@@ -1,23 +1,24 @@
/**
- * @file list_view.h
- * @brief list_view.h based on gtk+-2.0.
- * @author Sun Zhiyong
- * @date 2006-10
+ * list_view.h
*
- * Copyright (C) 2006 FIC-SH
+ * Authored by Sun Zhiyong <sunzhiyong at fic-sh.com.cn>
*
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public License as
- * published by the Free Software Foundation; either version 2, or (at
- * your option) any later version.
+ * Copyright (C) 2006-2007 OpenMoko Inc.
*
- * This program is distributed in the hope that it will be useful, but
- * WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * General Public License for more details.
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU Public License as published by
+ * the Free Software Foundation; version 2 of the license.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Public License for more details.
+ *
+ * Current Version: $Rev$ ($Date$) [$Author$]
*/
- #ifndef OPENMOKO_LIST_VIEW_H
- #define OPENMOKO_LIST_VIEW_H
+
+#ifndef _MOKO_TASK_MANAGER_LIST_VIEW_H
+#define _MOKO_TASK_MANAGER_LIST_VIEW_H
#include <glib.h>
#include <glib-object.h>
@@ -25,7 +26,6 @@
#include <gdk/gdkx.h>
#include <libmokoui/moko-tree-view.h>
-
#include "misc.h"
enum{
@@ -78,4 +78,5 @@
moko_set_list_highlight (Display *dpy, MokoTaskList *l) ;
G_END_DECLS
- #endif /*list_view.h*/
+
+#endif /*_MOKO_TASK_MANAGER_LIST_VIEW_H*/
Modified: trunk/src/target/OM-2007/applications/openmoko-taskmanager/src/misc.c
===================================================================
--- trunk/src/target/OM-2007/applications/openmoko-taskmanager/src/misc.c 2007-03-06 07:30:14 UTC (rev 1252)
+++ trunk/src/target/OM-2007/applications/openmoko-taskmanager/src/misc.c 2007-03-06 07:32:58 UTC (rev 1253)
@@ -1,20 +1,20 @@
/**
- * @file misc.c
- * @brief misc.c based on Xlib glib and gtk+-2.0.
- * @author Sun Zhiyong
- * @date 2006-10
+ * misc.c
*
- * Copyright (C) 2006 FIC-SH
+ * Authored by Sun Zhiyong <sunzhiyong at fic-sh.com.cn>
*
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public License as
- * published by the Free Software Foundation; either version 2, or (at
- * your option) any later version.
+ * Copyright (C) 2006-2007 OpenMoko Inc.
*
- * This program is distributed in the hope that it will be useful, but
- * WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * General Public License for more details.
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU Public License as published by
+ * the Free Software Foundation; version 2 of the license.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Public License for more details.
+ *
+ * Current Version: $Rev$ ($Date$) [$Author$]
*/
#include "misc.h"
@@ -63,11 +63,11 @@
for (i=0; i<nitems; i++)
{
type = moko_get_window_property (dpy, temp_list[i], atoms[_NET_WM_WINDOW_TYPE]);
- if (type == atoms[_NET_WM_WINDOW_TYPE_NORMAL])
- {
- temp_list[counter] = temp_list[i];
- counter ++;
- }
+ if (type == atoms[_NET_WM_WINDOW_TYPE_NORMAL])
+ {
+ temp_list[counter] = temp_list[i];
+ counter ++;
+ }
}
*nr = counter;
*list = g_malloc0 (sizeof (Window) * counter);
@@ -81,7 +81,8 @@
{
if (dpy == NULL || w == NULL)
return FALSE;
- else {
+ else
+ {
GdkScreen * screen = gdk_screen_get_default ();
int i ;
i = gdk_screen_get_number (screen);
@@ -92,7 +93,7 @@
if (gdk_error_trap_pop ())
return FALSE;
return TRUE;
- }
+ }
}
GdkPixbuf *
@@ -112,19 +113,21 @@
if (gdk_error_trap_pop () || rc != Success)
return NULL;
- if (nitems) {
+ if (nitems)
+ {
guint *prop = (guint *)data;
guint w = prop[0], h = prop[1];
guint i;
guchar *pixels = g_malloc (w * h * 4);
guchar *p = pixels;
- for (i = 0; i < w * h; i++) {
+ for (i = 0; i < w * h; i++)
+ {
gulong l = prop[2 + i];
*(p++) = (l & 0x00ff0000) >> 16;
*(p++) = (l & 0x0000ff00) >> 8;
*(p++) = (l & 0x000000ff);
*(p++) = (l & 0xff000000) >> 24;
- }
+ }
pixbuf = gdk_pixbuf_new_from_data (pixels,
GDK_COLORSPACE_RGB,
@@ -134,7 +137,7 @@
w * 4,
(GdkPixbufDestroyNotify)g_free,
NULL);
- }
+ }
if (data)
XFree (data);
return pixbuf;
@@ -156,22 +159,25 @@
&nitems, &bytes_after, &prop);
if (gdk_error_trap_pop () || rc != Success)
return NULL;
- if (nitems){
+ if (nitems)
+ {
name = g_strdup (prop);
XFree (prop);
- }
- else {
+ }
+ else
+ {
gdk_error_trap_push ();
rc = XGetWindowProperty (dpy, w, XA_WM_NAME,
0, G_MAXLONG, False, XA_STRING, &actual_type, &actual_format,
&nitems, &bytes_after, &prop);
if (gdk_error_trap_pop () || rc != Success)
return FALSE;
- if (nitems) {
+ if (nitems)
+ {
name = g_locale_to_utf8 (prop, -1, NULL, NULL, NULL);
XFree (prop);
- }
}
+ }
return name;
}
@@ -206,14 +212,17 @@
rc = XGetWindowProperty (dpy, w, property,
0, 1, False, XA_ATOM, &actual_type, &actual_format,
&nitems, &bytes_after, &prop);
- if (gdk_error_trap_pop () || rc != Success){
+ if (gdk_error_trap_pop () || rc != Success)
+ {
//g_debug ("Have not obtain the property");
return None;
- }
- if (prop) {
+ }
+
+ if (prop)
+ {
memcpy (&result, prop, sizeof (result));
XFree (prop);
- }
+ }
return result;
}
@@ -230,14 +239,15 @@
gettimeofday(&then, NULL);
//check the click type: tap "done = 1 "; tap with hold "done = 2";
- while (!done) {
+ while (!done)
+ {
if (XCheckMaskEvent(dpy, ButtonReleaseMask, &ev))
if (ev.type == ButtonRelease)
done=1;
gettimeofday(&now, NULL);
- if ((now.tv_usec-then.tv_usec)>(click_time*1000) || now.tv_sec > then.tv_sec)
- done=2;
- }
+ if ((now.tv_usec-then.tv_usec)>(click_time*1000) || now.tv_sec > then.tv_sec)
+ done=2;
+ }
return done;
}
@@ -252,12 +262,13 @@
if (XGetWindowProperty (dpy, DefaultRootWindow (dpy), atoms[_NET_ACTIVE_WINDOW],
0, 4, False, XA_WINDOW, &type, &actual_format, &nitems, &bytes_after, (unsigned char **)&prop)
- == Success) {
+ == Success)
+ {
*window_return = g_malloc0(sizeof (Window) * nitems);
memcpy (*window_return, prop, sizeof (Window) * nitems);
XFree (prop);
return TRUE;
- }
+ }
else return FALSE;
}
@@ -288,7 +299,13 @@
exit(0);
}
}
-
+
+ if (cmd_id == MB_CMD_REMOVE_CLIENT)
+ {
+ if (moko_kill_window (dpy, win))
+ return;
+ }
+
cmd_prop = XInternAtom(dpy, "_MB_COMMAND", False);
memset(&ev, '\0', sizeof ev);
ev.xclient.type = ClientMessage;
@@ -304,8 +321,7 @@
XFlush (dpy);
}
-
-gboolean
+static gboolean
moko_send_delete_message (Display *dpy, Window w)
{
XEvent e;
@@ -325,7 +341,7 @@
return TRUE;
}
-gboolean
+static gboolean
moko_really_kill_client (Display *dpy, Window w)
{
gdk_error_trap_push ();
@@ -347,17 +363,19 @@
rc = XGetWMProtocols (dpy, w, &protocols, &count);
if (gdk_error_trap_pop ())
return FALSE;
- if (rc) {
+ if (rc)
+ {
int i;
gboolean delete_supported = FALSE;
- for (i = 0; i < count; i++) {
+ for (i = 0; i < count; i++)
+ {
if (protocols[i] == WM_DELETE_WINDOW)
delete_supported = TRUE;
- }
+ }
XFree (protocols);
if (delete_supported)
return moko_send_delete_message (dpy, w);
- }
+ }
return moko_really_kill_client (dpy, w);
}
Modified: trunk/src/target/OM-2007/applications/openmoko-taskmanager/src/misc.h
===================================================================
--- trunk/src/target/OM-2007/applications/openmoko-taskmanager/src/misc.h 2007-03-06 07:30:14 UTC (rev 1252)
+++ trunk/src/target/OM-2007/applications/openmoko-taskmanager/src/misc.h 2007-03-06 07:32:58 UTC (rev 1253)
@@ -1,24 +1,25 @@
/**
- * @file misc.h
- * @brief misc.h based on Xlib glib and gtk+-2.0.
- * @author Sun Zhiyong
- * @date 2006-10
+ * misc.h
*
- * Copyright (C) 2006 FIC-SH
+ * Authored by Sun Zhiyong <sunzhiyong at fic-sh.com.cn>
*
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public License as
- * published by the Free Software Foundation; either version 2, or (at
- * your option) any later version.
+ * Copyright (C) 2006-2007 OpenMoko Inc.
*
- * This program is distributed in the hope that it will be useful, but
- * WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * General Public License for more details.
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU Public License as published by
+ * the Free Software Foundation; version 2 of the license.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Public License for more details.
+ *
+ * Current Version: $Rev$ ($Date$) [$Author$]
*/
-#ifndef _MISC_H
-#define _MISC_H
+#ifndef _MOKO_TASK_MANAGER_MISC_H
+#define _MOKO_TASK_MANAGER_MISC_H
+
#include <sys/types.h>
#include <stdio.h>
#include <libintl.h>
@@ -45,7 +46,7 @@
#define MB_CMD_COMPOSITE 8
#define MB_CMB_KEYS_RELOAD 9
-#define MB_CMD_ACTIVAE_CLIENT 100
+#define MB_CMD_ACTIVATE_CLIENT 100
#define MB_CMD_REMOVE_CLIENT 101
#define MB_CMD_REMOVE_AND_ACTIVE 102
@@ -79,12 +80,11 @@
gboolean
moko_active_next_client (Display* dpy);
-gboolean
-moko_kill_window (Display *dpy, Window w);
+
/********/
gboolean
moko_set_atoms_name(const char** src_name, int src_num);
-#endif/*misc.h*/
+#endif /*_MOKO_TASK_MANAGER_MISC_H*/
Modified: trunk/src/target/OM-2007/applications/openmoko-taskmanager/src/popupmenu.c
===================================================================
--- trunk/src/target/OM-2007/applications/openmoko-taskmanager/src/popupmenu.c 2007-03-06 07:30:14 UTC (rev 1252)
+++ trunk/src/target/OM-2007/applications/openmoko-taskmanager/src/popupmenu.c 2007-03-06 07:32:58 UTC (rev 1253)
@@ -1,20 +1,20 @@
/**
- * @file popupmen.c
- * @brief popupmenu based on gtk and gdk.
- * @author Sun Zhiyong
- * @date 2006-10
+ * popupmenu.c
*
- * Copyright (C) 2006 FIC-SH
+ * Authored by Sun Zhiyong <sunzhiyong at fic-sh.com.cn>
*
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public License as
- * published by the Free Software Foundation; either version 2, or (at
- * your option) any later version.
+ * Copyright (C) 2006-2007 OpenMoko Inc.
*
- * This program is distributed in the hope that it will be useful, but
- * WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * General Public License for more details.
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU Public License as published by
+ * the Free Software Foundation; version 2 of the license.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Public License for more details.
+ *
+ * Current Version: $Rev$ ($Date$) [$Author$]
*/
#include "popupmenu.h"
Modified: trunk/src/target/OM-2007/applications/openmoko-taskmanager/src/popupmenu.h
===================================================================
--- trunk/src/target/OM-2007/applications/openmoko-taskmanager/src/popupmenu.h 2007-03-06 07:30:14 UTC (rev 1252)
+++ trunk/src/target/OM-2007/applications/openmoko-taskmanager/src/popupmenu.h 2007-03-06 07:32:58 UTC (rev 1253)
@@ -1,21 +1,22 @@
/**
- * @file popupmenu.h
- * @brief popup based on gtk gdk.
- * @author Sun Zhiyong
- * @date 2006-10
+ * popupmenu.h
*
- * Copyright (C) 2006 FIC-SH
+ * Authored by Sun Zhiyong <sunzhiyong at fic-sh.com.cn>
*
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public License as
- * published by the Free Software Foundation; either version 2, or (at
- * your option) any later version.
+ * Copyright (C) 2006-2007 OpenMoko Inc.
*
- * This program is distributed in the hope that it will be useful, but
- * WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * General Public License for more details.
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU Public License as published by
+ * the Free Software Foundation; version 2 of the license.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Public License for more details.
+ *
+ * Current Version: $Rev$ ($Date$) [$Author$]
*/
+
#ifndef _TASK_MANAGER_POPUP_MENU_H
#define _TASK_MANAGER_POPUP_MENU_H
Modified: trunk/src/target/OM-2007/applications/openmoko-taskmanager/src/taskmanager.c
===================================================================
--- trunk/src/target/OM-2007/applications/openmoko-taskmanager/src/taskmanager.c 2007-03-06 07:30:14 UTC (rev 1252)
+++ trunk/src/target/OM-2007/applications/openmoko-taskmanager/src/taskmanager.c 2007-03-06 07:32:58 UTC (rev 1253)
@@ -1,21 +1,20 @@
/**
- * @file taskmanager.c
- * @brief openmoko-taskmanager taskmanager.c based on callbacks.h and list_view.h.
- * @brief UI of openmoko-taskmanager based on list_view.c
- * @author Sun Zhiyong
- * @date 2006-10
+ * taskmanager.c
*
- * Copyright (C) 2006 FIC-SH
+ * Authored by Sun Zhiyong <sunzhiyong at fic-sh.com.cn>
*
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public License as
- * published by the Free Software Foundation; either version 2, or (at
- * your option) any later version.
+ * Copyright (C) 2006-2007 OpenMoko Inc.
*
- * This program is distributed in the hope that it will be useful, but
- * WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * General Public License for more details.
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU Public License as published by
+ * the Free Software Foundation; version 2 of the license.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Public License for more details.
+ *
+ * Current Version: $Rev$ ($Date$) [$Author$]
*/
#include "taskmanager.h"
Modified: trunk/src/target/OM-2007/applications/openmoko-taskmanager/src/taskmanager.h
===================================================================
--- trunk/src/target/OM-2007/applications/openmoko-taskmanager/src/taskmanager.h 2007-03-06 07:30:14 UTC (rev 1252)
+++ trunk/src/target/OM-2007/applications/openmoko-taskmanager/src/taskmanager.h 2007-03-06 07:32:58 UTC (rev 1253)
@@ -1,20 +1,20 @@
/**
- * @file taskmanager.h
- * @brief openmoko-taskmanager taskmanager.c based on callbacks.h and list_view.h.
- * @author Sun Zhiyong
- * @date 2006-10
+ * taskmanager.h
*
- * Copyright (C) 2006 FIC-SH
+ * Authored by Sun Zhiyong <sunzhiyong at fic-sh.com.cn>
*
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public License as
- * published by the Free Software Foundation; either version 2, or (at
- * your option) any later version.
+ * Copyright (C) 2006-2007 OpenMoko Inc.
*
- * This program is distributed in the hope that it will be useful, but
- * WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * General Public License for more details.
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU Public License as published by
+ * the Free Software Foundation; version 2 of the license.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Public License for more details.
+ *
+ * Current Version: $Rev$ ($Date$) [$Author$]
*/
#ifndef _TASK_MANAGER_H
Modified: trunk/src/target/OM-2007/applications/openmoko-taskmanager/src/xatoms.c
===================================================================
--- trunk/src/target/OM-2007/applications/openmoko-taskmanager/src/xatoms.c 2007-03-06 07:30:14 UTC (rev 1252)
+++ trunk/src/target/OM-2007/applications/openmoko-taskmanager/src/xatoms.c 2007-03-06 07:32:58 UTC (rev 1253)
@@ -1,20 +1,20 @@
/**
- * @file xatoms.c
- * @brief xatoms.c based on X11/Xlib.
- * @author Sun Zhiyong
- * @date 2006-10
+ * xatoms.c
*
- * Copyright (C) 2006 FIC-SH
+ * Authored by Sun Zhiyong <sunzhiyong at fic-sh.com.cn>
*
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public License as
- * published by the Free Software Foundation; either version 2, or (at
- * your option) any later version.
+ * Copyright (C) 2006-2007 OpenMoko Inc.
*
- * This program is distributed in the hope that it will be useful, but
- * WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * General Public License for more details.
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU Public License as published by
+ * the Free Software Foundation; version 2 of the license.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Public License for more details.
+ *
+ * Current Version: $Rev$ ($Date$) [$Author$]
*/
#include "xatoms.h"
Modified: trunk/src/target/OM-2007/applications/openmoko-taskmanager/src/xatoms.h
===================================================================
--- trunk/src/target/OM-2007/applications/openmoko-taskmanager/src/xatoms.h 2007-03-06 07:30:14 UTC (rev 1252)
+++ trunk/src/target/OM-2007/applications/openmoko-taskmanager/src/xatoms.h 2007-03-06 07:32:58 UTC (rev 1253)
@@ -1,21 +1,22 @@
/**
- * @file xatoms.h
- * @brief xatoms based on X11/Xlib.
- * @author Sun Zhiyong
- * @date 2006-10
+ * xatoms.h
*
- * Copyright (C) 2006 FIC-SH
+ * Authored by Sun Zhiyong <sunzhiyong at fic-sh.com.cn>
*
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public License as
- * published by the Free Software Foundation; either version 2, or (at
- * your option) any later version.
+ * Copyright (C) 2006-2007 OpenMoko Inc.
*
- * This program is distributed in the hope that it will be useful, but
- * WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * General Public License for more details.
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU Public License as published by
+ * the Free Software Foundation; version 2 of the license.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Public License for more details.
+ *
+ * Current Version: $Rev$ ($Date$) [$Author$]
*/
+
#ifndef _TASK_MANAGER_X_ATOMS_H
#define _TASK_MANAGER_X_ATOMS_H
@@ -52,4 +53,4 @@
gboolean
moko_initialize_X_atoms(const Display* dpy);
-#endif /*xatoms.h*/
+#endif /*_TASK_MANAGER_X_ATOMS_H*/
More information about the commitlog
mailing list