rpms/rhythmbox/devel rhythmbox-first-time-load.patch, NONE, 1.1 rhythmbox.spec, 1.109, 1.110

fedora-cvs-commits at redhat.com fedora-cvs-commits at redhat.com
Wed Apr 18 22:22:47 UTC 2007


Author: bnocera

Update of /cvs/dist/rpms/rhythmbox/devel
In directory cvs.devel.redhat.com:/tmp/cvs-serv9150

Modified Files:
	rhythmbox.spec 
Added Files:
	rhythmbox-first-time-load.patch 
Log Message:
* Wed Apr 18 2007 - Bastien Nocera <bnocera at redhat.com> - 0.10.0-5.fc7
- Set the first time flag on startup, otherwise the iRadio's initial
  playlist is never loaded (Gnoem BZ #431167)


rhythmbox-first-time-load.patch:
 rb-shell.c |    4 ++++
 1 files changed, 4 insertions(+)

--- NEW FILE rhythmbox-first-time-load.patch ---
Index: rb-shell.c
===================================================================
--- rb-shell.c	(revision 5040)
+++ rb-shell.c	(working copy)
@@ -1402,6 +1402,10 @@
 	rb_shell_sync_paned (shell);
 	gtk_widget_show_all (GTK_WIDGET (shell->priv->tray_icon));
 
+	/* Do as if we ran the first time druid */
+	if (!eel_gconf_get_boolean (CONF_FIRST_TIME))
+		eel_gconf_set_boolean (CONF_FIRST_TIME, TRUE);
+
 	rb_shell_set_visibility (shell, eel_gconf_get_boolean (CONF_STATE_WINDOW_VISIBLE), TRUE);
 	gdk_notify_startup_complete ();
 


Index: rhythmbox.spec
===================================================================
RCS file: /cvs/dist/rpms/rhythmbox/devel/rhythmbox.spec,v
retrieving revision 1.109
retrieving revision 1.110
diff -u -r1.109 -r1.110
--- rhythmbox.spec	11 Apr 2007 15:23:07 -0000	1.109
+++ rhythmbox.spec	18 Apr 2007 22:22:45 -0000	1.110
@@ -3,7 +3,7 @@
 Name: rhythmbox
 Summary: Music Management Application 
 Version: 0.10.0
-Release: 4%{?dist}
+Release: 5%{?dist}
 License: GPL
 Group: Applications/Multimedia
 URL: http://www.gnome.org/projects/rhythmbox/
@@ -45,6 +45,7 @@
 ExcludeArch:    s390 s390x
 
 Patch0: rhythmbox-0.10.0-xdg-user-dirs-no-autoconf.patch
+Patch1: rhythmbox-first-time-load.patch
 
 %description
 Rhythmbox is an integrated music management application based on the powerful
@@ -56,6 +57,8 @@
 %setup -q
 
 %patch0 -p0 -b .xdg-user-dirs
+cd shell/
+%patch1 -p0 -b .set-first-time
 
 %build
 
@@ -144,6 +147,10 @@
 %{_libexecdir}/rhythmbox-metadata
 
 %changelog
+* Wed Apr 18 2007 - Bastien Nocera <bnocera at redhat.com> - 0.10.0-5.fc7
+- Set the first time flag on startup, otherwise the iRadio's initial
+  playlist is never loaded (Gnoem BZ #431167)
+
 * Wed Apr 11 2007 - Bastien Nocera <bnocera at redhat.com> - 0.10.0-4.fc7
 - Provide some quality Ogg radios in the default iRadio catalogue
   (#229677)




More information about the fedora-cvs-commits mailing list