Revision: 1512
          http://gtkpod.svn.sourceforge.net/gtkpod/?rev=1512&view=rev
Author:   jcsjcs
Date:     2007-05-31 07:02:42 -0700 (Thu, 31 May 2007)

Log Message:
-----------
        * src/autodetection.c: fix non-responsive buttons introduced
          with automounting.

Modified Paths:
--------------
    gtkpod/trunk/ChangeLog_detailed
    gtkpod/trunk/src/autodetection.c

Modified: gtkpod/trunk/ChangeLog_detailed
===================================================================
--- gtkpod/trunk/ChangeLog_detailed     2007-05-30 18:18:27 UTC (rev 1511)
+++ gtkpod/trunk/ChangeLog_detailed     2007-05-31 14:02:42 UTC (rev 1512)
@@ -1,16 +1,20 @@
+2007-05-16 Jorg Schuler <jcsjcs at users.sourceforge.net>
+
+       * src/autodetection.c: fix non-responsive buttons introduced
+          with automounting.
+
 2007-05-30  P.G. Richardson <phantom_sf at users.sourceforge.net>
 
-  * display_coverart.c
+       * display_coverart.c
   
-    Changed the on_main_cover_image_clicked so that only the
-    tracks belonging to the album are displayed in the track
-    listing. The sorttabs are no longer updated. A lot
-    quicker and doesnt rely on the artist/album sorttabs
-    being visible.
+         Changed the on_main_cover_image_clicked so that only the
+         tracks belonging to the album are displayed in the track
+         listing. The sorttabs are no longer updated. A lot quicker
+         and doesnt rely on the artist/album sorttabs being visible.
     
-  * fetchcover.c
+        * fetchcover.c
 
-    Status bar content changes in case album is not found.
+         Status bar content changes in case album is not found.
 
 2007-05-30  Todd Zullinger <tmzullinger at users.sourceforge.net>
 
@@ -22,11 +26,11 @@
 
 2007-05-17  P.G. Richardson <phantom_sf at users.sourceforge.net>
 
-  * display_coverart.c
+        * display_coverart.c
 
-    Completely forgot compile time errors for
-    g_hash_table_remove_all so removed glib_version call to ensure
-    back compilation compatibility.
+         Completely forgot compile time errors for
+         g_hash_table_remove_all so removed glib_version call to
+         ensure back compilation compatibility.
     
 2007-05-16  Todd Zullinger <tmzullinger at users.sourceforge.net>
 
@@ -34,13 +38,12 @@
 
 2007-05-16  P.G. Richardson <phantom_sf at users.sourceforge.net>
 
-  * display_coverart.c
+       * display_coverart.c
   
-    Null checks placed in free_album.
-    g_hash_table_remove_all only used if running GLib version is
-    newer than 2.12.0.
-    Otherwise falls back on g_hash_table_foreach_remove.
-    Thanks to Mario Rossi for squashing these bugs.
+         Null checks placed in free_album.  g_hash_table_remove_all
+         only used if running GLib version is newer than 2.12.0.
+         Otherwise falls back on g_hash_table_foreach_remove.  Thanks
+         to Mario Rossi for squashing these bugs.
 
 2007-05-16 Jorg Schuler <jcsjcs at users.sourceforge.net>
 

Modified: gtkpod/trunk/src/autodetection.c
===================================================================
--- gtkpod/trunk/src/autodetection.c    2007-05-30 18:18:27 UTC (rev 1511)
+++ gtkpod/trunk/src/autodetection.c    2007-05-31 14:02:42 UTC (rev 1512)
@@ -350,8 +350,8 @@
     if (!widgets_blocked)
     {
        gdk_threads_enter ();
-       block_widgets ();
        g_mutex_lock (ad->mutex);
+
        while (ad->new_ipod_uris)
        {
            iTunesDB *itdb, *loaded_itdb = NULL;
@@ -375,6 +375,8 @@
            itdbs = gp_get_itdbs_head (gtkpod_window);
            g_return_val_if_fail (itdbs, (gdk_threads_leave(), 
release_widgets(), TRUE));
 
+           block_widgets ();
+
            if (itdb)
            {
                ExtraiTunesDBData *eitdb = itdb->userdata;
@@ -422,12 +424,13 @@
                debug ("...OK (new)\n");
            }
 
+           release_widgets ();
+
            g_free (mountpoint);
 
            g_mutex_lock (ad->mutex);
        }
        g_mutex_unlock (ad->mutex);
-       release_widgets ();
        gdk_threads_leave();
     }
 


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
gtkpod-cvs2 mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gtkpod-cvs2

Reply via email to