r1654 - trunk/src/target/OM-2007/applications/openmoko-dialer/src

tony_guan at sita.openmoko.org tony_guan at sita.openmoko.org
Wed Apr 4 11:12:33 CEST 2007


Author: tony_guan
Date: 2007-04-04 11:12:23 +0200 (Wed, 04 Apr 2007)
New Revision: 1654

Modified:
   trunk/src/target/OM-2007/applications/openmoko-dialer/src/history.c
   trunk/src/target/OM-2007/applications/openmoko-dialer/src/openmoko-dialer-window-history.c
Log:
bug405


Modified: trunk/src/target/OM-2007/applications/openmoko-dialer/src/history.c
===================================================================
--- trunk/src/target/OM-2007/applications/openmoko-dialer/src/history.c	2007-04-04 08:43:35 UTC (rev 1653)
+++ trunk/src/target/OM-2007/applications/openmoko-dialer/src/history.c	2007-04-04 09:12:23 UTC (rev 1654)
@@ -309,11 +309,12 @@
 
   DBG_ENTER ();
   int res = history_read_list (historyhead);
-
+/*
   if (res == 0)
   {
     res = history_read_list_cmd (historyhead);
   }
+  */
   DBG_MESSAGE ("History:%d", historyhead->length);
   DBG_LEAVE ();
   return res;

Modified: trunk/src/target/OM-2007/applications/openmoko-dialer/src/openmoko-dialer-window-history.c
===================================================================
--- trunk/src/target/OM-2007/applications/openmoko-dialer/src/openmoko-dialer-window-history.c	2007-04-04 08:43:35 UTC (rev 1653)
+++ trunk/src/target/OM-2007/applications/openmoko-dialer/src/openmoko-dialer-window-history.c	2007-04-04 09:12:23 UTC (rev 1654)
@@ -322,6 +322,7 @@
   {
     DBG_MESSAGE ("NEED TO UPDATE HISTORY");
   }
+  history_update_counter (appdata);
 
   DBG_LEAVE ();
 }
@@ -504,7 +505,7 @@
   gtk_misc_set_alignment (GTK_MISC (labelFilter), 0, 0.5);
   p_dialer_data->label_filter_history = labelFilter;
 
-  GtkWidget *labelCounter = gtk_label_new (("1/21"));
+  GtkWidget *labelCounter = gtk_label_new (("0/0"));
   gtk_widget_show (labelCounter);
   gtk_box_pack_start (GTK_BOX (hbox67), labelCounter, TRUE, TRUE, 0);
   gtk_label_set_justify (GTK_LABEL (labelCounter), GTK_JUSTIFY_RIGHT);





More information about the commitlog mailing list