r410 - in trunk/src/target/OM-2007: applications/openmoko-chordmaster/src applications/openmoko-dialer/src applications/openmoko-mainmenu/src examples/openmoko-finger-demo/src examples/openmoko-stylus-demo/src examples/openmoko-stylus-demo-simple/src openmoko-libs/libmokoui templates

mickey at gta01.hmw-consulting.de mickey at gta01.hmw-consulting.de
Thu Dec 14 15:55:24 CET 2006


Author: mickey
Date: 2006-12-14 15:55:19 +0100 (Thu, 14 Dec 2006)
New Revision: 410

Modified:
   trunk/src/target/OM-2007/applications/openmoko-chordmaster/src/chordsdb.c
   trunk/src/target/OM-2007/applications/openmoko-chordmaster/src/chordsdb.h
   trunk/src/target/OM-2007/applications/openmoko-chordmaster/src/fretboard-widget.c
   trunk/src/target/OM-2007/applications/openmoko-chordmaster/src/fretboard-widget.h
   trunk/src/target/OM-2007/applications/openmoko-chordmaster/src/main.c
   trunk/src/target/OM-2007/applications/openmoko-chordmaster/src/main.h
   trunk/src/target/OM-2007/applications/openmoko-dialer/src/contacts.c
   trunk/src/target/OM-2007/applications/openmoko-dialer/src/moko-dialer-autolist.c
   trunk/src/target/OM-2007/applications/openmoko-dialer/src/moko-dialer-autolist.h
   trunk/src/target/OM-2007/applications/openmoko-dialer/src/moko-dialer-declares.h
   trunk/src/target/OM-2007/applications/openmoko-dialer/src/moko-dialer-includes.h
   trunk/src/target/OM-2007/applications/openmoko-dialer/src/moko-dialer-panel.c
   trunk/src/target/OM-2007/applications/openmoko-dialer/src/moko-dialer-panel.h
   trunk/src/target/OM-2007/applications/openmoko-dialer/src/moko-dialer-textview.c
   trunk/src/target/OM-2007/applications/openmoko-dialer/src/moko-dialer-textview.h
   trunk/src/target/OM-2007/applications/openmoko-dialer/src/moko-dialer-tip.c
   trunk/src/target/OM-2007/applications/openmoko-dialer/src/moko-dialer-tip.h
   trunk/src/target/OM-2007/applications/openmoko-dialer/src/moko-digit-button.c
   trunk/src/target/OM-2007/applications/openmoko-dialer/src/moko-digit-button.h
   trunk/src/target/OM-2007/applications/openmoko-dialer/src/openmoko-dialer-main.c
   trunk/src/target/OM-2007/applications/openmoko-dialer/src/openmoko-dialer-main.h
   trunk/src/target/OM-2007/applications/openmoko-mainmenu/src/callbacks.c
   trunk/src/target/OM-2007/applications/openmoko-mainmenu/src/callbacks.h
   trunk/src/target/OM-2007/applications/openmoko-mainmenu/src/main.c
   trunk/src/target/OM-2007/applications/openmoko-mainmenu/src/main.h
   trunk/src/target/OM-2007/applications/openmoko-mainmenu/src/mainmenu.c
   trunk/src/target/OM-2007/applications/openmoko-mainmenu/src/mainmenu.h
   trunk/src/target/OM-2007/applications/openmoko-mainmenu/src/menu-list.c
   trunk/src/target/OM-2007/applications/openmoko-mainmenu/src/menu-list.h
   trunk/src/target/OM-2007/applications/openmoko-mainmenu/src/support.c
   trunk/src/target/OM-2007/applications/openmoko-mainmenu/src/support.h
   trunk/src/target/OM-2007/examples/openmoko-finger-demo/src/demo-main.c
   trunk/src/target/OM-2007/examples/openmoko-finger-demo/src/demo-main.h
   trunk/src/target/OM-2007/examples/openmoko-stylus-demo-simple/src/demo-main.c
   trunk/src/target/OM-2007/examples/openmoko-stylus-demo-simple/src/demo-main.h
   trunk/src/target/OM-2007/examples/openmoko-stylus-demo/src/demo-main.c
   trunk/src/target/OM-2007/examples/openmoko-stylus-demo/src/demo-main.h
   trunk/src/target/OM-2007/openmoko-libs/libmokoui/moko-alignment.c
   trunk/src/target/OM-2007/openmoko-libs/libmokoui/moko-alignment.h
   trunk/src/target/OM-2007/openmoko-libs/libmokoui/moko-application.c
   trunk/src/target/OM-2007/openmoko-libs/libmokoui/moko-application.h
   trunk/src/target/OM-2007/openmoko-libs/libmokoui/moko-details-window.c
   trunk/src/target/OM-2007/openmoko-libs/libmokoui/moko-details-window.h
   trunk/src/target/OM-2007/openmoko-libs/libmokoui/moko-dialog-window.c
   trunk/src/target/OM-2007/openmoko-libs/libmokoui/moko-dialog-window.h
   trunk/src/target/OM-2007/openmoko-libs/libmokoui/moko-finger-tool-box.c
   trunk/src/target/OM-2007/openmoko-libs/libmokoui/moko-finger-tool-box.h
   trunk/src/target/OM-2007/openmoko-libs/libmokoui/moko-finger-wheel.c
   trunk/src/target/OM-2007/openmoko-libs/libmokoui/moko-finger-wheel.h
   trunk/src/target/OM-2007/openmoko-libs/libmokoui/moko-finger-window.c
   trunk/src/target/OM-2007/openmoko-libs/libmokoui/moko-finger-window.h
   trunk/src/target/OM-2007/openmoko-libs/libmokoui/moko-fixed.c
   trunk/src/target/OM-2007/openmoko-libs/libmokoui/moko-fixed.h
   trunk/src/target/OM-2007/openmoko-libs/libmokoui/moko-menu-box.c
   trunk/src/target/OM-2007/openmoko-libs/libmokoui/moko-menu-box.h
   trunk/src/target/OM-2007/openmoko-libs/libmokoui/moko-navigation-list.c
   trunk/src/target/OM-2007/openmoko-libs/libmokoui/moko-navigation-list.h
   trunk/src/target/OM-2007/openmoko-libs/libmokoui/moko-paned-window.c
   trunk/src/target/OM-2007/openmoko-libs/libmokoui/moko-paned-window.h
   trunk/src/target/OM-2007/openmoko-libs/libmokoui/moko-pixmap-button.c
   trunk/src/target/OM-2007/openmoko-libs/libmokoui/moko-pixmap-button.h
   trunk/src/target/OM-2007/openmoko-libs/libmokoui/moko-search-bar.c
   trunk/src/target/OM-2007/openmoko-libs/libmokoui/moko-search-bar.h
   trunk/src/target/OM-2007/openmoko-libs/libmokoui/moko-tool-box.c
   trunk/src/target/OM-2007/openmoko-libs/libmokoui/moko-tool-box.h
   trunk/src/target/OM-2007/openmoko-libs/libmokoui/moko-tree-view.c
   trunk/src/target/OM-2007/openmoko-libs/libmokoui/moko-tree-view.h
   trunk/src/target/OM-2007/openmoko-libs/libmokoui/moko-window.c
   trunk/src/target/OM-2007/openmoko-libs/libmokoui/moko-window.h
   trunk/src/target/OM-2007/templates/gpl-header.h
   trunk/src/target/OM-2007/templates/lgpl-header.h
Log:
many files: fix typo


Modified: trunk/src/target/OM-2007/applications/openmoko-chordmaster/src/chordsdb.c
===================================================================
--- trunk/src/target/OM-2007/applications/openmoko-chordmaster/src/chordsdb.c	2006-12-14 14:33:28 UTC (rev 409)
+++ trunk/src/target/OM-2007/applications/openmoko-chordmaster/src/chordsdb.c	2006-12-14 14:55:19 UTC (rev 410)
@@ -1,8 +1,8 @@
 /*  chordsdb.c
  *
- *  Authored By Michael 'Mickey' Lauer <mlauer at vanille-media.de>
+ *  Authored by Michael 'Mickey' Lauer <mlauer at vanille-media.de>
  *
- *  Copyright (C) 2006 Vanille-Media
+ *  Copyright (C) 2006 First International Computer Inc.
  *
  *  This program is free software; you can redistribute it and/or modify
  *  it under the terms of the GNU Public License as published by

Modified: trunk/src/target/OM-2007/applications/openmoko-chordmaster/src/chordsdb.h
===================================================================
--- trunk/src/target/OM-2007/applications/openmoko-chordmaster/src/chordsdb.h	2006-12-14 14:33:28 UTC (rev 409)
+++ trunk/src/target/OM-2007/applications/openmoko-chordmaster/src/chordsdb.h	2006-12-14 14:55:19 UTC (rev 410)
@@ -1,8 +1,8 @@
 /*  chordsdb.h
  *
- *  Authored By Michael 'Mickey' Lauer <mlauer at vanille-media.de>
+ *  Authored by Michael 'Mickey' Lauer <mlauer at vanille-media.de>
  *
- *  Copyright (C) 2006 Vanille-Media
+ *  Copyright (C) 2006 First International Computer Inc.
  *
  *  This program is free software; you can redistribute it and/or modify
  *  it under the terms of the GNU Public License as published by

Modified: trunk/src/target/OM-2007/applications/openmoko-chordmaster/src/fretboard-widget.c
===================================================================
--- trunk/src/target/OM-2007/applications/openmoko-chordmaster/src/fretboard-widget.c	2006-12-14 14:33:28 UTC (rev 409)
+++ trunk/src/target/OM-2007/applications/openmoko-chordmaster/src/fretboard-widget.c	2006-12-14 14:55:19 UTC (rev 410)
@@ -1,8 +1,8 @@
 /*  fretboard-widget.c
  *
- *  Authored By Michael 'Mickey' Lauer <mlauer at vanille-media.de>
+ *  Authored by Michael 'Mickey' Lauer <mlauer at vanille-media.de>
  *
- *  Copyright (C) 2006 Vanille-Media
+ *  Copyright (C) 2006 First International Computer Inc.
  *
  *  This program is free software; you can redistribute it and/or modify
  *  it under the terms of the GNU Public License as published by

Modified: trunk/src/target/OM-2007/applications/openmoko-chordmaster/src/fretboard-widget.h
===================================================================
--- trunk/src/target/OM-2007/applications/openmoko-chordmaster/src/fretboard-widget.h	2006-12-14 14:33:28 UTC (rev 409)
+++ trunk/src/target/OM-2007/applications/openmoko-chordmaster/src/fretboard-widget.h	2006-12-14 14:55:19 UTC (rev 410)
@@ -1,8 +1,8 @@
 /*  fretboard-widget.h
  *
- *  Authored By Michael 'Mickey' Lauer <mlauer at vanille-media.de>
+ *  Authored by Michael 'Mickey' Lauer <mlauer at vanille-media.de>
  *
- *  Copyright (C) 2006 Vanille-Media
+ *  Copyright (C) 2006 First International Computer Inc.
  *
  *  This program is free software; you can redistribute it and/or modify
  *  it under the terms of the GNU Public License as published by

Modified: trunk/src/target/OM-2007/applications/openmoko-chordmaster/src/main.c
===================================================================
--- trunk/src/target/OM-2007/applications/openmoko-chordmaster/src/main.c	2006-12-14 14:33:28 UTC (rev 409)
+++ trunk/src/target/OM-2007/applications/openmoko-chordmaster/src/main.c	2006-12-14 14:55:19 UTC (rev 410)
@@ -1,9 +1,9 @@
 /*
  *  ChordMaster -- A Chord Application for the OpenMoko Framework
  *
- *  Authored By Michael 'Mickey' Lauer <mlauer at vanille-media.de>
+ *  Authored by Michael 'Mickey' Lauer <mlauer at vanille-media.de>
  *
- *  Copyright (C) 2006 Vanille-Media
+ *  Copyright (C) 2006 First International Computer Inc.
  *
  *  This program is free software; you can redistribute it and/or modify
  *  it under the terms of the GNU Public License as published by

Modified: trunk/src/target/OM-2007/applications/openmoko-chordmaster/src/main.h
===================================================================
--- trunk/src/target/OM-2007/applications/openmoko-chordmaster/src/main.h	2006-12-14 14:33:28 UTC (rev 409)
+++ trunk/src/target/OM-2007/applications/openmoko-chordmaster/src/main.h	2006-12-14 14:55:19 UTC (rev 410)
@@ -1,9 +1,9 @@
 /*
  *  ChordMaster -- A Chord Application for the OpenMoko Framework
  *
- *  Authored By Michael 'Mickey' Lauer <mlauer at vanille-media.de>
+ *  Authored by Michael 'Mickey' Lauer <mlauer at vanille-media.de>
  *
- *  Copyright (C) 2006 Vanille-Media
+ *  Copyright (C) 2006 First International Computer Inc.
  *
  *  This program is free software; you can redistribute it and/or modify
  *  it under the terms of the GNU Public License as published by

Modified: trunk/src/target/OM-2007/applications/openmoko-dialer/src/contacts.c
===================================================================
--- trunk/src/target/OM-2007/applications/openmoko-dialer/src/contacts.c	2006-12-14 14:33:28 UTC (rev 409)
+++ trunk/src/target/OM-2007/applications/openmoko-dialer/src/contacts.c	2006-12-14 14:55:19 UTC (rev 410)
@@ -1,6 +1,6 @@
 /*  contacts.c
  *
- *  Authored By Tony Guan<tonyguan at fic-sh.com.cn>
+ *  Authored by Tony Guan<tonyguan at fic-sh.com.cn>
  *
  *  Copyright (C) 2006 FIC Shanghai Lab
  *

Modified: trunk/src/target/OM-2007/applications/openmoko-dialer/src/moko-dialer-autolist.c
===================================================================
--- trunk/src/target/OM-2007/applications/openmoko-dialer/src/moko-dialer-autolist.c	2006-12-14 14:33:28 UTC (rev 409)
+++ trunk/src/target/OM-2007/applications/openmoko-dialer/src/moko-dialer-autolist.c	2006-12-14 14:55:19 UTC (rev 410)
@@ -1,6 +1,6 @@
 /* moko-dialer-autolist .c
  *
- *  Authored By Tony Guan<tonyguan at fic-sh.com.cn>
+ *  Authored by Tony Guan<tonyguan at fic-sh.com.cn>
  *
  *  Copyright (C) 2006 FIC Shanghai Lab
  *

Modified: trunk/src/target/OM-2007/applications/openmoko-dialer/src/moko-dialer-autolist.h
===================================================================
--- trunk/src/target/OM-2007/applications/openmoko-dialer/src/moko-dialer-autolist.h	2006-12-14 14:33:28 UTC (rev 409)
+++ trunk/src/target/OM-2007/applications/openmoko-dialer/src/moko-dialer-autolist.h	2006-12-14 14:55:19 UTC (rev 410)
@@ -1,6 +1,6 @@
 /* moko-dialer-autolist.h
  *
- *  Authored By Tony Guan<tonyguan at fic-sh.com.cn>
+ *  Authored by Tony Guan<tonyguan at fic-sh.com.cn>
  *
  *  Copyright (C) 2006 FIC Shanghai Lab
  *

Modified: trunk/src/target/OM-2007/applications/openmoko-dialer/src/moko-dialer-declares.h
===================================================================
--- trunk/src/target/OM-2007/applications/openmoko-dialer/src/moko-dialer-declares.h	2006-12-14 14:33:28 UTC (rev 409)
+++ trunk/src/target/OM-2007/applications/openmoko-dialer/src/moko-dialer-declares.h	2006-12-14 14:55:19 UTC (rev 410)
@@ -1,6 +1,6 @@
 /*  moko-dialer-declares.h
  *
- *  Authored By Tony Guan<tonyguan at fic-sh.com.cn>
+ *  Authored by Tony Guan<tonyguan at fic-sh.com.cn>
  *
  *  Copyright (C) 2006 FIC Shanghai Lab
  *

Modified: trunk/src/target/OM-2007/applications/openmoko-dialer/src/moko-dialer-includes.h
===================================================================
--- trunk/src/target/OM-2007/applications/openmoko-dialer/src/moko-dialer-includes.h	2006-12-14 14:33:28 UTC (rev 409)
+++ trunk/src/target/OM-2007/applications/openmoko-dialer/src/moko-dialer-includes.h	2006-12-14 14:55:19 UTC (rev 410)
@@ -1,6 +1,6 @@
 /* moko-dialer-includes.h
  *
- *  Authored By Tony Guan<tonyguan at fic-sh.com.cn>
+ *  Authored by Tony Guan<tonyguan at fic-sh.com.cn>
  *
  *  Copyright (C) 2006 FIC Shanghai Lab
  *

Modified: trunk/src/target/OM-2007/applications/openmoko-dialer/src/moko-dialer-panel.c
===================================================================
--- trunk/src/target/OM-2007/applications/openmoko-dialer/src/moko-dialer-panel.c	2006-12-14 14:33:28 UTC (rev 409)
+++ trunk/src/target/OM-2007/applications/openmoko-dialer/src/moko-dialer-panel.c	2006-12-14 14:55:19 UTC (rev 410)
@@ -1,6 +1,6 @@
 /*  moko-dialer-pannel.c
  *
- *  Authored By Tony Guan<tonyguan at fic-sh.com.cn>
+ *  Authored by Tony Guan<tonyguan at fic-sh.com.cn>
  *
  *  Copyright (C) 2006 FIC Shanghai Lab
  *

Modified: trunk/src/target/OM-2007/applications/openmoko-dialer/src/moko-dialer-panel.h
===================================================================
--- trunk/src/target/OM-2007/applications/openmoko-dialer/src/moko-dialer-panel.h	2006-12-14 14:33:28 UTC (rev 409)
+++ trunk/src/target/OM-2007/applications/openmoko-dialer/src/moko-dialer-panel.h	2006-12-14 14:55:19 UTC (rev 410)
@@ -1,6 +1,6 @@
 /* moko-dialer-panel.h
  *
- *  Authored By Tony Guan<tonyguan at fic-sh.com.cn>
+ *  Authored by Tony Guan<tonyguan at fic-sh.com.cn>
  *
  *  Copyright (C) 2006 FIC Shanghai Lab
  *

Modified: trunk/src/target/OM-2007/applications/openmoko-dialer/src/moko-dialer-textview.c
===================================================================
--- trunk/src/target/OM-2007/applications/openmoko-dialer/src/moko-dialer-textview.c	2006-12-14 14:33:28 UTC (rev 409)
+++ trunk/src/target/OM-2007/applications/openmoko-dialer/src/moko-dialer-textview.c	2006-12-14 14:55:19 UTC (rev 410)
@@ -1,6 +1,6 @@
 /*  moko-dialer-textview.c
  *
- *  Authored By Tony Guan<tonyguan at fic-sh.com.cn>
+ *  Authored by Tony Guan<tonyguan at fic-sh.com.cn>
  *
  *  Copyright (C) 2006 FIC Shanghai Lab
  *

Modified: trunk/src/target/OM-2007/applications/openmoko-dialer/src/moko-dialer-textview.h
===================================================================
--- trunk/src/target/OM-2007/applications/openmoko-dialer/src/moko-dialer-textview.h	2006-12-14 14:33:28 UTC (rev 409)
+++ trunk/src/target/OM-2007/applications/openmoko-dialer/src/moko-dialer-textview.h	2006-12-14 14:55:19 UTC (rev 410)
@@ -1,6 +1,6 @@
 /* moko-dialer-textview.h
  *
- *  Authored By Tony Guan<tonyguan at fic-sh.com.cn>
+ *  Authored by Tony Guan<tonyguan at fic-sh.com.cn>
  *
  *  Copyright (C) 2006 FIC Shanghai Lab
  *

Modified: trunk/src/target/OM-2007/applications/openmoko-dialer/src/moko-dialer-tip.c
===================================================================
--- trunk/src/target/OM-2007/applications/openmoko-dialer/src/moko-dialer-tip.c	2006-12-14 14:33:28 UTC (rev 409)
+++ trunk/src/target/OM-2007/applications/openmoko-dialer/src/moko-dialer-tip.c	2006-12-14 14:55:19 UTC (rev 410)
@@ -1,6 +1,6 @@
 /* moko-dialer-tip.c
  *
- *  Authored By Tony Guan<tonyguan at fic-sh.com.cn>
+ *  Authored by Tony Guan<tonyguan at fic-sh.com.cn>
  *
  *  Copyright (C) 2006 FIC Shanghai Lab
  *

Modified: trunk/src/target/OM-2007/applications/openmoko-dialer/src/moko-dialer-tip.h
===================================================================
--- trunk/src/target/OM-2007/applications/openmoko-dialer/src/moko-dialer-tip.h	2006-12-14 14:33:28 UTC (rev 409)
+++ trunk/src/target/OM-2007/applications/openmoko-dialer/src/moko-dialer-tip.h	2006-12-14 14:55:19 UTC (rev 410)
@@ -1,6 +1,6 @@
 /* moko-dialer-tip.h
  *  MokoDialerTip, for the autofill feature, this widget shows the current hints for the end user.
- *  Authored By Tony Guan<tonyguan at fic-sh.com.cn>
+ *  Authored by Tony Guan<tonyguan at fic-sh.com.cn>
  *
  *  Copyright (C) 2006 FIC Shanghai Lab
  *

Modified: trunk/src/target/OM-2007/applications/openmoko-dialer/src/moko-digit-button.c
===================================================================
--- trunk/src/target/OM-2007/applications/openmoko-dialer/src/moko-digit-button.c	2006-12-14 14:33:28 UTC (rev 409)
+++ trunk/src/target/OM-2007/applications/openmoko-dialer/src/moko-digit-button.c	2006-12-14 14:55:19 UTC (rev 410)
@@ -1,6 +1,6 @@
 /*  moko-button-digit.c
  *
- *  Authored By Tony Guan<tonyguan at fic-sh.com.cn>
+ *  Authored by Tony Guan<tonyguan at fic-sh.com.cn>
  *
  *  Copyright (C) 2006 FIC Shanghai Lab
  *

Modified: trunk/src/target/OM-2007/applications/openmoko-dialer/src/moko-digit-button.h
===================================================================
--- trunk/src/target/OM-2007/applications/openmoko-dialer/src/moko-digit-button.h	2006-12-14 14:33:28 UTC (rev 409)
+++ trunk/src/target/OM-2007/applications/openmoko-dialer/src/moko-digit-button.h	2006-12-14 14:55:19 UTC (rev 410)
@@ -1,6 +1,6 @@
 /*  moko-button-digit.h
  *
- *  Authored By Tony Guan<tonyguan at fic-sh.com.cn>
+ *  Authored by Tony Guan<tonyguan at fic-sh.com.cn>
  *
  *  Copyright (C) 2006 FIC Shanghai Lab
  *

Modified: trunk/src/target/OM-2007/applications/openmoko-dialer/src/openmoko-dialer-main.c
===================================================================
--- trunk/src/target/OM-2007/applications/openmoko-dialer/src/openmoko-dialer-main.c	2006-12-14 14:33:28 UTC (rev 409)
+++ trunk/src/target/OM-2007/applications/openmoko-dialer/src/openmoko-dialer-main.c	2006-12-14 14:55:19 UTC (rev 410)
@@ -1,6 +1,6 @@
 /*   openmoko-dialer.c
  *
- *  Authored By Tony Guan<tonyguan at fic-sh.com.cn>
+ *  Authored by Tony Guan<tonyguan at fic-sh.com.cn>
  *
  *  Copyright (C) 2006 FIC Shanghai Lab
  *

Modified: trunk/src/target/OM-2007/applications/openmoko-dialer/src/openmoko-dialer-main.h
===================================================================
--- trunk/src/target/OM-2007/applications/openmoko-dialer/src/openmoko-dialer-main.h	2006-12-14 14:33:28 UTC (rev 409)
+++ trunk/src/target/OM-2007/applications/openmoko-dialer/src/openmoko-dialer-main.h	2006-12-14 14:55:19 UTC (rev 410)
@@ -1,6 +1,6 @@
 /*  openmoko-dialer.h
  *
- *  Authored By Tony Guan<tonyguan at fic-sh.com.cn>
+ *  Authored by Tony Guan<tonyguan at fic-sh.com.cn>
  *
  *  Copyright (C) 2006 FIC Shanghai Lab
  *

Modified: trunk/src/target/OM-2007/applications/openmoko-mainmenu/src/callbacks.c
===================================================================
--- trunk/src/target/OM-2007/applications/openmoko-mainmenu/src/callbacks.c	2006-12-14 14:33:28 UTC (rev 409)
+++ trunk/src/target/OM-2007/applications/openmoko-mainmenu/src/callbacks.c	2006-12-14 14:55:19 UTC (rev 410)
@@ -1,7 +1,7 @@
 /*
  *  openmoko-mainmenu
  *
- *  Authored By Sun Zhiyong <sunzhiyong at fic-sh.com.cn>
+ *  Authored by Sun Zhiyong <sunzhiyong at fic-sh.com.cn>
  *
  *  Copyright (C) 2006 First International Computer Inc.
  *

Modified: trunk/src/target/OM-2007/applications/openmoko-mainmenu/src/callbacks.h
===================================================================
--- trunk/src/target/OM-2007/applications/openmoko-mainmenu/src/callbacks.h	2006-12-14 14:33:28 UTC (rev 409)
+++ trunk/src/target/OM-2007/applications/openmoko-mainmenu/src/callbacks.h	2006-12-14 14:55:19 UTC (rev 410)
@@ -1,7 +1,7 @@
 /*
  *  openmoko-mainmenu
  *
- *  Authored By Sun Zhiyong <sunzhiyong at fic-sh.com.cn>
+ *  Authored by Sun Zhiyong <sunzhiyong at fic-sh.com.cn>
  *
  *  Copyright (C) 2006 First International Computer Inc.
  *

Modified: trunk/src/target/OM-2007/applications/openmoko-mainmenu/src/main.c
===================================================================
--- trunk/src/target/OM-2007/applications/openmoko-mainmenu/src/main.c	2006-12-14 14:33:28 UTC (rev 409)
+++ trunk/src/target/OM-2007/applications/openmoko-mainmenu/src/main.c	2006-12-14 14:55:19 UTC (rev 410)
@@ -1,7 +1,7 @@
 /*
  *  openmoko-mainmenu
  *
- *  Authored By Sun Zhiyong <sunzhiyong at fic-sh.com.cn>
+ *  Authored by Sun Zhiyong <sunzhiyong at fic-sh.com.cn>
  *
  *  Copyright (C) 2006 First International Computer Inc.
  *

Modified: trunk/src/target/OM-2007/applications/openmoko-mainmenu/src/main.h
===================================================================
--- trunk/src/target/OM-2007/applications/openmoko-mainmenu/src/main.h	2006-12-14 14:33:28 UTC (rev 409)
+++ trunk/src/target/OM-2007/applications/openmoko-mainmenu/src/main.h	2006-12-14 14:55:19 UTC (rev 410)
@@ -1,7 +1,7 @@
 /*
  *  openmoko-mainmenu
  *
- *  Authored By Sun Zhiyong <sunzhiyong at fic-sh.com.cn>
+ *  Authored by Sun Zhiyong <sunzhiyong at fic-sh.com.cn>
  *
  *  Copyright (C) 2006 First International Computer Inc.
  *

Modified: trunk/src/target/OM-2007/applications/openmoko-mainmenu/src/mainmenu.c
===================================================================
--- trunk/src/target/OM-2007/applications/openmoko-mainmenu/src/mainmenu.c	2006-12-14 14:33:28 UTC (rev 409)
+++ trunk/src/target/OM-2007/applications/openmoko-mainmenu/src/mainmenu.c	2006-12-14 14:55:19 UTC (rev 410)
@@ -1,7 +1,7 @@
 /*
  *  openmoko-mainmenu
  *
- *  Authored By Sun Zhiyong <sunzhiyong at fic-sh.com.cn>
+ *  Authored by Sun Zhiyong <sunzhiyong at fic-sh.com.cn>
  *
  *  Copyright (C) 2006 First International Computer Inc.
  *

Modified: trunk/src/target/OM-2007/applications/openmoko-mainmenu/src/mainmenu.h
===================================================================
--- trunk/src/target/OM-2007/applications/openmoko-mainmenu/src/mainmenu.h	2006-12-14 14:33:28 UTC (rev 409)
+++ trunk/src/target/OM-2007/applications/openmoko-mainmenu/src/mainmenu.h	2006-12-14 14:55:19 UTC (rev 410)
@@ -1,7 +1,7 @@
 /*
  *  openmoko-mainmenu
  *
- *  Authored By Sun Zhiyong <sunzhiyong at fic-sh.com.cn>
+ *  Authored by Sun Zhiyong <sunzhiyong at fic-sh.com.cn>
  *
  *  Copyright (C) 2006 First International Computer Inc.
  *

Modified: trunk/src/target/OM-2007/applications/openmoko-mainmenu/src/menu-list.c
===================================================================
--- trunk/src/target/OM-2007/applications/openmoko-mainmenu/src/menu-list.c	2006-12-14 14:33:28 UTC (rev 409)
+++ trunk/src/target/OM-2007/applications/openmoko-mainmenu/src/menu-list.c	2006-12-14 14:55:19 UTC (rev 410)
@@ -1,7 +1,7 @@
 /*
  *  openmoko-mainmenu
  *
- *  Authored By Sun Zhiyong <sunzhiyong at fic-sh.com.cn>
+ *  Authored by Sun Zhiyong <sunzhiyong at fic-sh.com.cn>
  *
  *  Copyright (C) 2006 First International Computer Inc.
  *

Modified: trunk/src/target/OM-2007/applications/openmoko-mainmenu/src/menu-list.h
===================================================================
--- trunk/src/target/OM-2007/applications/openmoko-mainmenu/src/menu-list.h	2006-12-14 14:33:28 UTC (rev 409)
+++ trunk/src/target/OM-2007/applications/openmoko-mainmenu/src/menu-list.h	2006-12-14 14:55:19 UTC (rev 410)
@@ -1,7 +1,7 @@
 /*
  *  openmoko-mainmenu
  *
- *  Authored By Sun Zhiyong <sunzhiyong at fic-sh.com.cn>
+ *  Authored by Sun Zhiyong <sunzhiyong at fic-sh.com.cn>
  *
  *  Copyright (C) 2006 First International Computer Inc.
  *

Modified: trunk/src/target/OM-2007/applications/openmoko-mainmenu/src/support.c
===================================================================
--- trunk/src/target/OM-2007/applications/openmoko-mainmenu/src/support.c	2006-12-14 14:33:28 UTC (rev 409)
+++ trunk/src/target/OM-2007/applications/openmoko-mainmenu/src/support.c	2006-12-14 14:55:19 UTC (rev 410)
@@ -1,7 +1,7 @@
 /*
  *  openmoko-mainmenu
  *
- *  Authored By Sun Zhiyong <sunzhiyong at fic-sh.com.cn>
+ *  Authored by Sun Zhiyong <sunzhiyong at fic-sh.com.cn>
  *
  *  Copyright (C) 2006 First International Computer Inc.
  *

Modified: trunk/src/target/OM-2007/applications/openmoko-mainmenu/src/support.h
===================================================================
--- trunk/src/target/OM-2007/applications/openmoko-mainmenu/src/support.h	2006-12-14 14:33:28 UTC (rev 409)
+++ trunk/src/target/OM-2007/applications/openmoko-mainmenu/src/support.h	2006-12-14 14:55:19 UTC (rev 410)
@@ -1,7 +1,7 @@
 /*
  *  openmoko-mainmenu
  *
- *  Authored By Sun Zhiyong <sunzhiyong at fic-sh.com.cn>
+ *  Authored by Sun Zhiyong <sunzhiyong at fic-sh.com.cn>
  *
  *  Copyright (C) 2006 First International Computer Inc.
  *

Modified: trunk/src/target/OM-2007/examples/openmoko-finger-demo/src/demo-main.c
===================================================================
--- trunk/src/target/OM-2007/examples/openmoko-finger-demo/src/demo-main.c	2006-12-14 14:33:28 UTC (rev 409)
+++ trunk/src/target/OM-2007/examples/openmoko-finger-demo/src/demo-main.c	2006-12-14 14:55:19 UTC (rev 410)
@@ -1,7 +1,7 @@
 /*
  *  Finger-Demo -- OpenMoko Demo Application
  *
- *  Authored By Michael 'Mickey' Lauer <mlauer at vanille-media.de>
+ *  Authored by Michael 'Mickey' Lauer <mlauer at vanille-media.de>
  *
  *  Copyright (C) 2006 First International Computer Inc.
  *

Modified: trunk/src/target/OM-2007/examples/openmoko-finger-demo/src/demo-main.h
===================================================================
--- trunk/src/target/OM-2007/examples/openmoko-finger-demo/src/demo-main.h	2006-12-14 14:33:28 UTC (rev 409)
+++ trunk/src/target/OM-2007/examples/openmoko-finger-demo/src/demo-main.h	2006-12-14 14:55:19 UTC (rev 410)
@@ -1,7 +1,7 @@
 /*
  *  Finger-Demo -- OpenMoko Demo Application
  *
- *  Authored By Michael 'Mickey' Lauer <mlauer at vanille-media.de>
+ *  Authored by Michael 'Mickey' Lauer <mlauer at vanille-media.de>
  *
  *  Copyright (C) 2006 First International Computer Inc.
  *

Modified: trunk/src/target/OM-2007/examples/openmoko-stylus-demo/src/demo-main.c
===================================================================
--- trunk/src/target/OM-2007/examples/openmoko-stylus-demo/src/demo-main.c	2006-12-14 14:33:28 UTC (rev 409)
+++ trunk/src/target/OM-2007/examples/openmoko-stylus-demo/src/demo-main.c	2006-12-14 14:55:19 UTC (rev 410)
@@ -1,7 +1,7 @@
 /*
  *  Stylus Demo -- OpenMoko Demo Application
  *
- *  Authored By Michael 'Mickey' Lauer <mlauer at vanille-media.de>
+ *  Authored by Michael 'Mickey' Lauer <mlauer at vanille-media.de>
  *
  *  Copyright (C) 2006 First International Computer Inc.
  *

Modified: trunk/src/target/OM-2007/examples/openmoko-stylus-demo/src/demo-main.h
===================================================================
--- trunk/src/target/OM-2007/examples/openmoko-stylus-demo/src/demo-main.h	2006-12-14 14:33:28 UTC (rev 409)
+++ trunk/src/target/OM-2007/examples/openmoko-stylus-demo/src/demo-main.h	2006-12-14 14:55:19 UTC (rev 410)
@@ -1,7 +1,7 @@
 /*
  *  Paned-Demo -- OpenMoko Demo Application
  *
- *  Authored By Michael 'Mickey' Lauer <mlauer at vanille-media.de>
+ *  Authored by Michael 'Mickey' Lauer <mlauer at vanille-media.de>
  *
  *  Copyright (C) 2006 First International Computer Inc.
  *

Modified: trunk/src/target/OM-2007/examples/openmoko-stylus-demo-simple/src/demo-main.c
===================================================================
--- trunk/src/target/OM-2007/examples/openmoko-stylus-demo-simple/src/demo-main.c	2006-12-14 14:33:28 UTC (rev 409)
+++ trunk/src/target/OM-2007/examples/openmoko-stylus-demo-simple/src/demo-main.c	2006-12-14 14:55:19 UTC (rev 410)
@@ -1,7 +1,7 @@
 /*
  *  Paned-Demo -- OpenMoko Demo Application
  *
- *  Authored By Michael 'Mickey' Lauer <mlauer at vanille-media.de>
+ *  Authored by Michael 'Mickey' Lauer <mlauer at vanille-media.de>
  *
  *  Copyright (C) 2006 First International Computer Inc.
  *

Modified: trunk/src/target/OM-2007/examples/openmoko-stylus-demo-simple/src/demo-main.h
===================================================================
--- trunk/src/target/OM-2007/examples/openmoko-stylus-demo-simple/src/demo-main.h	2006-12-14 14:33:28 UTC (rev 409)
+++ trunk/src/target/OM-2007/examples/openmoko-stylus-demo-simple/src/demo-main.h	2006-12-14 14:55:19 UTC (rev 410)
@@ -1,7 +1,7 @@
 /*
  *  Paned-Demo -- OpenMoko Demo Application
  *
- *  Authored By Michael 'Mickey' Lauer <mlauer at vanille-media.de>
+ *  Authored by Michael 'Mickey' Lauer <mlauer at vanille-media.de>
  *
  *  Copyright (C) 2006 First International Computer Inc.
  *

Modified: trunk/src/target/OM-2007/openmoko-libs/libmokoui/moko-alignment.c
===================================================================
--- trunk/src/target/OM-2007/openmoko-libs/libmokoui/moko-alignment.c	2006-12-14 14:33:28 UTC (rev 409)
+++ trunk/src/target/OM-2007/openmoko-libs/libmokoui/moko-alignment.c	2006-12-14 14:55:19 UTC (rev 410)
@@ -1,9 +1,9 @@
 /*  moko-alignment.c
  *
- *  Authored By Michael 'Mickey' Lauer <mlauer at vanille-media.de>
+ *  Authored by Michael 'Mickey' Lauer <mlauer at vanille-media.de>
  *  Based on GtkAlignment which is (C) 1997-2000 GTK+ Team
  *
- *  Copyright (C) 2006 Vanille-Media
+ *  Copyright (C) 2006 First International Computer Inc.
  *
  *  This program is free software; you can redistribute it and/or modify
  *  it under the terms of the GNU Lesser Public License as published by
@@ -22,6 +22,7 @@
 #undef DEBUG_THIS_FILE
 #ifdef DEBUG_THIS_FILE
 #define moko_debug(fmt,...) g_debug(fmt,##__VA_ARGS__)
+#define moko_debug_minder(predicate) moko_debug( __FUNCTION__ ); g_return_if_fail(predicate)
 #else
 #define moko_debug(fmt,...)
 #endif

Modified: trunk/src/target/OM-2007/openmoko-libs/libmokoui/moko-alignment.h
===================================================================
--- trunk/src/target/OM-2007/openmoko-libs/libmokoui/moko-alignment.h	2006-12-14 14:33:28 UTC (rev 409)
+++ trunk/src/target/OM-2007/openmoko-libs/libmokoui/moko-alignment.h	2006-12-14 14:55:19 UTC (rev 410)
@@ -1,8 +1,8 @@
 /*  moko-alignment.h
  *
- *  Authored By Michael 'Mickey' Lauer <mlauer at vanille-media.de>
+ *  Authored by Michael 'Mickey' Lauer <mlauer at vanille-media.de>
  *
- *  Copyright (C) 2006 Vanille-Media
+ *  Copyright (C) 2006 First International Computer Inc.
  *
  *  This program is free software; you can redistribute it and/or modify
  *  it under the terms of the GNU Lesser Public License as published by

Modified: trunk/src/target/OM-2007/openmoko-libs/libmokoui/moko-application.c
===================================================================
--- trunk/src/target/OM-2007/openmoko-libs/libmokoui/moko-application.c	2006-12-14 14:33:28 UTC (rev 409)
+++ trunk/src/target/OM-2007/openmoko-libs/libmokoui/moko-application.c	2006-12-14 14:55:19 UTC (rev 410)
@@ -1,8 +1,8 @@
 /*
  *  libmokoui -- OpenMoko Application Framework UI Library
  *
- *  Authored By Michael 'Mickey' Lauer <mlauer at vanille-media.de>
- *  Based on hildon-program.c (C) 2006 Nokia Corporation.
+ *  Authored by Michael 'Mickey' Lauer <mlauer at vanille-media.de>
+ *  Inspired by hildon-program.c (C) 2006 Nokia Corporation.
  *
  *  Copyright (C) 2006 First International Computer Inc.
  *
@@ -32,6 +32,7 @@
 #define DEBUG_THIS_FILE
 #ifdef DEBUG_THIS_FILE
 #define moko_debug(fmt,...) g_debug(fmt,##__VA_ARGS__)
+#define moko_debug_minder(predicate) moko_debug( __FUNCTION__ ); g_return_if_fail(predicate)
 #else
 #define moko_debug(fmt,...)
 #endif
@@ -42,17 +43,16 @@
 
 typedef struct _MokoApplicationPrivate
 {
-    gboolean killable;
-    gboolean is_topmost;
-    guint window_count;
-    GtkWidget *common_application_menu;
-    GtkWidget *common_filter_menu;
-    GtkWidget *common_toolbar;
-    GSList *windows; // all windows belonging to this application
-    Window window_group;
-    gchar *name;
+    /* Window Manager Collaboration */
+    Atom mb_current_app_window_atom; // _MB_CURRENT_APP_WINDOW
+    Atom net_current_window_atom; // _NET_CURRENT_WINDOW
+    gboolean seen_matchbox_atom; // TRUE, if we received _MB_CURRENT_APP_WINDOW at least once
+    Window window_group; // X11 Window Group (one group per application)
+    gboolean is_topmost; // whether one of the application windows is topmost
+    GSList* windows; // contains all windows belonging to this application
+    gchar* name;
 
-    // our stuff
+    /* Common Utilities */
     MokoWindow* main_window;
     GtkIconFactory* icon_factory;
 
@@ -65,60 +65,14 @@
     PROP_KILLABLE,
 };
 
+/* forwards */
 static void moko_application_class_init(MokoApplicationClass *self);
 static void moko_application_init(MokoApplication *self);
+static void moko_application_finalize (GObject *self);
 static void moko_application_set_property(GObject * object, guint property_id, const GValue * value, GParamSpec * pspec);
 static void moko_application_get_property(GObject * object, guint property_id, GValue * value, GParamSpec * pspec);
 
-static void moko_application_init(MokoApplication *self)
-{
-    moko_debug( "moko_application_init" );
-    MokoApplicationPrivate *priv = MOKO_APPLICATION_GET_PRIVATE (self);
-
-    /* create our own icon factory and add some defaults to it */
-    priv->icon_factory = gtk_icon_factory_new();
-    gtk_icon_factory_add_default( priv->icon_factory );
-
-#if 0
-    moko_application_add_stock_icons( self,
-                                      "openmoko-default-application",
-                                      NULL );
-#endif
-    priv->killable = FALSE;
-    priv->window_count = 0;
-    priv->is_topmost = FALSE;
-    priv->window_group = GDK_WINDOW_XID(gdk_display_get_default_group(gdk_display_get_default()));
-    priv->common_application_menu = NULL;
-    priv->common_filter_menu = NULL;
-    priv->common_toolbar = NULL;
-    priv->name = NULL;
-}
-
-static void moko_application_finalize (GObject *self)
-{
-    MokoApplicationPrivate *priv = MOKO_APPLICATION_GET_PRIVATE (MOKO_APPLICATION(self));
-
-    if (priv->common_toolbar)
-    {
-        g_object_unref (priv->common_toolbar);
-        priv->common_toolbar = NULL;
-    }
-
-    if (priv->common_application_menu)
-    {
-        g_object_unref (priv->common_application_menu);
-        priv->common_application_menu = NULL;
-    }
-
-    if (priv->common_filter_menu)
-    {
-        g_object_unref (priv->common_filter_menu);
-        priv->common_filter_menu = NULL;
-    }
-
-    g_free (priv->name);
-}
-
+/* private API */
 static void moko_application_class_init (MokoApplicationClass *self)
 {
     GObjectClass *object_class = G_OBJECT_CLASS(self);
@@ -149,6 +103,36 @@
     return;
 }
 
+static void moko_application_init(MokoApplication *self)
+{
+    moko_debug_minder( self && MOKO_IS_APPLICATION(self) );
+    MokoApplicationPrivate *priv = MOKO_APPLICATION_GET_PRIVATE (self);
+
+    /* create our own icon factory and add some defaults to it */
+    priv->icon_factory = gtk_icon_factory_new();
+    gtk_icon_factory_add_default( priv->icon_factory );
+
+#if 0
+    moko_application_add_stock_icons( self,
+                                      "openmoko-default-application",
+                                      NULL );
+#endif
+    priv->windows = NULL;
+    priv->is_topmost = FALSE;
+    priv->window_group = GDK_WINDOW_XID(gdk_display_get_default_group(gdk_display_get_default()));
+    priv->name = NULL;
+
+    priv->mb_current_app_window_atom = XInternAtom( GDK_DISPLAY(), "_MB_CURRENT_APP_WINDOW", False );
+    priv->net_current_window_atom = XInternAtom( GDK_DISPLAY(), "_NET_ACTIVE_WINDOW", False );
+    priv->seen_matchbox_atom = FALSE;
+}
+
+static void moko_application_finalize (GObject *self)
+{
+    MokoApplicationPrivate *priv = MOKO_APPLICATION_GET_PRIVATE (MOKO_APPLICATION(self));
+    g_free( priv->name );
+}
+
 static void moko_application_set_property (GObject * object, guint property_id, const GValue * value, GParamSpec * pspec)
 {
     switch (property_id){
@@ -171,9 +155,6 @@
 
     switch (property_id)
     {
-        case PROP_KILLABLE:
-            g_value_set_boolean (value, priv->killable);
-            break;
         case PROP_IS_TOPMOST:
             g_value_set_boolean (value, priv->is_topmost);
             break;
@@ -260,34 +241,42 @@
     moko_debug( "moko_application_root_window_event_filter" );
 
     XAnyEvent *eventti = xevent;
-    MokoApplication *program = MOKO_APPLICATION(data);
-    Atom active_app_atom = XInternAtom( GDK_DISPLAY(), "_MB_CURRENT_APP_WINDOW", False );
+    MokoApplication* program = MOKO_APPLICATION(data);
+    MokoApplicationPrivate* priv = MOKO_APPLICATION_GET_PRIVATE(program);
 
     if (eventti->type == PropertyNotify)
     {
         XPropertyEvent* pevent = xevent;
         moko_debug( "-- got PropertyNotify for Atom '%s'", XGetAtomName( GDK_DISPLAY(), pevent->atom ) );
 
-        if (pevent->atom == active_app_atom)
+        if ( (pevent->atom == priv->net_current_window_atom) && (!priv->seen_matchbox_atom) )
         {
-            moko_debug( "-- ActiveAppAtom" );
+            moko_debug( "-- got _NET_CURRENT_WINDOW atom" );
             moko_application_update_top_most( program );
+            return GDK_FILTER_CONTINUE;
         }
+        if (pevent->atom == priv->mb_current_app_window_atom)
+        {
+            moko_debug( "-- got _MB_CURRENT_APP_WINDOW atom" );
+            priv->seen_matchbox_atom = TRUE;
+            moko_application_update_top_most( program );
+            return GDK_FILTER_CONTINUE;
+        }
     }
     return GDK_FILTER_CONTINUE;
 }
 
-/* Public API */
+/* public API */
 
 /**
  * moko_application_get_instance:
  *
  * @return the #MokoApplication for the current process.
- * The object is created on the first call.
+ * @note The object is created on the first call.
  **/
 MokoApplication* moko_application_get_instance (void)
 {
-    static MokoApplication *program = NULL;
+    static MokoApplication* program = NULL;
 
     if (!program)
     {
@@ -297,13 +286,19 @@
     return program;
 }
 
+/**
+ * moko_application_add_window:
+ *
+ * add #MokoWindow to the list of windows for this application
+ * @note usually there's no need to call this explicitly, since it's called automatically in the constructor of #MokoWindow
+ * @note the first #MokoWindow constructed in an application is treated as the main window
+ **/
 void
 moko_application_add_window(MokoApplication* self, MokoWindow* window)
 {
+    moko_debug_minder( self && MOKO_IS_APPLICATION(self) );
     MokoApplicationPrivate *priv = MOKO_APPLICATION_GET_PRIVATE(self);
 
-    g_return_if_fail (self && MOKO_IS_APPLICATION (self));
-
     if ( g_slist_find_custom(priv->windows, window, moko_application_window_list_compare) )
     {
         /* We already have that window */
@@ -311,26 +306,35 @@
         return;
     }
 
-    if (!priv->window_count)
+    if (!priv->windows)
     {
         moko_debug( "need to update top most window now..." );
         /* program_update_top_most (self); */
 
-        /* Now that we have a window we should start keeping track of
-         * the root window */
+        /* Now that we have a window we should start keeping track of the root window */
         gdk_window_set_events( gdk_get_default_root_window(), gdk_window_get_events(gdk_get_default_root_window ()) | GDK_PROPERTY_CHANGE_MASK);
         gdk_window_add_filter( gdk_get_default_root_window(), moko_application_root_window_event_filter, self );
     }
 
-    /*window_set_can_hibernate_property (window, &priv->killable);*/
-    /*_window_set_program (window, G_OBJECT (self));*/
-
-    priv->windows = g_slist_append (priv->windows, window);
-    priv->window_count ++;
+    priv->windows = g_slist_append( priv->windows, window );
 }
 
+/**
+ * moko_application_remove_window:
+ *
+ * remove #MokoWindow from the list of windows for this application
+ * @note usually there's no need to call this explicitly, since it's called automatically in the destructor of #MokoWindow
+ **/
+void
+moko_application_remove_window(MokoApplication* self, MokoWindow* window)
+{
+    moko_debug_minder( self && MOKO_IS_APPLICATION(self) );
+    MokoApplicationPrivate *priv = MOKO_APPLICATION_GET_PRIVATE(self);
 
-/** moko_application_get_main_window
+    priv->windows = g_slist_remove( priv->windows, window );
+}
+/**
+ * moko_application_get_main_window:
  *
  * @return the main #MokoWindow for the current #MokoApplication.
  **/
@@ -339,7 +343,8 @@
     MokoApplicationPrivate* priv = MOKO_APPLICATION_GET_PRIVATE(self);
     return priv->main_window;
 }
-/** moko_application_set_main_window
+/**
+ * moko_application_set_main_window:
  *
  * set the main #MokoWindow for this application
  * @note usually there is no need to call this explicitly since
@@ -352,7 +357,8 @@
     //FIXME g_object_ref the window?
 }
 /**
- * moko_application_get_is_topmost
+ * moko_application_get_is_topmost:
+ *
  * @returns whether one of the program's windows or dialogs is currently
  * activated by the window manager.
  **/
@@ -364,9 +370,10 @@
     return priv->is_topmost;
 }
 
-/** moko_application_get_style_pixmap_dir
+/**
+ * moko_application_get_style_pixmap_dir:
  *
- * @return the style pixmap directory
+ * @returns the style pixmap directory
  * @note this is not necessarily $GTK_DATA_DIR/themes/$THEME_NAME/gtk-2.0/
  **/
 gchar* moko_application_get_style_pixmap_dir()
@@ -375,9 +382,15 @@
     return g_path_get_dirname( style->rc_style->bg_pixmap_name[GTK_STATE_NORMAL] );
 }
 
+/**
+ * moko_application_add_stock_icons:
+ *
+ * register a number of stock icons given by name
+ * @note name of stock icon must match filename in pixmap directory
+ **/
 void moko_application_add_stock_icons(MokoApplication* self, ...)
 {
-    moko_debug( "moko_application_add_stock_icon" );
+    moko_debug_minder( self && MOKO_IS_APPLICATION(self) );
     MokoApplicationPrivate* priv = MOKO_APPLICATION_GET_PRIVATE(self);
 
     va_list valist;
@@ -399,6 +412,11 @@
     va_end(valist);
 }
 
+/**
+ * moko_application_execute_dialog:
+ *
+ * create a modal dialog window with @a title and @a contents
+ **/
 MokoDialogWindow* moko_application_execute_dialog(MokoApplication* self, const gchar* title, GtkWidget* contents)
 {
     MokoDialogWindow* dialog = moko_dialog_window_new();

Modified: trunk/src/target/OM-2007/openmoko-libs/libmokoui/moko-application.h
===================================================================
--- trunk/src/target/OM-2007/openmoko-libs/libmokoui/moko-application.h	2006-12-14 14:33:28 UTC (rev 409)
+++ trunk/src/target/OM-2007/openmoko-libs/libmokoui/moko-application.h	2006-12-14 14:55:19 UTC (rev 410)
@@ -1,7 +1,7 @@
 /*
  *  libmokoui -- OpenMoko Application Framework UI Library
  *
- *  Authored By Michael 'Mickey' Lauer <mlauer at vanille-media.de>
+ *  Authored by Michael 'Mickey' Lauer <mlauer at vanille-media.de>
  *
  *  Copyright (C) 2006 First International Computer Inc.
  *

Modified: trunk/src/target/OM-2007/openmoko-libs/libmokoui/moko-details-window.c
===================================================================
--- trunk/src/target/OM-2007/openmoko-libs/libmokoui/moko-details-window.c	2006-12-14 14:33:28 UTC (rev 409)
+++ trunk/src/target/OM-2007/openmoko-libs/libmokoui/moko-details-window.c	2006-12-14 14:55:19 UTC (rev 410)
@@ -1,8 +1,8 @@
 /*  moko-details-window.c
  *
- *  Authored By Michael 'Mickey' Lauer <mlauer at vanille-media.de>
+ *  Authored by Michael 'Mickey' Lauer <mlauer at vanille-media.de>
  *
- *  Copyright (C) 2006 Vanille-Media
+ *  Copyright (C) 2006 First International Computer Inc.
  *
  *  This program is free software; you can redistribute it and/or modify
  *  it under the terms of the GNU Lesser Public License as published by
@@ -29,6 +29,7 @@
 #undef DEBUG_THIS_FILE
 #ifdef DEBUG_THIS_FILE
 #define moko_debug(fmt,...) g_debug(fmt,##__VA_ARGS__)
+#define moko_debug_minder(predicate) moko_debug( __FUNCTION__ ); g_return_if_fail(predicate)
 #else
 #define moko_debug(fmt,...)
 #endif

Modified: trunk/src/target/OM-2007/openmoko-libs/libmokoui/moko-details-window.h
===================================================================
--- trunk/src/target/OM-2007/openmoko-libs/libmokoui/moko-details-window.h	2006-12-14 14:33:28 UTC (rev 409)
+++ trunk/src/target/OM-2007/openmoko-libs/libmokoui/moko-details-window.h	2006-12-14 14:55:19 UTC (rev 410)
@@ -1,8 +1,8 @@
 /*  moko-details-window.h
  *
- *  Authored By Michael 'Mickey' Lauer <mlauer at vanille-media.de>
+ *  Authored by Michael 'Mickey' Lauer <mlauer at vanille-media.de>
  *
- *  Copyright (C) 2006 Vanille-Media
+ *  Copyright (C) 2006 First International Computer Inc.
  *
  *  This program is free software; you can redistribute it and/or modify
  *  it under the terms of the GNU Lesser Public License as published by

Modified: trunk/src/target/OM-2007/openmoko-libs/libmokoui/moko-dialog-window.c
===================================================================
--- trunk/src/target/OM-2007/openmoko-libs/libmokoui/moko-dialog-window.c	2006-12-14 14:33:28 UTC (rev 409)
+++ trunk/src/target/OM-2007/openmoko-libs/libmokoui/moko-dialog-window.c	2006-12-14 14:55:19 UTC (rev 410)
@@ -1,8 +1,8 @@
 /*  moko-dialog-window.c
  *
- *  Authored By Michael 'Mickey' Lauer <mlauer at vanille-media.de>
+ *  Authored by Michael 'Mickey' Lauer <mlauer at vanille-media.de>
  *
- *  Copyright (C) 2006 Vanille-Media
+ *  Copyright (C) 2006 First International Computer Inc.
  *
  *  This program is free software; you can redistribute it and/or modify
  *  it under the terms of the GNU Lesser Public License as published by
@@ -28,6 +28,7 @@
 #define DEBUG_THIS_FILE
 #ifdef DEBUG_THIS_FILE
 #define moko_debug(fmt,...) g_debug(fmt,##__VA_ARGS__)
+#define moko_debug_minder(predicate) moko_debug( __FUNCTION__ ); g_return_if_fail(predicate)
 #else
 #define moko_debug(fmt,...)
 #endif

Modified: trunk/src/target/OM-2007/openmoko-libs/libmokoui/moko-dialog-window.h
===================================================================
--- trunk/src/target/OM-2007/openmoko-libs/libmokoui/moko-dialog-window.h	2006-12-14 14:33:28 UTC (rev 409)
+++ trunk/src/target/OM-2007/openmoko-libs/libmokoui/moko-dialog-window.h	2006-12-14 14:55:19 UTC (rev 410)
@@ -1,8 +1,8 @@
 /*  moko-dialog-window.h
  *
- *  Authored By Michael 'Mickey' Lauer <mlauer at vanille-media.de>
+ *  Authored by Michael 'Mickey' Lauer <mlauer at vanille-media.de>
  *
- *  Copyright (C) 2006 Vanille-Media
+ *  Copyright (C) 2006 First International Computer Inc.
  *
  *  This program is free software; you can redistribute it and/or modify
  *  it under the terms of the GNU Lesser Public License as published by

Modified: trunk/src/target/OM-2007/openmoko-libs/libmokoui/moko-finger-tool-box.c
===================================================================
--- trunk/src/target/OM-2007/openmoko-libs/libmokoui/moko-finger-tool-box.c	2006-12-14 14:33:28 UTC (rev 409)
+++ trunk/src/target/OM-2007/openmoko-libs/libmokoui/moko-finger-tool-box.c	2006-12-14 14:55:19 UTC (rev 410)
@@ -1,8 +1,8 @@
 /*  moko-finger-tool-box.c
  *
- *  Authored By Michael 'Mickey' Lauer <mlauer at vanille-media.de>
+ *  Authored by Michael 'Mickey' Lauer <mlauer at vanille-media.de>
  *
- *  Copyright (C) 2006 Vanille-Media
+ *  Copyright (C) 2006 First International Computer Inc.
  *
  *  This program is free software; you can redistribute it and/or modify
  *  it under the terms of the GNU Lesser Public License as published by
@@ -26,6 +26,7 @@
 #define DEBUG_THIS_FILE
 #ifdef DEBUG_THIS_FILE
 #define moko_debug(fmt,...) g_debug(fmt,##__VA_ARGS__)
+#define moko_debug_minder(predicate) moko_debug( __FUNCTION__ ); g_return_if_fail(predicate)
 #else
 #define moko_debug(fmt,...)
 #endif
@@ -224,7 +225,9 @@
     MokoFingerToolBoxPrivate* priv = MOKO_FINGER_TOOL_BOX_GET_PRIVATE(widget);
     if ( !priv->popup )
     {
-        priv->popup = gtk_window_new(GTK_WINDOW_TOPLEVEL); //GTK_WINDOW_POPUP
+        priv->popup = gtk_window_new(GTK_WINDOW_TOPLEVEL);
+        gtk_window_set_type_hint( priv->popup, GDK_WINDOW_TYPE_HINT_DIALOG );
+        gtk_window_set_decorated( priv->popup, FALSE );
         gtk_container_add( GTK_CONTAINER(priv->popup), widget );
     }
 

Modified: trunk/src/target/OM-2007/openmoko-libs/libmokoui/moko-finger-tool-box.h
===================================================================
--- trunk/src/target/OM-2007/openmoko-libs/libmokoui/moko-finger-tool-box.h	2006-12-14 14:33:28 UTC (rev 409)
+++ trunk/src/target/OM-2007/openmoko-libs/libmokoui/moko-finger-tool-box.h	2006-12-14 14:55:19 UTC (rev 410)
@@ -1,8 +1,8 @@
 /*  moko-finger-tool-box.h
  *
- *  Authored By Michael 'Mickey' Lauer <mlauer at vanille-media.de>
+ *  Authored by Michael 'Mickey' Lauer <mlauer at vanille-media.de>
  *
- *  Copyright (C) 2006 Vanille-Media
+ *  Copyright (C) 2006 First International Computer Inc.
  *
  *  This program is free software; you can redistribute it and/or modify
  *  it under the terms of the GNU Lesser Public License as published by

Modified: trunk/src/target/OM-2007/openmoko-libs/libmokoui/moko-finger-wheel.c
===================================================================
--- trunk/src/target/OM-2007/openmoko-libs/libmokoui/moko-finger-wheel.c	2006-12-14 14:33:28 UTC (rev 409)
+++ trunk/src/target/OM-2007/openmoko-libs/libmokoui/moko-finger-wheel.c	2006-12-14 14:55:19 UTC (rev 410)
@@ -1,8 +1,8 @@
 /*  moko-finger-wheel.c
  *
- *  Authored By Michael 'Mickey' Lauer <mlauer at vanille-media.de>
+ *  Authored by Michael 'Mickey' Lauer <mlauer at vanille-media.de>
  *
- *  Copyright (C) 2006 Vanille-Media
+ *  Copyright (C) 2006 First International Computer Inc.
  *
  *  This program is free software; you can redistribute it and/or modify
  *  it under the terms of the GNU Lesser Public License as published by
@@ -28,6 +28,7 @@
 #define DEBUG_THIS_FILE
 #ifdef DEBUG_THIS_FILE
 #define moko_debug(fmt,...) g_debug(fmt,##__VA_ARGS__)
+#define moko_debug_minder(predicate) moko_debug( __FUNCTION__ ); g_return_if_fail(predicate)
 #else
 #define moko_debug(fmt,...)
 #endif
@@ -209,14 +210,13 @@
     MokoFingerWheelPrivate* priv = MOKO_FINGER_WHEEL_GET_PRIVATE(widget);
     if ( !priv->popup )
     {
-        priv->popup = gtk_window_new(GTK_WINDOW_TOPLEVEL); // GTK_WINDOW_POPUP
-        //gtk_window_set_decorated( priv->popup, FALSE );
-        //FIXME Setting it to transparent is probably not necessary since we issue a mask anyway, right?
-        //gtk_widget_set_name( GTK_WIDGET(priv->popup), "transparent" );
+        priv->popup = gtk_window_new(GTK_WINDOW_TOPLEVEL);
+        gtk_window_set_type_hint( priv->popup, GDK_WINDOW_TYPE_HINT_DIALOG );
+        gtk_window_set_decorated( priv->popup, FALSE );
         gtk_container_add( GTK_CONTAINER(priv->popup), widget );
         MokoWindow* window = moko_application_get_main_window( moko_application_get_instance() );
         //FIXME check if it's a finger window
-        //FIXME set it not only transient for the main window, but also for other window belonging to this application
+        //FIXME set it not only transient for the main window, but also for other windows belonging to this application
         gtk_window_set_transient_for(priv->popup, window );
 
         GtkAllocation geometry;
@@ -300,6 +300,7 @@
     MokoFingerWheelPrivate* priv = MOKO_FINGER_WHEEL_GET_PRIVATE(self);
     g_return_if_fail(priv->popup);
     gtk_window_set_transient_for( priv->popup, window );
+    gdk_window_raise( GTK_WIDGET(priv->popup)->window );
 }
 
 /**

Modified: trunk/src/target/OM-2007/openmoko-libs/libmokoui/moko-finger-wheel.h
===================================================================
--- trunk/src/target/OM-2007/openmoko-libs/libmokoui/moko-finger-wheel.h	2006-12-14 14:33:28 UTC (rev 409)
+++ trunk/src/target/OM-2007/openmoko-libs/libmokoui/moko-finger-wheel.h	2006-12-14 14:55:19 UTC (rev 410)
@@ -1,8 +1,8 @@
 /*  moko-finger-wheel.h
  *
- *  Authored By Michael 'Mickey' Lauer <mlauer at vanille-media.de>
+ *  Authored by Michael 'Mickey' Lauer <mlauer at vanille-media.de>
  *
- *  Copyright (C) 2006 Vanille-Media
+ *  Copyright (C) 2006 First International Computer Inc.
  *
  *  This program is free software; you can redistribute it and/or modify
  *  it under the terms of the GNU Lesser Public License as published by

Modified: trunk/src/target/OM-2007/openmoko-libs/libmokoui/moko-finger-window.c
===================================================================
--- trunk/src/target/OM-2007/openmoko-libs/libmokoui/moko-finger-window.c	2006-12-14 14:33:28 UTC (rev 409)
+++ trunk/src/target/OM-2007/openmoko-libs/libmokoui/moko-finger-window.c	2006-12-14 14:55:19 UTC (rev 410)
@@ -1,8 +1,8 @@
 /*  moko-finger-window.c
  *
- *  Authored By Michael 'Mickey' Lauer <mlauer at vanille-media.de>
+ *  Authored by Michael 'Mickey' Lauer <mlauer at vanille-media.de>
  *
- *  Copyright (C) 2006 Vanille-Media
+ *  Copyright (C) 2006 First International Computer Inc.
  *
  *  This program is free software; you can redistribute it and/or modify
  *  it under the terms of the GNU Lesser Public License as published by
@@ -28,6 +28,7 @@
 #define DEBUG_THIS_FILE
 #ifdef DEBUG_THIS_FILE
 #define moko_debug(fmt,...) g_debug(fmt,##__VA_ARGS__)
+#define moko_debug_minder(predicate) moko_debug( __FUNCTION__ ); g_return_if_fail(predicate)
 #else
 #define moko_debug(fmt,...)
 #endif

Modified: trunk/src/target/OM-2007/openmoko-libs/libmokoui/moko-finger-window.h
===================================================================
--- trunk/src/target/OM-2007/openmoko-libs/libmokoui/moko-finger-window.h	2006-12-14 14:33:28 UTC (rev 409)
+++ trunk/src/target/OM-2007/openmoko-libs/libmokoui/moko-finger-window.h	2006-12-14 14:55:19 UTC (rev 410)
@@ -1,8 +1,8 @@
 /*  moko-finger-window.h
  *
- *  Authored By Michael 'Mickey' Lauer <mlauer at vanille-media.de>
+ *  Authored by Michael 'Mickey' Lauer <mlauer at vanille-media.de>
  *
- *  Copyright (C) 2006 Vanille-Media
+ *  Copyright (C) 2006 First International Computer Inc.
  *
  *  This program is free software; you can redistribute it and/or modify
  *  it under the terms of the GNU Lesser Public License as published by

Modified: trunk/src/target/OM-2007/openmoko-libs/libmokoui/moko-fixed.c
===================================================================
--- trunk/src/target/OM-2007/openmoko-libs/libmokoui/moko-fixed.c	2006-12-14 14:33:28 UTC (rev 409)
+++ trunk/src/target/OM-2007/openmoko-libs/libmokoui/moko-fixed.c	2006-12-14 14:55:19 UTC (rev 410)
@@ -1,9 +1,9 @@
 
 /*  moko_fixed.c
  *
- *  Authored By Michael 'Mickey' Lauer <mlauer at vanille-media.de>
+ *  Authored by Michael 'Mickey' Lauer <mlauer at vanille-media.de>
  *
- *  Copyright (C) 2006 Vanille-Media
+ *  Copyright (C) 2006 First International Computer Inc.
  *
  *  This program is free software; you can redistribute it and/or modify
  *  it under the terms of the GNU Lesser Public License as published by
@@ -22,6 +22,7 @@
 #undef DEBUG_THIS_FILE
 #ifdef DEBUG_THIS_FILE
 #define moko_debug(fmt,...) g_debug(fmt,##__VA_ARGS__)
+#define moko_debug_minder(predicate) moko_debug( __FUNCTION__ ); g_return_if_fail(predicate)
 #else
 #define moko_debug(fmt,...)
 #endif

Modified: trunk/src/target/OM-2007/openmoko-libs/libmokoui/moko-fixed.h
===================================================================
--- trunk/src/target/OM-2007/openmoko-libs/libmokoui/moko-fixed.h	2006-12-14 14:33:28 UTC (rev 409)
+++ trunk/src/target/OM-2007/openmoko-libs/libmokoui/moko-fixed.h	2006-12-14 14:55:19 UTC (rev 410)
@@ -1,9 +1,9 @@
 
 /*  moko_fixed.h
  *
- *  Authored By Michael 'Mickey' Lauer <mlauer at vanille-media.de>
+ *  Authored by Michael 'Mickey' Lauer <mlauer at vanille-media.de>
  *
- *  Copyright (C) 2006 Vanille-Media
+ *  Copyright (C) 2006 First International Computer Inc.
  *
  *  This program is free software; you can redistribute it and/or modify
  *  it under the terms of the GNU Lesser Public License as published by

Modified: trunk/src/target/OM-2007/openmoko-libs/libmokoui/moko-menu-box.c
===================================================================
--- trunk/src/target/OM-2007/openmoko-libs/libmokoui/moko-menu-box.c	2006-12-14 14:33:28 UTC (rev 409)
+++ trunk/src/target/OM-2007/openmoko-libs/libmokoui/moko-menu-box.c	2006-12-14 14:55:19 UTC (rev 410)
@@ -1,7 +1,7 @@
 /*
  *  libmokoui -- OpenMoko Application Framework UI Library
  *
- *  Authored By Michael 'Mickey' Lauer <mlauer at vanille-media.de>
+ *  Authored by Michael 'Mickey' Lauer <mlauer at vanille-media.de>
  *
  *  Copyright (C) 2006 First International Computer Inc.
  *
@@ -27,6 +27,7 @@
 #undef DEBUG_THIS_FILE
 #ifdef DEBUG_THIS_FILE
 #define moko_debug(fmt,...) g_debug(fmt,##__VA_ARGS__)
+#define moko_debug_minder(predicate) moko_debug( __FUNCTION__ ); g_return_if_fail(predicate)
 #else
 #define moko_debug(fmt,...)
 #endif

Modified: trunk/src/target/OM-2007/openmoko-libs/libmokoui/moko-menu-box.h
===================================================================
--- trunk/src/target/OM-2007/openmoko-libs/libmokoui/moko-menu-box.h	2006-12-14 14:33:28 UTC (rev 409)
+++ trunk/src/target/OM-2007/openmoko-libs/libmokoui/moko-menu-box.h	2006-12-14 14:55:19 UTC (rev 410)
@@ -1,7 +1,7 @@
 /*
  *  libmokoui -- OpenMoko Application Framework UI Library
  *
- *  Authored By Michael 'Mickey' Lauer <mlauer at vanille-media.de>
+ *  Authored by Michael 'Mickey' Lauer <mlauer at vanille-media.de>
  *
  *  Copyright (C) 2006 First International Computer Inc.
  *

Modified: trunk/src/target/OM-2007/openmoko-libs/libmokoui/moko-navigation-list.c
===================================================================
--- trunk/src/target/OM-2007/openmoko-libs/libmokoui/moko-navigation-list.c	2006-12-14 14:33:28 UTC (rev 409)
+++ trunk/src/target/OM-2007/openmoko-libs/libmokoui/moko-navigation-list.c	2006-12-14 14:55:19 UTC (rev 410)
@@ -1,8 +1,8 @@
 /*  moko-navigation-list.c
  *
- *  Authored By Ken Zhao <ken_zhao at fic-sh.com.cn>
+ *  Authored by Ken Zhao <ken_zhao at fic-sh.com.cn>
  *
- *  Copyright (C) 2006 Vanille-Media
+ *  Copyright (C) 2006 First International Computer Inc.
  *
  *  This program is free software; you can redistribute it and/or modify
  *  it under the terms of the GNU Lesser Public License as published by

Modified: trunk/src/target/OM-2007/openmoko-libs/libmokoui/moko-navigation-list.h
===================================================================
--- trunk/src/target/OM-2007/openmoko-libs/libmokoui/moko-navigation-list.h	2006-12-14 14:33:28 UTC (rev 409)
+++ trunk/src/target/OM-2007/openmoko-libs/libmokoui/moko-navigation-list.h	2006-12-14 14:55:19 UTC (rev 410)
@@ -1,8 +1,8 @@
 /*  moko-navigation-list.h
  *
- *  Authored By Ken Zhao <ken_zhao at fic-sh.com.cn>
+ *  Authored by Ken Zhao <ken_zhao at fic-sh.com.cn>
  *
- *  Copyright (C) 2006 Vanille-Media
+ *  Copyright (C) 2006 First International Computer Inc.
  *
  *  This program is free software; you can redistribute it and/or modify
  *  it under the terms of the GNU Lesser Public License as published by

Modified: trunk/src/target/OM-2007/openmoko-libs/libmokoui/moko-paned-window.c
===================================================================
--- trunk/src/target/OM-2007/openmoko-libs/libmokoui/moko-paned-window.c	2006-12-14 14:33:28 UTC (rev 409)
+++ trunk/src/target/OM-2007/openmoko-libs/libmokoui/moko-paned-window.c	2006-12-14 14:55:19 UTC (rev 410)
@@ -1,7 +1,7 @@
 /*
  *  libmokoui -- OpenMoko Application Framework UI Library
  *
- *  Authored By Michael 'Mickey' Lauer <mlauer at vanille-media.de>
+ *  Authored by Michael 'Mickey' Lauer <mlauer at vanille-media.de>
  *
  *  Copyright (C) 2006 First International Computer Inc.
  *
@@ -26,6 +26,7 @@
 #undef DEBUG_THIS_FILE
 #ifdef DEBUG_THIS_FILE
 #define moko_debug(fmt,...) g_debug(fmt,##__VA_ARGS__)
+#define moko_debug_minder(predicate) moko_debug( __FUNCTION__ ); g_return_if_fail(predicate)
 #else
 #define moko_debug(fmt,...)
 #endif

Modified: trunk/src/target/OM-2007/openmoko-libs/libmokoui/moko-paned-window.h
===================================================================
--- trunk/src/target/OM-2007/openmoko-libs/libmokoui/moko-paned-window.h	2006-12-14 14:33:28 UTC (rev 409)
+++ trunk/src/target/OM-2007/openmoko-libs/libmokoui/moko-paned-window.h	2006-12-14 14:55:19 UTC (rev 410)
@@ -1,7 +1,7 @@
 /*
  *  libmokoui -- OpenMoko Application Framework UI Library
  *
- *  Authored By Michael 'Mickey' Lauer <mlauer at vanille-media.de>
+ *  Authored by Michael 'Mickey' Lauer <mlauer at vanille-media.de>
  *
  *  Copyright (C) 2006 First International Computer Inc.
  *

Modified: trunk/src/target/OM-2007/openmoko-libs/libmokoui/moko-pixmap-button.c
===================================================================
--- trunk/src/target/OM-2007/openmoko-libs/libmokoui/moko-pixmap-button.c	2006-12-14 14:33:28 UTC (rev 409)
+++ trunk/src/target/OM-2007/openmoko-libs/libmokoui/moko-pixmap-button.c	2006-12-14 14:55:19 UTC (rev 410)
@@ -1,8 +1,8 @@
 /*  moko-pixmap-button.c
  *
- *  Authored By Michael 'Mickey' Lauer <mlauer at vanille-media.de>
+ *  Authored by Michael 'Mickey' Lauer <mlauer at vanille-media.de>
  *
- *  Copyright (C) 2006 Vanille-Media
+ *  Copyright (C) 2006 First International Computer Inc.
  *
  *  This program is free software; you can redistribute it and/or modify
  *  it under the terms of the GNU Lesser Public License as published by
@@ -23,6 +23,7 @@
 #undef DEBUG_THIS_FILE
 #ifdef DEBUG_THIS_FILE
 #define moko_debug(fmt,...) g_debug(fmt,##__VA_ARGS__)
+#define moko_debug_minder(predicate) moko_debug( __FUNCTION__ ); g_return_if_fail(predicate)
 #else
 #define moko_debug(fmt,...)
 #endif

Modified: trunk/src/target/OM-2007/openmoko-libs/libmokoui/moko-pixmap-button.h
===================================================================
--- trunk/src/target/OM-2007/openmoko-libs/libmokoui/moko-pixmap-button.h	2006-12-14 14:33:28 UTC (rev 409)
+++ trunk/src/target/OM-2007/openmoko-libs/libmokoui/moko-pixmap-button.h	2006-12-14 14:55:19 UTC (rev 410)
@@ -1,8 +1,8 @@
 /*  moko-pixmap-button.h
  *
- *  Authored By Michael 'Mickey' Lauer <mlauer at vanille-media.de>
+ *  Authored by Michael 'Mickey' Lauer <mlauer at vanille-media.de>
  *
- *  Copyright (C) 2006 Vanille-Media
+ *  Copyright (C) 2006 First International Computer Inc.
  *
  *  This program is free software; you can redistribute it and/or modify
  *  it under the terms of the GNU Lesser Public License as published by

Modified: trunk/src/target/OM-2007/openmoko-libs/libmokoui/moko-search-bar.c
===================================================================
--- trunk/src/target/OM-2007/openmoko-libs/libmokoui/moko-search-bar.c	2006-12-14 14:33:28 UTC (rev 409)
+++ trunk/src/target/OM-2007/openmoko-libs/libmokoui/moko-search-bar.c	2006-12-14 14:55:19 UTC (rev 410)
@@ -1,9 +1,9 @@
 
 /*  moko_search_bar.c
  *
- *  Authored By Michael 'Mickey' Lauer <mlauer at vanille-media.de>
+ *  Authored by Michael 'Mickey' Lauer <mlauer at vanille-media.de>
  *
- *  Copyright (C) 2006 Vanille-Media
+ *  Copyright (C) 2006 First International Computer Inc.
  *
  *  This program is free software; you can redistribute it and/or modify
  *  it under the terms of the GNU Lesser Public License as published by

Modified: trunk/src/target/OM-2007/openmoko-libs/libmokoui/moko-search-bar.h
===================================================================
--- trunk/src/target/OM-2007/openmoko-libs/libmokoui/moko-search-bar.h	2006-12-14 14:33:28 UTC (rev 409)
+++ trunk/src/target/OM-2007/openmoko-libs/libmokoui/moko-search-bar.h	2006-12-14 14:55:19 UTC (rev 410)
@@ -1,9 +1,9 @@
 
 /*  moko_search_bar.h
  *
- *  Authored By Michael 'Mickey' Lauer <mlauer at vanille-media.de>
+ *  Authored by Michael 'Mickey' Lauer <mlauer at vanille-media.de>
  *
- *  Copyright (C) 2006 Vanille-Media
+ *  Copyright (C) 2006 First International Computer Inc.
  *
  *  This program is free software; you can redistribute it and/or modify
  *  it under the terms of the GNU Lesser Public License as published by

Modified: trunk/src/target/OM-2007/openmoko-libs/libmokoui/moko-tool-box.c
===================================================================
--- trunk/src/target/OM-2007/openmoko-libs/libmokoui/moko-tool-box.c	2006-12-14 14:33:28 UTC (rev 409)
+++ trunk/src/target/OM-2007/openmoko-libs/libmokoui/moko-tool-box.c	2006-12-14 14:55:19 UTC (rev 410)
@@ -1,7 +1,7 @@
 /*
  *  libmokoui -- OpenMoko Application Framework UI Library
  *
- *  Authored By Michael 'Mickey' Lauer <mlauer at vanille-media.de>
+ *  Authored by Michael 'Mickey' Lauer <mlauer at vanille-media.de>
  *
  *  Copyright (C) 2006 First International Computer Inc.
  *
@@ -25,6 +25,7 @@
 #undef DEBUG_THIS_FILE
 #ifdef DEBUG_THIS_FILE
 #define moko_debug(fmt,...) g_debug(fmt,##__VA_ARGS__)
+#define moko_debug_minder(predicate) moko_debug( __FUNCTION__ ); g_return_if_fail(predicate)
 #else
 #define moko_debug(fmt,...)
 #endif

Modified: trunk/src/target/OM-2007/openmoko-libs/libmokoui/moko-tool-box.h
===================================================================
--- trunk/src/target/OM-2007/openmoko-libs/libmokoui/moko-tool-box.h	2006-12-14 14:33:28 UTC (rev 409)
+++ trunk/src/target/OM-2007/openmoko-libs/libmokoui/moko-tool-box.h	2006-12-14 14:55:19 UTC (rev 410)
@@ -1,7 +1,7 @@
 /*
  *  libmokoui -- OpenMoko Application Framework UI Library
  *
- *  Authored By Michael 'Mickey' Lauer <mlauer at vanille-media.de>
+ *  Authored by Michael 'Mickey' Lauer <mlauer at vanille-media.de>
  *
  *  Copyright (C) 2006 First International Computer Inc.
  *

Modified: trunk/src/target/OM-2007/openmoko-libs/libmokoui/moko-tree-view.c
===================================================================
--- trunk/src/target/OM-2007/openmoko-libs/libmokoui/moko-tree-view.c	2006-12-14 14:33:28 UTC (rev 409)
+++ trunk/src/target/OM-2007/openmoko-libs/libmokoui/moko-tree-view.c	2006-12-14 14:55:19 UTC (rev 410)
@@ -1,8 +1,8 @@
 /*  moko-tree-view.c
  *
- *  Authored By Michael 'Mickey' Lauer <mlauer at vanille-media.de>
+ *  Authored by Michael 'Mickey' Lauer <mlauer at vanille-media.de>
  *
- *  Copyright (C) 2006 Vanille-Media
+ *  Copyright (C) 2006 First International Computer Inc.
  *
  *  This program is free software; you can redistribute it and/or modify
  *  it under the terms of the GNU Lesser Public License as published by

Modified: trunk/src/target/OM-2007/openmoko-libs/libmokoui/moko-tree-view.h
===================================================================
--- trunk/src/target/OM-2007/openmoko-libs/libmokoui/moko-tree-view.h	2006-12-14 14:33:28 UTC (rev 409)
+++ trunk/src/target/OM-2007/openmoko-libs/libmokoui/moko-tree-view.h	2006-12-14 14:55:19 UTC (rev 410)
@@ -1,8 +1,8 @@
 /*  moko-tree-view.h
  *
- *  Authored By Michael 'Mickey' Lauer <mlauer at vanille-media.de>
+ *  Authored by Michael 'Mickey' Lauer <mlauer at vanille-media.de>
  *
- *  Copyright (C) 2006 Vanille-Media
+ *  Copyright (C) 2006 First International Computer Inc.
  *
  *  This program is free software; you can redistribute it and/or modify
  *  it under the terms of the GNU Lesser Public License as published by

Modified: trunk/src/target/OM-2007/openmoko-libs/libmokoui/moko-window.c
===================================================================
--- trunk/src/target/OM-2007/openmoko-libs/libmokoui/moko-window.c	2006-12-14 14:33:28 UTC (rev 409)
+++ trunk/src/target/OM-2007/openmoko-libs/libmokoui/moko-window.c	2006-12-14 14:55:19 UTC (rev 410)
@@ -1,7 +1,7 @@
 /*
  *  libmokoui -- OpenMoko Application Framework UI Library
  *
- *  Authored By Michael 'Mickey' Lauer <mlauer at vanille-media.de>
+ *  Authored by Michael 'Mickey' Lauer <mlauer at vanille-media.de>
  *  Based on hildon-window.c (C) 2006 Nokia Corporation.
  *
  *  Copyright (C) 2006 First International Computer Inc.
@@ -33,6 +33,7 @@
 #define DEBUG_THIS_FILE
 #ifdef DEBUG_THIS_FILE
 #define moko_debug(fmt,...) g_debug(fmt,##__VA_ARGS__)
+#define moko_debug_minder(predicate) moko_debug( __FUNCTION__ ); g_return_if_fail(predicate)
 #else
 #define moko_debug(fmt,...)
 #endif

Modified: trunk/src/target/OM-2007/openmoko-libs/libmokoui/moko-window.h
===================================================================
--- trunk/src/target/OM-2007/openmoko-libs/libmokoui/moko-window.h	2006-12-14 14:33:28 UTC (rev 409)
+++ trunk/src/target/OM-2007/openmoko-libs/libmokoui/moko-window.h	2006-12-14 14:55:19 UTC (rev 410)
@@ -1,7 +1,7 @@
 /*
  *  libmokoui -- OpenMoko Application Framework UI Library
  *
- *  Authored By Michael 'Mickey' Lauer <mlauer at vanille-media.de>
+ *  Authored by Michael 'Mickey' Lauer <mlauer at vanille-media.de>
  *
  *  Copyright (C) 2006 First International Computer Inc.
  *

Modified: trunk/src/target/OM-2007/templates/gpl-header.h
===================================================================
--- trunk/src/target/OM-2007/templates/gpl-header.h	2006-12-14 14:33:28 UTC (rev 409)
+++ trunk/src/target/OM-2007/templates/gpl-header.h	2006-12-14 14:55:19 UTC (rev 410)
@@ -1,7 +1,7 @@
 /*
  *  <AppName> -- <Purpose of the Application>
  *
- *  Authored By <Add your Name here>
+ *  Authored by <Add your Name here>
  *
  *  Copyright (C) 2006 First International Computer Inc.
  *

Modified: trunk/src/target/OM-2007/templates/lgpl-header.h
===================================================================
--- trunk/src/target/OM-2007/templates/lgpl-header.h	2006-12-14 14:33:28 UTC (rev 409)
+++ trunk/src/target/OM-2007/templates/lgpl-header.h	2006-12-14 14:55:19 UTC (rev 410)
@@ -1,7 +1,7 @@
 /*
  *  <LibName> -- <Purpose of the Library>
  *
- *  Authored By <Add your Name here>
+ *  Authored by <Add your Name here>
  *
  *  Copyright (C) 2006 First International Computer Inc.
  *





More information about the commitlog mailing list