sound-juicer r2106 - in trunk: . src



Author: rburton
Date: Tue Mar  4 17:57:31 2008
New Revision: 2106
URL: http://svn.gnome.org/viewvc/sound-juicer?rev=2106&view=rev

Log:
2008-03-04  Ross Burton  <ross burtonini com>

	* src/sj-prefs.c:
	Fix the path chooser (#519816, thanks Matthew Martin).


Modified:
   trunk/ChangeLog
   trunk/src/sj-prefs.c

Modified: trunk/src/sj-prefs.c
==============================================================================
--- trunk/src/sj-prefs.c	(original)
+++ trunk/src/sj-prefs.c	Tue Mar  4 17:57:31 2008
@@ -203,14 +203,9 @@
   } else {
     g_return_if_fail (entry->value->type == GCONF_VALUE_STRING);
     current_uri = gtk_file_chooser_get_current_folder_uri (GTK_FILE_CHOOSER (basepath_fcb));
-    if (current_uri == NULL || strcmp (current_uri, base_uri) != 0) { 
-	    char *dir;
-
-	    dir = sj_get_default_music_directory ();
-	    gtk_file_chooser_set_current_folder_uri (GTK_FILE_CHOOSER (basepath_fcb), dir);
-	    g_free (dir);
-		
-    }
+    if (current_uri == NULL || strcmp (current_uri, base_uri) != 0) 
+      gtk_file_chooser_set_current_folder_uri (GTK_FILE_CHOOSER (basepath_fcb), base_uri);
+    
   }
 }
 



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