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. r1953 - in
      trunk/src/target/OM-2007/applications/openmoko-contacts: .        src
      ([EMAIL PROTECTED])
   2. r1954 -
      trunk/src/target/OM-2007/panel-plugins/openmoko-panel-battery/src
      ([EMAIL PROTECTED])
   3. r1955 - trunk/src/target/kernel/patches
      ([EMAIL PROTECTED])
--- Begin Message ---
Author: thomas
Date: 2007-05-14 12:44:21 +0200 (Mon, 14 May 2007)
New Revision: 1953

Modified:
   trunk/src/target/OM-2007/applications/openmoko-contacts/ChangeLog
   
trunk/src/target/OM-2007/applications/openmoko-contacts/src/contacts-contact-pane.c
Log:
Patch by: Neil J Patel <[EMAIL PROTECTED]>

* src/contacts-contact-pane.c: (field_focus_in), (field_focus_out),
(make_widget): Remove frames from entry boxes when not focused in edit mode


Modified: trunk/src/target/OM-2007/applications/openmoko-contacts/ChangeLog
===================================================================
--- trunk/src/target/OM-2007/applications/openmoko-contacts/ChangeLog   
2007-05-13 23:32:35 UTC (rev 1952)
+++ trunk/src/target/OM-2007/applications/openmoko-contacts/ChangeLog   
2007-05-14 10:44:21 UTC (rev 1953)
@@ -1,3 +1,10 @@
+2007-05-14  Thomas Wood  <[EMAIL PROTECTED]>
+
+       Patch by: Neil J Patel <[EMAIL PROTECTED]>
+
+       * src/contacts-contact-pane.c: (field_focus_in), (field_focus_out),
+       (make_widget): Remove frames from entry boxes when not focused in edit 
mode
+
 2007-05-01  Thomas Wood  <[EMAIL PROTECTED]>
 
        * src/contacts-callbacks-ebook.c: (contacts_added_cb):

Modified: 
trunk/src/target/OM-2007/applications/openmoko-contacts/src/contacts-contact-pane.c
===================================================================
--- 
trunk/src/target/OM-2007/applications/openmoko-contacts/src/contacts-contact-pane.c
 2007-05-13 23:32:35 UTC (rev 1952)
+++ 
trunk/src/target/OM-2007/applications/openmoko-contacts/src/contacts-contact-pane.c
 2007-05-14 10:44:21 UTC (rev 1953)
@@ -256,7 +256,13 @@
     gtk_widget_modify_text (GTK_WIDGET (entry), GTK_STATE_NORMAL, &gray);
 
     gtk_entry_set_text (GTK_ENTRY (entry), "");
+    
   }
+  
+  /* Restore the frame & set the base colour to normal */
+  gtk_entry_set_has_frame (GTK_ENTRY (entry), TRUE);
+  gtk_widget_modify_base (entry, GTK_STATE_NORMAL, NULL);  
+  
   return FALSE;
 }
 
@@ -266,9 +272,20 @@
 static gboolean
 field_focus_out (GtkWidget *entry, GdkEventFocus *event, FieldInfo *info)
 {
+  GtkWidget *parent = NULL;
+  
   if (!strcmp (gtk_entry_get_text (GTK_ENTRY (entry)), "")) {
     field_set_blank (GTK_ENTRY (entry), info);
   }
+  
+  /* Remove the frame & set the base colour to the background of the parent */
+  gtk_entry_set_has_frame (GTK_ENTRY (entry), FALSE);  
+  
+  parent = gtk_widget_get_parent (entry);
+  if (parent)
+    gtk_widget_modify_base (entry, 
+                            GTK_STATE_NORMAL,
+                           &(parent->style->bg[GTK_STATE_NORMAL]));    
   return FALSE;
 }
 
@@ -638,6 +655,13 @@
 
   if (pane->priv->editable) {
     value = gtk_entry_new ();
+    /* Make the entry "transparent" by setting the base colour to that of
+       the parent, and removing the frame */
+    gtk_entry_set_has_frame (GTK_ENTRY (value), FALSE);
+    gtk_widget_modify_base (value, 
+                            GTK_STATE_NORMAL,
+                           &(GTK_WIDGET (pane)->style->bg[GTK_STATE_NORMAL]));
+    
     if (attr_value)
       gtk_entry_set_text (GTK_ENTRY (value), attr_value);
     else




--- End Message ---
--- Begin Message ---
Author: thomas
Date: 2007-05-14 17:05:54 +0200 (Mon, 14 May 2007)
New Revision: 1954

Modified:
   
trunk/src/target/OM-2007/panel-plugins/openmoko-panel-battery/src/openmoko-panel-battery.c
Log:
openmoko-panel-battery: don't print out debug messages every five seconds


Modified: 
trunk/src/target/OM-2007/panel-plugins/openmoko-panel-battery/src/openmoko-panel-battery.c
===================================================================
--- 
trunk/src/target/OM-2007/panel-plugins/openmoko-panel-battery/src/openmoko-panel-battery.c
  2007-05-14 10:44:21 UTC (rev 1953)
+++ 
trunk/src/target/OM-2007/panel-plugins/openmoko-panel-battery/src/openmoko-panel-battery.c
  2007-05-14 15:05:54 UTC (rev 1954)
@@ -51,7 +51,7 @@
 static gboolean
 timeout (BatteryApplet *applet)
 {
-    g_debug( "openmoko-panel-battery::timeout" );
+    // g_debug( "openmoko-panel-battery::timeout" );
 
     apm_info info;
     // How about g_new0 here?
@@ -69,8 +69,8 @@
 
     //FIXME Can we actually find out, when the battery is full?
 
-    g_debug( "-- info.battery_status = %0xd", info.battery_status );
-    g_debug( "-- info.battery_percentage = %0xd", info.battery_percentage );
+    // g_debug( "-- info.battery_status = %0xd", info.battery_status );
+    // g_debug( "-- info.battery_percentage = %0xd", info.battery_percentage );
 
     if ( info.battery_status == BATTERY_STATUS_ABSENT ||
          info.battery_status == BATTERY_STATUS_CHARGING )




--- End Message ---
--- Begin Message ---
Author: laforge
Date: 2007-05-15 06:10:26 +0200 (Tue, 15 May 2007)
New Revision: 1955

Added:
   trunk/src/target/kernel/patches/s3c2440-nand-disable-hwecc.patch
Modified:
   trunk/src/target/kernel/patches/series
Log:
add patch to disable hardware ecc for the time being...


Added: trunk/src/target/kernel/patches/s3c2440-nand-disable-hwecc.patch
===================================================================
--- trunk/src/target/kernel/patches/s3c2440-nand-disable-hwecc.patch    
2007-05-14 15:05:54 UTC (rev 1954)
+++ trunk/src/target/kernel/patches/s3c2440-nand-disable-hwecc.patch    
2007-05-15 04:10:26 UTC (rev 1955)
@@ -0,0 +1,17 @@
+Disable the hardware ECC checking on S3C2440 based platforms (HXD8, SMDK2440,
+GTA02) for the time being, since our u-boot doesn't yet support it for 2k page
+size NAND
+
+Index: linux-2.6.21-moko/drivers/mtd/nand/s3c2410.c
+===================================================================
+--- linux-2.6.21-moko.orig/drivers/mtd/nand/s3c2410.c
++++ linux-2.6.21-moko/drivers/mtd/nand/s3c2410.c
+@@ -644,7 +644,7 @@
+       nmtd->mtd.owner    = THIS_MODULE;
+       nmtd->set          = set;
+ 
+-      if (hardware_ecc) {
++      if (info->cpu_type == TYPE_S3C2410 && hardware_ecc) {
+               chip->ecc.calculate = s3c2410_nand_calculate_ecc;
+               chip->ecc.correct   = s3c2410_nand_correct_data;
+               chip->ecc.mode      = NAND_ECC_HW;

Modified: trunk/src/target/kernel/patches/series
===================================================================
--- trunk/src/target/kernel/patches/series      2007-05-14 15:05:54 UTC (rev 
1954)
+++ trunk/src/target/kernel/patches/series      2007-05-15 04:10:26 UTC (rev 
1955)
@@ -34,3 +34,4 @@
 config-nr-tty-devices.patch
 hxd8-core.patch
 s3c2410_fb-truecolor.patch
+s3c2440-nand-disable-hwecc.patch




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

Reply via email to