[Xfce4-commits] <parole:master> Bring the main window to the current desktop when adding files from the command line+Update pot file

Ali Abdallah aliov at xfce.org
Fri Aug 14 19:02:05 CEST 2009


Updating branch refs/heads/master
         to be47dfd6d18cb38269178305c24f45220e241e3f (commit)
       from e38cf75dd31b46408b84db8c866210267047a16e (commit)

commit be47dfd6d18cb38269178305c24f45220e241e3f
Author: Ali Abdallah <aliov at xfce.org>
Date:   Fri Aug 14 18:52:08 2009 +0200

    Bring the main window to the current desktop when adding files from the command line+Update pot file

 parole/main.c              |    2 +-
 parole/parole-medialist.c  |    4 +-
 po/parole-media-player.pot |  112 +++++++++++++++++++++++++-------------------
 3 files changed, 68 insertions(+), 50 deletions(-)

diff --git a/parole/main.c b/parole/main.c
index 67e30ec..da8cc7f 100644
--- a/parole/main.c
+++ b/parole/main.c
@@ -190,7 +190,7 @@ int main (int argc, char **argv)
 	
     if ( !new_instance && parole_dbus_name_has_owner (PAROLE_DBUS_NAME) )
     {
-	TRACE ("Parole is already running");
+	g_print (_("Parole is already running, use -i to open a new instance\n"));
 	if ( filenames && filenames[0] != NULL )
 	    parole_send (filenames);
     }
diff --git a/parole/parole-medialist.c b/parole/parole-medialist.c
index d4f5020..988706e 100644
--- a/parole/parole-medialist.c
+++ b/parole/parole-medialist.c
@@ -1267,7 +1267,7 @@ static gboolean	 parole_media_list_dbus_add_files (ParoleMediaList *list,
 						   GError **error)
 {
     TRACE ("Adding files for DBus request");
-    
+    gtk_window_present (GTK_WINDOW (gtk_widget_get_toplevel (GTK_WIDGET (list))));
     parole_media_list_add_files (list, in_files);
     
     return TRUE;
@@ -1279,6 +1279,8 @@ static gboolean  parole_media_list_dbus_play_disc (ParoleMediaList *list,
 {
     TRACE ("uri : %s", in_uri);
     
+    gtk_window_present (GTK_WINDOW (gtk_widget_get_toplevel (GTK_WIDGET (list))));
+    
     if ( parole_is_uri_disc (in_uri) )
 	g_signal_emit (G_OBJECT (list), signals [URI_OPENED], 0, in_uri);
 	
diff --git a/po/parole-media-player.pot b/po/parole-media-player.pot
index 94052de..6640fec 100644
--- a/po/parole-media-player.pot
+++ b/po/parole-media-player.pot
@@ -8,7 +8,7 @@ msgid ""
 msgstr ""
 "Project-Id-Version: PACKAGE VERSION\n"
 "Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2009-08-06 14:27+0200\n"
+"POT-Creation-Date: 2009-08-14 18:51+0200\n"
 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
 "Last-Translator: FULL NAME <EMAIL at ADDRESS>\n"
 "Language-Team: LANGUAGE <LL at li.org>\n"
@@ -56,8 +56,8 @@ msgstr ""
 msgid "Mute"
 msgstr ""
 
-#: ../data/interfaces/parole.ui.h:11 ../parole/parole-player.c:992
-#: ../parole/parole-disc-menu.c:101
+#: ../data/interfaces/parole.ui.h:11 ../parole/parole-player.c:997
+#: ../parole/parole-disc-menu.c:113
 msgid "Next Chapter"
 msgstr ""
 
@@ -75,8 +75,8 @@ msgstr ""
 msgid "Plugins"
 msgstr ""
 
-#: ../data/interfaces/parole.ui.h:15 ../parole/parole-player.c:1004
-#: ../parole/parole-disc-menu.c:102
+#: ../data/interfaces/parole.ui.h:15 ../parole/parole-player.c:1009
+#: ../parole/parole-disc-menu.c:114
 msgid "Previous Chapter"
 msgstr ""
 
@@ -85,42 +85,46 @@ msgid "Repeat"
 msgstr ""
 
 #: ../data/interfaces/parole.ui.h:17
-msgid "Shuffle"
+msgid "Select Track"
 msgstr ""
 
 #: ../data/interfaces/parole.ui.h:18
-msgid "Sound"
+msgid "Shuffle"
 msgstr ""
 
 #: ../data/interfaces/parole.ui.h:19
-msgid "Square"
+msgid "Sound"
 msgstr ""
 
 #: ../data/interfaces/parole.ui.h:20
-msgid "Volume Down"
+msgid "Square"
 msgstr ""
 
 #: ../data/interfaces/parole.ui.h:21
-msgid "Volume Up"
+msgid "Volume Down"
 msgstr ""
 
 #: ../data/interfaces/parole.ui.h:22
-msgid "_Edit"
+msgid "Volume Up"
 msgstr ""
 
 #: ../data/interfaces/parole.ui.h:23
-msgid "_Help"
+msgid "_Edit"
 msgstr ""
 
 #: ../data/interfaces/parole.ui.h:24
-msgid "_Media"
+msgid "_Help"
 msgstr ""
 
 #: ../data/interfaces/parole.ui.h:25
-msgid "_View"
+msgid "_Media"
 msgstr ""
 
 #: ../data/interfaces/parole.ui.h:26
+msgid "_View"
+msgstr ""
+
+#: ../data/interfaces/parole.ui.h:27
 msgid "gtk-leave-fullscreen"
 msgstr ""
 
@@ -241,26 +245,26 @@ msgstr ""
 msgid "Media to play"
 msgstr ""
 
-#: ../parole/main.c:172
+#: ../parole/main.c:193
 #, c-format
-msgid "Type '%s --help' for usage."
+msgid "Parole is already running, use -i to open a new instance\n"
 msgstr ""
 
-#: ../parole/parole-gst.c:1258
+#: ../parole/parole-gst.c:1289
 msgid ""
 "Unable to load playbin GStreamer plugin, check your GStreamer installation"
 msgstr ""
 
-#: ../parole/parole-gst.c:1274
+#: ../parole/parole-gst.c:1305
 msgid ""
 "Unable to load video GStreamer plugin, check your GStreamer installation"
 msgstr ""
 
-#: ../parole/parole-gst.c:1464
+#: ../parole/parole-gst.c:1501
 msgid "The stream is tacking too much time to load"
 msgstr ""
 
-#: ../parole/parole-gst.c:1464
+#: ../parole/parole-gst.c:1501
 msgid "Stop"
 msgstr ""
 
@@ -272,43 +276,43 @@ msgstr ""
 msgid "Add"
 msgstr ""
 
-#: ../parole/parole-medialist.c:384
+#: ../parole/parole-medialist.c:417
 msgid "Error saving playlist file"
 msgstr ""
 
-#: ../parole/parole-medialist.c:384
+#: ../parole/parole-medialist.c:417
 msgid "Permission denied"
 msgstr ""
 
-#: ../parole/parole-medialist.c:393
+#: ../parole/parole-medialist.c:426
 msgid "Unknown playlist format, Please select a support playlist format"
 msgstr ""
 
-#: ../parole/parole-medialist.c:459 ../parole/parole-player.c:1462
+#: ../parole/parole-medialist.c:492 ../parole/parole-player.c:1472
 msgid "Playlist"
 msgstr ""
 
-#: ../parole/parole-medialist.c:466
+#: ../parole/parole-medialist.c:499
 msgid "M3U Playlists"
 msgstr ""
 
-#: ../parole/parole-medialist.c:474
+#: ../parole/parole-medialist.c:507
 msgid "PLS Playlists"
 msgstr ""
 
-#: ../parole/parole-medialist.c:482
+#: ../parole/parole-medialist.c:515
 msgid "Advanced Stream Redirector"
 msgstr ""
 
-#: ../parole/parole-medialist.c:490
+#: ../parole/parole-medialist.c:523
 msgid "Shareable Playlist"
 msgstr ""
 
-#: ../parole/parole-medialist.c:667
+#: ../parole/parole-medialist.c:838
 msgid "Remember playlist"
 msgstr ""
 
-#: ../parole/parole-medialist.c:819
+#: ../parole/parole-medialist.c:988
 msgid "Media list"
 msgstr ""
 
@@ -316,21 +320,21 @@ msgstr ""
 msgid "Show playlist"
 msgstr ""
 
-#: ../parole/parole-player.c:501
+#: ../parole/parole-player.c:502
 msgid "Media stream is not seekable"
 msgstr ""
 
 #.
 #. * Next chapter menu item
 #.
-#: ../parole/parole-player.c:992 ../parole/parole-disc-menu.c:110
+#: ../parole/parole-player.c:997 ../parole/parole-disc-menu.c:122
 msgid "Next Track"
 msgstr ""
 
 #.
 #. * Previous chapter menu item
 #.
-#: ../parole/parole-player.c:1004 ../parole/parole-disc-menu.c:111
+#: ../parole/parole-player.c:1009 ../parole/parole-disc-menu.c:123
 msgid "Previous Track"
 msgstr ""
 
@@ -383,7 +387,7 @@ msgstr ""
 msgid "Translator (%s)"
 msgstr ""
 
-#: ../parole/parole-disc.c:177
+#: ../parole/parole-disc.c:203
 msgid "Play Disc"
 msgstr ""
 
@@ -566,45 +570,57 @@ msgstr ""
 msgid "Clear history"
 msgstr ""
 
-#: ../parole/parole-disc-menu.c:118
+#: ../parole/parole-disc-menu.c:130
 msgid "Playing Track"
 msgstr ""
 
-#: ../plugins/properties/stream-properties.c:44
-#: ../plugins/properties/stream-properties.c:45
-#: ../plugins/properties/stream-properties.c:46
-#: ../plugins/properties/stream-properties.c:47
-#: ../plugins/properties/stream-properties.c:48
+#: ../parole/parole-disc-menu.c:194
+#, c-format
+msgid "Track %i"
+msgstr ""
+
+#: ../plugins/properties/stream-properties.c:121
+#: ../plugins/properties/stream-properties.c:122
+#: ../plugins/properties/stream-properties.c:123
+#: ../plugins/properties/stream-properties.c:124
 msgid "Unknown"
 msgstr ""
 
-#: ../plugins/properties/stream-properties.c:70
+#: ../plugins/properties/stream-properties.c:220
 msgid "Title:"
 msgstr ""
 
-#: ../plugins/properties/stream-properties.c:93
+#: ../plugins/properties/stream-properties.c:243
 msgid "Artist:"
 msgstr ""
 
-#: ../plugins/properties/stream-properties.c:116
+#: ../plugins/properties/stream-properties.c:266
 msgid "Album:"
 msgstr ""
 
-#: ../plugins/properties/stream-properties.c:139
+#: ../plugins/properties/stream-properties.c:289
 msgid "Year:"
 msgstr ""
 
-#: ../plugins/properties/stream-properties.c:162
-msgid "Comment:"
+#: ../plugins/properties/stream-properties.c:307
+msgid "General"
+msgstr ""
+
+#: ../plugins/properties/stream-properties.c:354
+msgid "Stream doesn't support tags changes"
+msgstr ""
+
+#: ../plugins/properties/stream-properties.c:361
+msgid "Save media tags changes"
 msgstr ""
 
 #. Construct function
-#: ../plugins/properties/stream-properties.c:288
+#: ../plugins/properties/stream-properties.c:485
 msgid "Properties"
 msgstr ""
 
 #. Title
-#: ../plugins/properties/stream-properties.c:289
+#: ../plugins/properties/stream-properties.c:486
 msgid "Read media properties"
 msgstr ""
 



More information about the Xfce4-commits mailing list