[Goodies-commits] r6257 - xfce4-radio-plugin/trunk/panel-plugin

Stefan Ott cockroach at xfce.org
Wed Dec 3 04:36:43 CET 2008


Author: cockroach
Date: 2008-12-03 03:36:43 +0000 (Wed, 03 Dec 2008)
New Revision: 6257

Modified:
   xfce4-radio-plugin/trunk/panel-plugin/radio.c
Log:
Translated comment


Modified: xfce4-radio-plugin/trunk/panel-plugin/radio.c
===================================================================
--- xfce4-radio-plugin/trunk/panel-plugin/radio.c	2008-12-03 03:24:30 UTC (rev 6256)
+++ xfce4-radio-plugin/trunk/panel-plugin/radio.c	2008-12-03 03:36:43 UTC (rev 6257)
@@ -717,9 +717,9 @@
 	gint f;
 	gchar *text;
 
-	/* Get the double value from the model. */
+	// Get the double value from the model
 	gtk_tree_model_get (tree_model, iter, 1, &f, -1);
-	/* Now we can format the value ourselves. */
+	// Now we can format the value ourselves
 	text = g_strdup_printf ("%.2f", f / 100.0);
 	g_object_set (cell, "text", text, NULL);
 	g_free (text);
@@ -782,11 +782,9 @@
 		gtk_tree_path_free (path);
 	}
 	write_config (data, TRUE);
-	/*  TODO
-	 *  update_tooltip берет первое попавшееся значение из нескольких
-	 *  с одной и той же частотой, а при перемещении записи вверх или
-	 *  вниз может измениться первое попавшееся значение.
-	 */
+	// update_tooltip shows the first preset with the currently tuned
+	// frequency. If you have multiple entries with the same frequency,
+	// moving them up or down changes which one is shown in the tooltip
 	update_tooltip (data);
 }
 




More information about the Goodies-commits mailing list