r2789 - trunk/src/target/OM-2007.2/applications/openmoko-calculator2/src

mickey at sita.openmoko.org mickey at sita.openmoko.org
Wed Aug 22 17:43:58 CEST 2007


Author: mickey
Date: 2007-08-22 17:43:57 +0200 (Wed, 22 Aug 2007)
New Revision: 2789

Modified:
   trunk/src/target/OM-2007.2/applications/openmoko-calculator2/src/calc-main.c
Log:
openmoko-calculator2: don't use markup in display label, we do it by style now


Modified: trunk/src/target/OM-2007.2/applications/openmoko-calculator2/src/calc-main.c
===================================================================
--- trunk/src/target/OM-2007.2/applications/openmoko-calculator2/src/calc-main.c	2007-08-22 15:37:47 UTC (rev 2788)
+++ trunk/src/target/OM-2007.2/applications/openmoko-calculator2/src/calc-main.c	2007-08-22 15:43:57 UTC (rev 2789)
@@ -98,11 +98,11 @@
 	static int toomany = 0;
 	if ((the_state.func != &noop_func) || (++toomany % 7))
 	  gtk_label_set_markup(GTK_LABEL(displayed_label),
-			       _("<big>Not a Number</big>"));
+			       _("Error"));
 	else
 	  /* ok, let's have some fun too... */
 	  gtk_label_set_markup(GTK_LABEL(displayed_label),
-			       _("<big>Not a Number</big>\n"
+			       _("Error\n"
 				 "<span foreground=\"darkgrey\" size=\"smaller\">covert_channel/ack</span>\n"
 				 "<span foreground=\"orange\" style=\"italic\">Beam request transmitted...</span>"));
       }





More information about the commitlog mailing list