[totem] Bug 573912 – Add properties for PulseAudio



commit a39fc04c12a6ac41dce4ea3cfdf49a83fae1e56f
Author: Bastien Nocera <hadess hadess net>
Date:   Sun Jul 19 23:45:29 2009 +0100

    Bug 573912 â?? Add properties for PulseAudio
    
    2009-07-19  Bastien Nocera  <hadess hadess net>
    
    	* src/totem-audio-preview.c (main): Add PA properties
    	to the binary (Closes: #573912)
    
    2009-07-19  Bastien Nocera  <hadess hadess net>
    
    	* POTFILES.in: Add audio preview to the list

 ChangeLog                 |    5 +++++
 po/ChangeLog              |    4 ++++
 po/POTFILES.in            |    1 +
 src/totem-audio-preview.c |    5 +++++
 4 files changed, 15 insertions(+), 0 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index dbd1b0a..e4963de 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
 2009-07-19  Bastien Nocera  <hadess hadess net>
 
+	* src/totem-audio-preview.c (main): Add PA properties
+	to the binary (Closes: #573912)
+
+2009-07-19  Bastien Nocera  <hadess hadess net>
+
 	* Makefile.am: Build the code first, and the docs last
 
 2009-07-19  Philip Withnall  <philip tecnocode co uk>
diff --git a/po/ChangeLog b/po/ChangeLog
index c68f02a..6e5350d 100644
--- a/po/ChangeLog
+++ b/po/ChangeLog
@@ -1,3 +1,7 @@
+2009-07-19  Bastien Nocera  <hadess hadess net>
+
+	* POTFILES.in: Add audio preview to the list
+
 2009-05-06  Bastien Nocera  <hadess hadess net>
 
 	* po/POTFILES.in: Update filelist
diff --git a/po/POTFILES.in b/po/POTFILES.in
index 2b9fe6b..b943a08 100644
--- a/po/POTFILES.in
+++ b/po/POTFILES.in
@@ -14,6 +14,7 @@ lib/totem-scrsaver.c
 src/eggdesktopfile.c
 src/eggfileformatchooser.c
 src/eggsmclient.c
+src/totem-audio-preview.c
 src/totem-cell-renderer-video.c
 src/totem-dnd-menu.c
 src/totem-fullscreen.c
diff --git a/src/totem-audio-preview.c b/src/totem-audio-preview.c
index 6814736..4b4dd86 100644
--- a/src/totem-audio-preview.c
+++ b/src/totem-audio-preview.c
@@ -78,6 +78,11 @@ int main (int argc, char **argv)
 
 	g_thread_init (NULL);
 	gdk_threads_init ();
+
+	g_set_application_name (_("Audio Preview"));
+	gtk_window_set_default_icon_name ("totem");
+	g_setenv("PULSE_PROP_media.role", "audio", TRUE);
+
 	context = g_option_context_new ("Plays audio passed on the standard input or the filename passed on the command-line");
 	options = bacon_video_widget_get_option_group ();
 	g_option_context_add_main_entries (context, entries, GETTEXT_PACKAGE);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]