[Xfce4-commits] <parole:master> Make window title translateable

Sean Davis noreply at xfce.org
Fri Oct 11 11:50:27 CEST 2013


Updating branch refs/heads/master
         to 0379f945b101376530b57fc782ba8bc6cf5721bc (commit)
       from bb53a5371d7a93746eeb32e9437dff68d4a31aea (commit)

commit 0379f945b101376530b57fc782ba8bc6cf5721bc
Author: Sean Davis <smd.seandavis at gmail.com>
Date:   Tue Aug 20 22:33:00 2013 -0400

    Make window title translateable

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

diff --git a/src/parole-player.c b/src/parole-player.c
index 847f319..8b3f75e 100644
--- a/src/parole-player.c
+++ b/src/parole-player.c
@@ -600,7 +600,7 @@ parole_player_reset (ParolePlayer *player)
 {
 	parole_gst_stop (PAROLE_GST (player->priv->gst));
 	player->priv->update_languages = TRUE;
-	gtk_window_set_title (GTK_WINDOW (player->priv->window), "Parole Media Player");
+	gtk_window_set_title (GTK_WINDOW (player->priv->window), _("Parole Media Player"));
 	player->priv->audio_list = NULL;
 	player->priv->subtitle_list = NULL;
 	
@@ -1449,7 +1449,7 @@ parole_player_stopped (ParolePlayer *player)
 			      parole_media_list_is_selected_row (player->priv->list) || 
 			      !parole_media_list_is_empty (player->priv->list));
 			      
-    gtk_window_set_title (GTK_WINDOW (player->priv->window), "Parole Media Player");
+    gtk_window_set_title (GTK_WINDOW (player->priv->window), _("Parole Media Player"));
 
 	gtk_widget_hide(player->priv->videobox);
 	gtk_widget_hide(player->priv->audiobox);


More information about the Xfce4-commits mailing list