Send commitlog mailing list submissions to
        [email protected]

To subscribe or unsubscribe via the World Wide Web, visit
        http://lists.openmoko.org/mailman/listinfo/commitlog
or, via email, send a message with subject or body 'help' to
        [EMAIL PROTECTED]

You can reach the person managing the list at
        [EMAIL PROTECTED]

When replying, please edit your Subject line so it is more specific
than "Re: Contents of commitlog digest..."
Today's Topics:

   1. r2253 -
      trunk/src/target/OM-2007/examples/openmoko-stylus-demo/src
      ([EMAIL PROTECTED])
   2. r2254 - trunk/src/target/OM-2007/openmoko-libs/libmokoui
      ([EMAIL PROTECTED])
   3. r2255 - trunk/src/target/OM-2007/openmoko-libs/libmokoui
      ([EMAIL PROTECTED])
   4. r2256 -
      trunk/src/target/OM-2007/panel-plugins/openmoko-panel-mainmenu/src
      ([EMAIL PROTECTED])
   5. r2257 - trunk/oe/packages/openmoko-panel-plugins
      ([EMAIL PROTECTED])
   6. r2258 - trunk/src/target/OM-2007/openmoko-libs/libmokoui
      ([EMAIL PROTECTED])
   7. r2259 - trunk/oe/conf/distro/include ([EMAIL PROTECTED])
   8. r2260 -
      trunk/src/target/OM-2007/applications/openmoko-dialer/src
      ([EMAIL PROTECTED])
   9. r2261 - trunk/src/target/u-boot/patches
      ([EMAIL PROTECTED])
--- Begin Message ---
Author: mickey
Date: 2007-06-14 12:10:08 +0200 (Thu, 14 Jun 2007)
New Revision: 2253

Modified:
   trunk/src/target/OM-2007/examples/openmoko-stylus-demo/src/demo-main.c
Log:
openmoko-stylus-demo: show off MokoBanner


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      
2007-06-14 08:35:04 UTC (rev 2252)
+++ trunk/src/target/OM-2007/examples/openmoko-stylus-demo/src/demo-main.c      
2007-06-14 10:10:08 UTC (rev 2253)
@@ -18,6 +18,7 @@
  */
 
 #include <libmokoui/moko-application.h>
+#include <libmokoui/moko-banner.h>
 #include <libmokoui/moko-scrolled-pane.h>
 #include <libmokoui/moko-dialog-window.h>
 #include <libmokoui/moko-paned-window.h>
@@ -120,17 +121,27 @@
 {
     g_debug( "openmoko-stylus-demo: searchbox now visible" );
     // populate the entry completion here and/or connect signals to entry
+
+    MokoBanner* banner = moko_banner_new();
+    moko_banner_show_text( banner, "Searchbox visible", 2 );
+    g_object_unref( banner );
 }
 
 void cb_searchbox_invisible(MokoToolBox* toolbox, gpointer user_data)
 {
     g_debug( "openmoko-stylus-demo: searchbox now invisible" );
     // free resources and/or disconnect signals
+    MokoBanner* banner = moko_banner_new();
+    moko_banner_show_text( banner, "Searchbox invisible", 2 );
+    g_object_unref( banner );
 }
 
 void cb_filter_changed(GtkMenu* menu, gchar* text, gpointer user_data )
 {
     g_debug( "openmoko-stylus-demo: filter changed to '%s'", text );
+    MokoBanner* banner = moko_banner_new();
+    moko_banner_show_text( banner, "Filter has been changed", 2 );
+    g_object_unref( banner );
 }
 
 void cb_button1_clicked(GtkButton *button, gpointer user_data)
@@ -369,11 +380,11 @@
 
     /* show everything and run main loop */
     gtk_widget_show_all( GTK_WIDGET(window) );
- 
+
     moko_window_set_status_message (MOKO_WINDOW (window), "Test message");
     moko_window_set_status_progress (MOKO_WINDOW (window), 0.5);
 
-   g_debug( "openmoko-stylus-demo entering main loop" );
+    g_debug( "openmoko-stylus-demo entering main loop" );
     gtk_main();
     g_debug( "openmoko-stylus-demo left main loop" );
 




--- End Message ---
--- Begin Message ---
Author: mickey
Date: 2007-06-14 12:16:34 +0200 (Thu, 14 Jun 2007)
New Revision: 2254

Added:
   trunk/src/target/OM-2007/openmoko-libs/libmokoui/moko-banner.c
   trunk/src/target/OM-2007/openmoko-libs/libmokoui/moko-banner.h
Log:
openmoko-libs: add forgotten files. thanks nobody96


Added: trunk/src/target/OM-2007/openmoko-libs/libmokoui/moko-banner.c
===================================================================
--- trunk/src/target/OM-2007/openmoko-libs/libmokoui/moko-banner.c      
2007-06-14 10:10:08 UTC (rev 2253)
+++ trunk/src/target/OM-2007/openmoko-libs/libmokoui/moko-banner.c      
2007-06-14 10:16:34 UTC (rev 2254)
@@ -0,0 +1,122 @@
+/*  moko-banner.c
+ *
+ *  Authored By Michael 'Mickey' Lauer <[EMAIL PROTECTED]>
+ *
+ *  Copyright (C) 2007 OpenMoko, 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
+ *  the Free Software Foundation; version 2.1 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: 2007/04/23 22:27:36 $) [$Author: mickey $]
+ */
+
+#include "moko-banner.h"
+
+#undef DEBUG_THIS_FILE
+#ifdef DEBUG_THIS_FILE
+#define moko_debug(fmt,...) g_debug(fmt,##__VA_ARGS__)
+#else
+#define moko_debug(fmt,...)
+#endif
+
+G_DEFINE_TYPE (MokoBanner, moko_banner, G_TYPE_OBJECT)
+
+#define BANNER_GET_PRIVATE(o)   (G_TYPE_INSTANCE_GET_PRIVATE ((o), 
MOKO_TYPE_BANNER, MokoBannerPrivate))
+
+typedef struct _MokoBannerPrivate
+{
+} MokoBannerPrivate;
+
+/* parent class pointer */
+static GObjectClass* parent_class = NULL;
+
+/* signals */
+/* ... */
+
+/* forward declarations */
+/* ... */
+
+static void
+moko_banner_dispose(GObject* object)
+{
+    if (G_OBJECT_CLASS (moko_banner_parent_class)->dispose)
+        G_OBJECT_CLASS (moko_banner_parent_class)->dispose (object);
+}
+
+static void
+moko_banner_finalize(GObject* object)
+{
+    G_OBJECT_CLASS (moko_banner_parent_class)->finalize (object);
+}
+
+static void
+moko_banner_class_init(MokoBannerClass* klass)
+{
+    /* hook parent */
+    GObjectClass* object_class = G_OBJECT_CLASS (klass);
+    parent_class = g_type_class_peek_parent(klass);
+
+    /* add private */
+    g_type_class_add_private (klass, sizeof(MokoBannerPrivate));
+
+    /* hook destruction */
+    object_class->dispose = moko_banner_dispose;
+    object_class->finalize = moko_banner_finalize;
+
+    /* register signals */
+
+    /* virtual methods */
+
+    /* install properties */
+
+    /* initialize libxosd and configure defaults */
+    klass->osd = xosd_create( 2 );
+    if ( !klass->osd )
+        g_warning( "Could not create libxosd contect. On Screen Display won't 
be available" );
+    else
+    {
+        xosd_set_font( klass->osd, "-bitstream-bitstream vera 
sans-*-r-*-*-*-200-*-*" );
+        xosd_set_colour( klass->osd, "lightblue" );
+        xosd_set_outline_offset( klass->osd, 2 );
+        xosd_set_outline_colour( klass->osd, "black" );
+        xosd_set_shadow_offset( klass->osd, 5 );
+        xosd_set_pos( klass->osd, XOSD_middle );
+        xosd_set_vertical_offset( klass->osd, -100 );
+        xosd_set_align( klass->osd, XOSD_center );
+        xosd_set_timeout( klass->osd, 2 );
+    }
+}
+
+MokoBanner*
+moko_banner_new(void)
+{
+    return g_object_new(MOKO_TYPE_BANNER, NULL);
+}
+
+static void
+moko_banner_init(MokoBanner* self)
+{
+    /* Populate your instance here */
+}
+
+void moko_banner_show_text(MokoBanner* self, const gchar* text, gint timeout)
+{
+    MokoBannerClass* klass = MOKO_BANNER_GET_CLASS( self );
+    g_return_if_fail( klass->osd );
+    if ( timeout )
+        xosd_set_timeout( klass->osd, timeout );
+    xosd_display( klass->osd, 0, XOSD_string, text );
+}
+
+void moko_banner_hide(MokoBanner* self)
+{
+    MokoBannerClass* klass = MOKO_BANNER_GET_CLASS( self );
+    g_return_if_fail( klass->osd );
+    xosd_hide( klass->osd );
+}


Property changes on: 
trunk/src/target/OM-2007/openmoko-libs/libmokoui/moko-banner.c
___________________________________________________________________
Name: svn:eol-style
   + native

Added: trunk/src/target/OM-2007/openmoko-libs/libmokoui/moko-banner.h
===================================================================
--- trunk/src/target/OM-2007/openmoko-libs/libmokoui/moko-banner.h      
2007-06-14 10:10:08 UTC (rev 2253)
+++ trunk/src/target/OM-2007/openmoko-libs/libmokoui/moko-banner.h      
2007-06-14 10:16:34 UTC (rev 2254)
@@ -0,0 +1,53 @@
+/*  moko-banner.h
+ *
+ *  Authored By Michael 'Mickey' Lauer <[EMAIL PROTECTED]>
+ *
+ *  Copyright (C) 2007 Vanille-Media
+ *
+ *  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.1 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: 2007/04/23 22:27:36 $) [$Author: mickey $]
+ */
+
+#ifndef _MOKO_BANNER_H_
+#define _MOKO_BANNER_H_
+
+#include <glib-object.h>
+#include <xosd.h>
+
+G_BEGIN_DECLS
+
+#define MOKO_TYPE_BANNER moko_banner_get_type()
+#define MOKO_BANNER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), MOKO_TYPE_BANNER, 
MokoBanner))
+#define MOKO_BANNER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), 
MOKO_TYPE_BANNER, MokoBannerClass))
+#define MOKO_IS_BANNER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), 
MOKO_TYPE_BANNER))
+#define MOKO_IS_BANNER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), 
MOKO_TYPE_BANNER))
+#define MOKO_BANNER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), 
MOKO_TYPE_BANNER, MokoBannerClass))
+
+typedef struct {
+    GObject parent;
+} MokoBanner;
+
+typedef struct {
+    GObjectClass parent_class;
+    xosd* osd;
+} MokoBannerClass;
+
+GType moko_banner_get_type();
+MokoBanner* moko_banner_new();
+
+void moko_banner_show_text(MokoBanner* self, const gchar* text, gint timeout);
+void moko_banner_show_hide(MokoBanner* self);
+
+
+G_END_DECLS
+
+#endif // _MOKO_BANNER_H_
+


Property changes on: 
trunk/src/target/OM-2007/openmoko-libs/libmokoui/moko-banner.h
___________________________________________________________________
Name: svn:eol-style
   + native




--- End Message ---
--- Begin Message ---
Author: mickey
Date: 2007-06-14 14:18:09 +0200 (Thu, 14 Jun 2007)
New Revision: 2255

Modified:
   trunk/src/target/OM-2007/openmoko-libs/libmokoui/moko-banner.c
   trunk/src/target/OM-2007/openmoko-libs/libmokoui/moko-banner.h
Log:
mokoui: add error reporting on initializing xosd


Modified: trunk/src/target/OM-2007/openmoko-libs/libmokoui/moko-banner.c
===================================================================
--- trunk/src/target/OM-2007/openmoko-libs/libmokoui/moko-banner.c      
2007-06-14 10:16:34 UTC (rev 2254)
+++ trunk/src/target/OM-2007/openmoko-libs/libmokoui/moko-banner.c      
2007-06-14 12:18:09 UTC (rev 2255)
@@ -5,8 +5,8 @@
  *  Copyright (C) 2007 OpenMoko, 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
- *  the Free Software Foundation; version 2.1 of the license.
+ *  it under the terms of the GNU Lesser 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
@@ -78,7 +78,7 @@
     /* initialize libxosd and configure defaults */
     klass->osd = xosd_create( 2 );
     if ( !klass->osd )
-        g_warning( "Could not create libxosd contect. On Screen Display won't 
be available" );
+        g_warning( "Could not create libxosd contect (%s). On Screen Display 
won't be available", xosd_error );
     else
     {
         xosd_set_font( klass->osd, "-bitstream-bitstream vera 
sans-*-r-*-*-*-200-*-*" );

Modified: trunk/src/target/OM-2007/openmoko-libs/libmokoui/moko-banner.h
===================================================================
--- trunk/src/target/OM-2007/openmoko-libs/libmokoui/moko-banner.h      
2007-06-14 10:16:34 UTC (rev 2254)
+++ trunk/src/target/OM-2007/openmoko-libs/libmokoui/moko-banner.h      
2007-06-14 12:18:09 UTC (rev 2255)
@@ -5,8 +5,8 @@
  *  Copyright (C) 2007 Vanille-Media
  *
  *  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.1 of the license.
+ *  it under the terms of the GNU Lesser 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




--- End Message ---
--- Begin Message ---
Author: mickey
Date: 2007-06-14 14:24:15 +0200 (Thu, 14 Jun 2007)
New Revision: 2256

Modified:
   
trunk/src/target/OM-2007/panel-plugins/openmoko-panel-mainmenu/src/buttonactions.c
Log:
openmoko-panel-mainmenu: add more entries to power button menu, reset power 
timeout on button press as well


Modified: 
trunk/src/target/OM-2007/panel-plugins/openmoko-panel-mainmenu/src/buttonactions.c
===================================================================
--- 
trunk/src/target/OM-2007/panel-plugins/openmoko-panel-mainmenu/src/buttonactions.c
  2007-06-14 12:18:09 UTC (rev 2255)
+++ 
trunk/src/target/OM-2007/panel-plugins/openmoko-panel-mainmenu/src/buttonactions.c
  2007-06-14 12:24:15 UTC (rev 2256)
@@ -249,6 +249,10 @@
 gboolean panel_mainmenu_aux_timeout( guint timeout )
 {
     g_debug( "aux pressed for %d", timeout );
+
+    panel_mainmenu_sound_play( "touchscreen" );
+    panel_mainmenu_powersave_reset();
+
     aux_timer = -1;
     if ( timeout < 1 )
     {
@@ -299,6 +303,20 @@
     }
 }
 
+void panel_mainmenu_popup_selected_restartUI( GtkMenuItem* menu, gpointer 
user_data )
+{
+    //FIXME talk to neod
+    //FIXME notify user
+    system( "/etc/init.d/xserver-nodm restart");
+}
+
+void panel_mainmenu_popup_selected_reboot( GtkMenuItem* menu, gpointer 
user_data )
+{
+    //FIXME talk to neod
+    //FIXME notify user
+    system( "/sbin/reboot");
+}
+
 void panel_mainmenu_popup_selected_poweroff( GtkMenuItem* menu, gpointer 
user_data )
 {
     //FIXME talk to neod
@@ -309,6 +327,10 @@
 gboolean panel_mainmenu_power_timeout( guint timeout )
 {
     g_debug( "power pressed for %d", timeout );
+
+    panel_mainmenu_sound_play( "touchscreen" );
+    panel_mainmenu_powersave_reset();
+
     power_timer = -1;
     if ( timeout < 1 )
     {
@@ -353,6 +375,10 @@
             gtk_menu_shell_append( GTK_MENU_SHELL(power_menu), flightmode );
             GtkWidget* profilelist = gtk_menu_item_new_with_label( "<Profile 
List>" );
             gtk_menu_shell_append( GTK_MENU_SHELL(power_menu), profilelist );
+            GtkWidget* restartUI = gtk_menu_item_new_with_label( "Restart UI" 
);
+            g_signal_connect( G_OBJECT(restartUI), "activate", 
G_CALLBACK(panel_mainmenu_popup_selected_restartUI), NULL );
+            GtkWidget* reboot = gtk_menu_item_new_with_label( "Reboot" );
+            g_signal_connect( G_OBJECT(reboot), "activate", 
G_CALLBACK(panel_mainmenu_popup_selected_reboot), NULL );
             GtkWidget* poweroff = gtk_menu_item_new_with_label( "Power Off" );
             g_signal_connect( G_OBJECT(poweroff), "activate", 
G_CALLBACK(panel_mainmenu_popup_selected_poweroff), NULL );
             gtk_menu_shell_append( GTK_MENU_SHELL(power_menu), poweroff );




--- End Message ---
--- Begin Message ---
Author: mickey
Date: 2007-06-14 14:32:57 +0200 (Thu, 14 Jun 2007)
New Revision: 2257

Modified:
   trunk/oe/packages/openmoko-panel-plugins/openmoko-panel-mainmenu_svn.bb
Log:
oe/openmoko-panel-mainmenu: still requires libmatchbox


Modified: 
trunk/oe/packages/openmoko-panel-plugins/openmoko-panel-mainmenu_svn.bb
===================================================================
--- trunk/oe/packages/openmoko-panel-plugins/openmoko-panel-mainmenu_svn.bb     
2007-06-14 12:24:15 UTC (rev 2256)
+++ trunk/oe/packages/openmoko-panel-plugins/openmoko-panel-mainmenu_svn.bb     
2007-06-14 12:32:57 UTC (rev 2257)
@@ -1,5 +1,7 @@
 DESCRIPTION = "Shows the current time in the OpenMoko panel"
 PV = "0.0.1+svn${SRCDATE}"
 
+DEPENDS += "libmatchbox"
+
 inherit openmoko-panel-plugin
 




--- End Message ---
--- Begin Message ---
Author: njp
Date: 2007-06-14 14:36:58 +0200 (Thu, 14 Jun 2007)
New Revision: 2258

Modified:
   trunk/src/target/OM-2007/openmoko-libs/libmokoui/moko-stock.c
Log:
Fix loading of stock icons by loading them fro the GtkIconTheme, and creating a 
new GtkIconFactory witch contains the stock icons

Modified: trunk/src/target/OM-2007/openmoko-libs/libmokoui/moko-stock.c
===================================================================
--- trunk/src/target/OM-2007/openmoko-libs/libmokoui/moko-stock.c       
2007-06-14 12:32:57 UTC (rev 2257)
+++ trunk/src/target/OM-2007/openmoko-libs/libmokoui/moko-stock.c       
2007-06-14 12:36:58 UTC (rev 2258)
@@ -63,17 +63,65 @@
 };
 
 
-static gboolean registered = FALSE;
+static gboolean        registered        = FALSE;
 
+static void
+_moko_stock_add_icon (GtkIconFactory *factory, const GtkStockItem *item)
+{
+  static GtkIconTheme *theme = NULL;
+  GtkIconSource       *source = NULL;
+  GtkIconSet          *set = NULL;
+  GdkPixbuf           *pixbuf = NULL;
+
+  if (theme == NULL)
+    theme = gtk_icon_theme_get_default ();
+
+  source = gtk_icon_source_new ();
+
+  gtk_icon_source_set_size (source, GTK_ICON_SIZE_BUTTON);
+  gtk_icon_source_set_size_wildcarded (source, FALSE);
+
+  pixbuf = gtk_icon_theme_load_icon (theme, item->stock_id,
+                                     32, 0, NULL);
+  if (pixbuf == NULL)
+  {
+    g_warning ("Cannot load stock icon from theme : %s\n", item->stock_id);
+    return;
+  }
+
+  gtk_icon_source_set_pixbuf (source, pixbuf);
+
+  g_object_unref (G_OBJECT (pixbuf));
+
+  set = gtk_icon_set_new ();
+
+  gtk_icon_set_add_source (set, source);
+  gtk_icon_source_free (source);
+
+  gtk_icon_factory_add (factory, item->stock_id, set);
+  gtk_icon_set_unref (set);
+}
+
 void
 moko_stock_register ()
 {
+  gint i = 0;
+  static GtkIconFactory *moko_icon_factory = NULL;
+
   /* make sure we never register the icons twice */
   if (registered)
     return;
-
+  
+  moko_icon_factory = gtk_icon_factory_new ();
+  
+  for (i = 0; i < G_N_ELEMENTS (moko_items); i++)
+  {
+    _moko_stock_add_icon (moko_icon_factory, &moko_items[i]);
+  }
+  
+  gtk_icon_factory_add_default (moko_icon_factory);
+  
   gtk_stock_add_static (moko_items, G_N_ELEMENTS (moko_items));
 
-
   registered = TRUE;
 }




--- End Message ---
--- Begin Message ---
Author: stefan
Date: 2007-06-14 15:05:03 +0200 (Thu, 14 Jun 2007)
New Revision: 2259

Modified:
   trunk/oe/conf/distro/include/preferred-openmoko-versions.inc
Log:
* Switch openmoko-tasks back to SRCDATE now. Upstream tasks has fixed bug #585.
  Thanks to Ross Burton <[EMAIL PROTECTED]>


Modified: trunk/oe/conf/distro/include/preferred-openmoko-versions.inc
===================================================================
--- trunk/oe/conf/distro/include/preferred-openmoko-versions.inc        
2007-06-14 12:36:58 UTC (rev 2258)
+++ trunk/oe/conf/distro/include/preferred-openmoko-versions.inc        
2007-06-14 13:05:03 UTC (rev 2259)
@@ -46,8 +46,7 @@
 #
 SRCDATE_openmoko-contacts = "now"
 SRCDATE_openmoko-dates = "now"
-#FIXME: Change back to now when bug #585 is fixed
-SRCDATE_openmoko-tasks = "20070527"
+SRCDATE_openmoko-tasks = "now"
 SRCDATE_openmoko-today = "now"
 SRCDATE_openmoko-messages = "now"
 SRCDATE_openmoko-rssreader = "now"




--- End Message ---
--- Begin Message ---
Author: njp
Date: 2007-06-14 15:08:12 +0200 (Thu, 14 Jun 2007)
New Revision: 2260

Modified:
   
trunk/src/target/OM-2007/applications/openmoko-dialer/src/moko-dialer-status.c
Log:
Fixed resize issues with label, bug #439

Modified: 
trunk/src/target/OM-2007/applications/openmoko-dialer/src/moko-dialer-status.c
===================================================================
--- 
trunk/src/target/OM-2007/applications/openmoko-dialer/src/moko-dialer-status.c  
    2007-06-14 13:05:03 UTC (rev 2259)
+++ 
trunk/src/target/OM-2007/applications/openmoko-dialer/src/moko-dialer-status.c  
    2007-06-14 13:08:12 UTC (rev 2260)
@@ -62,10 +62,11 @@
 
   moko_dialer_status->labelStatus = gtk_label_new (""); ///<the status label
   gtk_misc_set_alignment (GTK_MISC (moko_dialer_status->labelStatus), 0, 0);
-//                gtk_misc_set_padding(GTK_MISC 
(moko_dialer_status->labelStatus), 20,0);
-  moko_dialer_status->labelPersonName = gtk_label_new ("");     ///<the person 
name
-  gtk_misc_set_alignment (GTK_MISC (moko_dialer_status->labelPersonName), 0,
-                          0);
+  gtk_label_set_width_chars (GTK_LABEL (moko_dialer_status->labelStatus), 20);
+  //gtk_misc_set_padding(GTK_MISC (moko_dialer_status->labelStatus), 20,0);
+
+  moko_dialer_status->labelPersonName = gtk_label_new (""); ///<the person name
+  gtk_misc_set_alignment (GTK_MISC (moko_dialer_status->labelPersonName), 0, 
0);
   moko_dialer_status->labelNumber = gtk_label_new (""); ///<the number of the 
person
   gtk_misc_set_alignment (GTK_MISC (moko_dialer_status->labelNumber), 0, 0);
 //private section




--- End Message ---
--- Begin Message ---
Author: laforge
Date: 2007-06-14 18:42:51 +0200 (Thu, 14 Jun 2007)
New Revision: 2261

Modified:
   trunk/src/target/u-boot/patches/uboot-hxd8.patch
Log:
fix mkudfu call (hardware revision is 0x110, not 0x100) (Matt Hsu)


Modified: trunk/src/target/u-boot/patches/uboot-hxd8.patch
===================================================================
--- trunk/src/target/u-boot/patches/uboot-hxd8.patch    2007-06-14 13:08:12 UTC 
(rev 2260)
+++ trunk/src/target/u-boot/patches/uboot-hxd8.patch    2007-06-14 16:42:51 UTC 
(rev 2261)
@@ -4,7 +4,7 @@
 ===================================================================
 --- u-boot.orig/Makefile
 +++ u-boot/Makefile
-@@ -2026,6 +2026,9 @@
+@@ -2049,6 +2049,9 @@
  qt2410_config :       unconfig
        @./mkconfig $(@:_config=) arm arm920t qt2410 NULL s3c24x0
  
@@ -860,7 +860,7 @@
 +
 +CONFIG_USB_DFU_VENDOR=0x1457
 +CONFIG_USB_DFU_PRODUCT=0x511a
-+CONFIG_USB_DFU_REVISION=0x0100
++CONFIG_USB_DFU_REVISION=0x0110
 +
 +#
 +# HXD81v011 or later has 1 bank of 128 MB SDRAM




--- End Message ---
_______________________________________________
commitlog mailing list
[email protected]
http://lists.openmoko.org/mailman/listinfo/commitlog

Reply via email to