changeset 34367:b370a9fd85b3

Cosmetic: Swap /mnt and /media in the file selector path list. This looks nicer if someone has both.
author ib
date Fri, 23 Dec 2011 14:39:39 +0000
parents b8a4787f363b
children dbb38c5293b0
files gui/ui/gtk/fileselect.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/gui/ui/gtk/fileselect.c	Fri Dec 23 13:41:25 2011 +0000
+++ b/gui/ui/gtk/fileselect.c	Fri Dec 23 14:39:39 2011 +0000
@@ -355,8 +355,8 @@
  free( dir );
  if ( getenv( "HOME" ) ) fsTopList_items=g_list_append( fsTopList_items,getenv( "HOME" ) );
  fsTopList_items=g_list_append( fsTopList_items,"/home" );
+ if (stat( "/media",&f ) == 0) fsTopList_items=g_list_append( fsTopList_items,"/media" );
  if (stat( "/mnt",&f ) == 0) fsTopList_items=g_list_append( fsTopList_items,"/mnt" );
- if (stat( "/media",&f ) == 0) fsTopList_items=g_list_append( fsTopList_items,"/media" );
  fsTopList_items=g_list_append( fsTopList_items,"/" );
  gtk_combo_set_popdown_strings( GTK_COMBO( fsCombo4 ),fsTopList_items );