Browse into the sounds folder by default
This commit is contained in:
		
							parent
							
								
									db582a4e5c
								
							
						
					
					
						commit
						4e601cf14c
					
				
					 1 changed files with 3 additions and 1 deletions
				
			
		|  | @ -1646,7 +1646,9 @@ setup_snd_filereq_cb (GtkWidget *entry, char *file) | |||
| static void | ||||
| setup_snd_browse_cb (GtkWidget *button, GtkEntry *entry) | ||||
| { | ||||
| 	gtkutil_file_req (_("Select a sound file"), setup_snd_filereq_cb, entry, NULL, NULL, 0); | ||||
| 	char *sounds_dir = g_build_filename (get_xdir (), "sounds", NULL); | ||||
| 	gtkutil_file_req (_("Select a sound file"), setup_snd_filereq_cb, entry, sounds_dir, NULL, FRF_FILTERISINITIAL); | ||||
| 	g_free (sounds_dir); | ||||
| } | ||||
| 
 | ||||
| static void | ||||
|  |  | |||
		Loading…
	
	Add table
		
		Reference in a new issue