[Xfce4-commits] <parole:master> Fix None string not translated after subtitle clear

Sean Davis noreply at xfce.org
Sat Nov 2 13:28:01 CET 2013


Updating branch refs/heads/master
         to 5d474929f70cb56da89b6d597f1c80ef8a87f460 (commit)
       from d69a4206a65feee38e67abd7cc56e9dbff8cd459 (commit)

commit 5d474929f70cb56da89b6d597f1c80ef8a87f460
Author: Sean Davis <smd.seandavis at gmail.com>
Date:   Sat Nov 2 08:27:46 2013 -0400

    Fix None string not translated after subtitle clear

 src/parole-player.c |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/src/parole-player.c b/src/parole-player.c
index e3b1067..43785fc 100644
--- a/src/parole-player.c
+++ b/src/parole-player.c
@@ -675,7 +675,6 @@ parole_player_clear_chapters (ParolePlayer *player)
     
     /* Clear the chapter menu options */
     menu_items = gtk_container_get_children( GTK_CONTAINER (player->priv->chapters_menu) );
-    //gtk_check_menu_item_set_active(GTK_CHECK_MENU_ITEM(player->priv->subtitles_group), TRUE);
     
     for (menu_iter = menu_items; menu_iter != NULL; menu_iter = g_list_next(menu_iter))
     {
@@ -723,7 +722,7 @@ parole_player_clear_subtitles (ParolePlayer *player)
     /* Clear the InfoBar Combobox */
     gtk_list_store_clear(player->priv->liststore_subtitles);
     gtk_list_store_append(GTK_LIST_STORE(player->priv->liststore_subtitles), &iter);
-    gtk_list_store_set(GTK_LIST_STORE(player->priv->liststore_subtitles), &iter, 0, "None", -1);
+    gtk_list_store_set(GTK_LIST_STORE(player->priv->liststore_subtitles), &iter, 0, _("None"), -1);
     gtk_combo_box_set_active( GTK_COMBO_BOX(player->priv->combobox_subtitles), 0 );
     
     /* Clear the subtitle menu options */


More information about the Xfce4-commits mailing list