rhythmbox r6154 - in trunk: . shell



Author: hadess
Date: Tue Feb 17 22:48:52 2009
New Revision: 6154
URL: http://svn.gnome.org/viewvc/rhythmbox?rev=6154&view=rev

Log:
2009-02-17  Bastien Nocera  <hadess hadess net>

	* shell/main.c (main): Set the PulseAudio property as per
	http://pulseaudio.org/wiki/ApplicationProperties



Modified:
   trunk/ChangeLog
   trunk/shell/main.c

Modified: trunk/shell/main.c
==============================================================================
--- trunk/shell/main.c	(original)
+++ trunk/shell/main.c	Tue Feb 17 22:48:52 2009
@@ -267,6 +267,8 @@
 
 		gtk_window_set_default_icon_name ("rhythmbox");
 
+		g_setenv ("PULSE_PROP_media.role", "music", TRUE);
+
 		rb_shell = rb_shell_new (no_registration, no_update, dry_run, rhythmdb_file, playlists_file);
 		g_object_weak_ref (G_OBJECT (rb_shell), main_shell_weak_ref_cb, NULL);
 		if (!no_registration && session_bus != NULL) {



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