r18160 - in /desktop/experimental/gnome-system-tools/debian: changelog patches/01_wait_for_backends.patch patches/series
joss at users.alioth.debian.org
joss at users.alioth.debian.org
Sun Jan 4 12:04:07 UTC 2009
Author: joss
Date: Sun Jan 4 12:04:07 2009
New Revision: 18160
URL: http://svn.debian.org/wsvn/pkg-gnome/?sc=1&rev=18160
Log:
01_wait_for_backends.patch: wait for the connection to the backends
to be established in case they are being autostarted.
Added:
desktop/experimental/gnome-system-tools/debian/patches/01_wait_for_backends.patch
Modified:
desktop/experimental/gnome-system-tools/debian/changelog
desktop/experimental/gnome-system-tools/debian/patches/series
Modified: desktop/experimental/gnome-system-tools/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/experimental/gnome-system-tools/debian/changelog?rev=18160&op=diff
==============================================================================
--- desktop/experimental/gnome-system-tools/debian/changelog (original)
+++ desktop/experimental/gnome-system-tools/debian/changelog Sun Jan 4 12:04:07 2009
@@ -9,6 +9,8 @@
* Build-depend on nautilus 2.22 to build the extension for the new
version.
* Donât install the .a and .la with the nautilus extension.
+ * 01_wait_for_backends.patch: wait for the connection to the backends
+ to be established in case they are being autostarted.
-- Josselin Mouette <joss at debian.org> Sun, 04 Jan 2009 12:01:07 +0100
Added: desktop/experimental/gnome-system-tools/debian/patches/01_wait_for_backends.patch
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/experimental/gnome-system-tools/debian/patches/01_wait_for_backends.patch?rev=18160&op=file
==============================================================================
--- desktop/experimental/gnome-system-tools/debian/patches/01_wait_for_backends.patch (added)
+++ desktop/experimental/gnome-system-tools/debian/patches/01_wait_for_backends.patch Sun Jan 4 12:04:07 2009
@@ -1,0 +1,25 @@
+Index: gnome-system-tools-2.22.1/src/common/gst-tool.c
+===================================================================
+--- gnome-system-tools-2.22.1.orig/src/common/gst-tool.c 2009-01-04 12:51:50.213180794 +0100
++++ gnome-system-tools-2.22.1/src/common/gst-tool.c 2009-01-04 12:55:26.357179753 +0100
+@@ -211,6 +211,7 @@ gst_tool_constructor (GType
+ const gchar *platform;
+ GtkWidget *dialog;
+ OobsResult result;
++ int i;
+
+ object = (* G_OBJECT_CLASS (gst_tool_parent_class)->constructor) (type,
+ n_construct_properties,
+@@ -231,6 +232,12 @@ gst_tool_constructor (GType
+ g_free (widget_name);
+ }
+
++ for (i=0; i<12; i++) { /* Loop for 3 seconds waiting for the backends to start */
++ if (oobs_session_get_connected (tool->session))
++ break;
++ g_usleep(250000);
++ }
++
+ result = oobs_session_get_platform (tool->session, NULL);
+
+ switch (result) {
Modified: desktop/experimental/gnome-system-tools/debian/patches/series
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/experimental/gnome-system-tools/debian/patches/series?rev=18160&op=diff
==============================================================================
--- desktop/experimental/gnome-system-tools/debian/patches/series (original)
+++ desktop/experimental/gnome-system-tools/debian/patches/series Sun Jan 4 12:04:07 2009
@@ -1,3 +1,4 @@
+01_wait_for_backends.patch
18_disable_uid.patch
40_more-groups.patch
50_min-max-gid.patch
More information about the pkg-gnome-commits
mailing list