Merge lp:~dobey/ubuntu/oneiric/libubuntuone/release-0110 into lp:ubuntu/oneiric/libubuntuone

Proposed by dobey
Status: Merged
Merged at revision: 90
Proposed branch: lp:~dobey/ubuntu/oneiric/libubuntuone/release-0110
Merge into: lp:ubuntu/oneiric/libubuntuone
Diff against target: 184 lines (+48/-30)
4 files modified
configure (+10/-10)
configure.ac (+1/-1)
debian/changelog (+7/-0)
libubuntuone/u1-music-store.c (+30/-19)
To merge this branch: bzr merge lp:~dobey/ubuntu/oneiric/libubuntuone/release-0110
Reviewer Review Type Date Requested Status
Ubuntu branches Pending
Review via email: mp+75243@code.launchpad.net
To post a comment you must log in.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'configure'
2--- configure 2011-04-15 20:56:10 +0000
3+++ configure 2011-09-13 19:37:24 +0000
4@@ -1,6 +1,6 @@
5 #! /bin/sh
6 # Guess values for system-dependent variables and create Makefiles.
7-# Generated by GNU Autoconf 2.67 for libubuntuone 0.10.0.
8+# Generated by GNU Autoconf 2.67 for libubuntuone 0.11.0.
9 #
10 #
11 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
12@@ -698,8 +698,8 @@
13 # Identity of this package.
14 PACKAGE_NAME='libubuntuone'
15 PACKAGE_TARNAME='libubuntuone'
16-PACKAGE_VERSION='0.10.0'
17-PACKAGE_STRING='libubuntuone 0.10.0'
18+PACKAGE_VERSION='0.11.0'
19+PACKAGE_STRING='libubuntuone 0.11.0'
20 PACKAGE_BUGREPORT=''
21 PACKAGE_URL=''
22
23@@ -1535,7 +1535,7 @@
24 # Omit some internal or obsolete options to make the list less imposing.
25 # This message is too long to be a string in the A/UX 3.1 sh.
26 cat <<_ACEOF
27-\`configure' configures libubuntuone 0.10.0 to adapt to many kinds of systems.
28+\`configure' configures libubuntuone 0.11.0 to adapt to many kinds of systems.
29
30 Usage: $0 [OPTION]... [VAR=VALUE]...
31
32@@ -1605,7 +1605,7 @@
33
34 if test -n "$ac_init_help"; then
35 case $ac_init_help in
36- short | recursive ) echo "Configuration of libubuntuone 0.10.0:";;
37+ short | recursive ) echo "Configuration of libubuntuone 0.11.0:";;
38 esac
39 cat <<\_ACEOF
40
41@@ -1730,7 +1730,7 @@
42 test -n "$ac_init_help" && exit $ac_status
43 if $ac_init_version; then
44 cat <<\_ACEOF
45-libubuntuone configure 0.10.0
46+libubuntuone configure 0.11.0
47 generated by GNU Autoconf 2.67
48
49 Copyright (C) 2010 Free Software Foundation, Inc.
50@@ -2095,7 +2095,7 @@
51 This file contains any messages produced by compilers while
52 running configure, to aid debugging if configure makes a mistake.
53
54-It was created by libubuntuone $as_me 0.10.0, which was
55+It was created by libubuntuone $as_me 0.11.0, which was
56 generated by GNU Autoconf 2.67. Invocation command line was
57
58 $ $0 $@
59@@ -2918,7 +2918,7 @@
60
61 # Define the identity of the package.
62 PACKAGE='libubuntuone'
63- VERSION='0.10.0'
64+ VERSION='0.11.0'
65
66
67 cat >>confdefs.h <<_ACEOF
68@@ -14638,7 +14638,7 @@
69 # report actual input values of CONFIG_FILES etc. instead of their
70 # values after options handling.
71 ac_log="
72-This file was extended by libubuntuone $as_me 0.10.0, which was
73+This file was extended by libubuntuone $as_me 0.11.0, which was
74 generated by GNU Autoconf 2.67. Invocation command line was
75
76 CONFIG_FILES = $CONFIG_FILES
77@@ -14704,7 +14704,7 @@
78 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
79 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
80 ac_cs_version="\\
81-libubuntuone config.status 0.10.0
82+libubuntuone config.status 0.11.0
83 configured by $0, generated by GNU Autoconf 2.67,
84 with options \\"\$ac_cs_config\\"
85
86
87=== modified file 'configure.ac'
88--- configure.ac 2011-04-15 20:54:53 +0000
89+++ configure.ac 2011-09-13 19:37:24 +0000
90@@ -1,4 +1,4 @@
91-AC_INIT([libubuntuone], [0.10.0], [], [libubuntuone])
92+AC_INIT([libubuntuone], [0.11.0], [], [libubuntuone])
93
94 AC_PREREQ([2.59])
95
96
97=== modified file 'debian/changelog'
98--- debian/changelog 2011-08-24 18:07:25 +0000
99+++ debian/changelog 2011-09-13 19:37:24 +0000
100@@ -1,3 +1,10 @@
101+libubuntuone (0.11.0-0ubuntu1) oneiric; urgency=low
102+
103+ * New upstream release.
104+ - Dely initial rescan of purchased music folder for 10s (LP: #788532)
105+
106+ -- Rodney Dawes <rodney.dawes@ubuntu.com> Tue, 13 Sep 2011 15:30:33 -0400
107+
108 libubuntuone (0.10.0-0ubuntu4) oneiric; urgency=low
109
110 * debian/control: Fix gir1.2-json-glib-1.0 → gir1.2-json-1.0 build
111
112=== modified file 'libubuntuone/u1-music-store.c'
113--- libubuntuone/u1-music-store.c 2011-04-15 20:54:53 +0000
114+++ libubuntuone/u1-music-store.c 2011-09-13 19:37:24 +0000
115@@ -1221,6 +1221,34 @@
116 music_store);
117 }
118
119+static gboolean
120+_u1_music_store_delayed_init (gpointer user_data)
121+{
122+ U1MusicStore *music_store = U1_MUSIC_STORE (user_data);
123+ SyncdaemonFolderInfo *folder_info;
124+
125+ /* Figure out if the Purchased Music folder is subscribed */
126+ folder_info = syncdaemon_daemon_get_folder_info (music_store->priv->syncdaemon, u1_music_store_get_library_location (music_store));
127+ music_store->priv->folder_subscribed = syncdaemon_folder_info_get_subscribed (folder_info);
128+
129+ /* Create a hidden progress bar */
130+ music_store->priv->progress = gtk_progress_bar_new ();
131+
132+ g_signal_connect (G_OBJECT (music_store->priv->web_viewer), "notify",
133+ G_CALLBACK (viewer_property_changed_cb), music_store);
134+
135+ /* And load the real store in the background */
136+ music_store->priv->idle_cb = g_idle_add ((GSourceFunc) load_real_store_cb, music_store);
137+
138+ gtk_box_pack_start (GTK_BOX (music_store), music_store->priv->alertbar, FALSE, FALSE, 6);
139+ gtk_box_pack_start (GTK_BOX (music_store), music_store->priv->scroll, TRUE, TRUE, 0);
140+ gtk_box_pack_end (GTK_BOX (music_store), music_store->priv->progress, FALSE, FALSE, 0);
141+
142+ _u1_music_store_rescan_purchased_folder (music_store);
143+
144+ return FALSE;
145+}
146+
147 static void
148 u1_music_store_init (U1MusicStore *music_store)
149 {
150@@ -1228,7 +1256,6 @@
151 const gchar *url_to_use;
152 SoupSession *session;
153 GtkWidget *alert_icon;
154- SyncdaemonFolderInfo *folder_info;
155
156 if (!g_thread_get_initialized ())
157 g_thread_init (NULL);
158@@ -1343,24 +1370,8 @@
159 g_signal_connect (G_OBJECT (music_store->priv->subscribe_btn), "clicked",
160 G_CALLBACK (subscribe_purchased_folder), music_store);
161
162- /* Figure out if the Purchased Music folder is subscribed */
163- folder_info = syncdaemon_daemon_get_folder_info (music_store->priv->syncdaemon, u1_music_store_get_library_location (music_store));
164- music_store->priv->folder_subscribed = syncdaemon_folder_info_get_subscribed (folder_info);
165-
166- /* Create a hidden progress bar */
167- music_store->priv->progress = gtk_progress_bar_new ();
168-
169- g_signal_connect (G_OBJECT (music_store->priv->web_viewer), "notify",
170- G_CALLBACK (viewer_property_changed_cb), music_store);
171-
172- /* And load the real store in the background */
173- music_store->priv->idle_cb = g_idle_add ((GSourceFunc) load_real_store_cb, music_store);
174-
175- gtk_box_pack_start (GTK_BOX (music_store), music_store->priv->alertbar, FALSE, FALSE, 6);
176- gtk_box_pack_start (GTK_BOX (music_store), music_store->priv->scroll, TRUE, TRUE, 0);
177- gtk_box_pack_end (GTK_BOX (music_store), music_store->priv->progress, FALSE, FALSE, 0);
178-
179- _u1_music_store_rescan_purchased_folder (music_store);
180+ g_timeout_add_seconds(10, (GSourceFunc) _u1_music_store_delayed_init,
181+ music_store);
182 }
183
184 /**

Subscribers

People subscribed via source and target branches

to all changes: