Patch and also this have been integrated into my CVS tree.

Index: gui.c
===================================================================
RCS file: /data/cvs/gnome-mplayer/src/gui.c,v
retrieving revision 1.144
retrieving revision 1.145
diff -C 2 -d -r1.144 -r1.145
*** gui.c       22 Sep 2007 18:11:12 -0000      1.144
--- gui.c       22 Sep 2007 18:32:33 -0000      1.145
***************
*** 1027,1030 ****
--- 1027,1032 ----
  
          filename = gtk_file_chooser_get_filename(GTK_FILE_CHOOSER(dialog));
+               if (filename == NULL)
+                       filename = 
gtk_file_chooser_get_uri(GTK_FILE_CHOOSER(dialog));
          last_dir = 
gtk_file_chooser_get_current_folder(GTK_FILE_CHOOSER(dialog));
          gconf_client_set_string(gconf, LAST_DIR, last_dir, NULL);
***************
*** 1034,1041 ****
          shutdown();
                gtk_list_store_clear(playliststore);
!               gtk_list_store_clear(nonrandomplayliststore);           
!               add_item_to_playlist(filename,0);
!         play_file((gchar *) filename, 0);
!         g_free(filename);
      }
  
--- 1036,1045 ----
          shutdown();
                gtk_list_store_clear(playliststore);
!               gtk_list_store_clear(nonrandomplayliststore);   
!               if (filename != NULL) {
!                       add_item_to_playlist(filename,0);
!                       play_file((gchar *) filename, 0);
!                       g_free(filename);
!               }
      }

-- 
gnome-mplayer crashed with SIGSEGV in strlen()
https://bugs.launchpad.net/bugs/139972
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to