Mercurial > hg > xmms-sid
comparison src/xs_config.c @ 900:eba5d47edc13
Remember the current values when opening the file browsers of config dialog.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Fri, 09 Nov 2012 08:41:17 +0200 |
parents | 212d4738438d |
children | 5d26b869a48e |
comparison
equal
deleted
inserted
replaced
899:f02613ceadcf | 900:eba5d47edc13 |
---|---|
1058 return; | 1058 return; |
1059 } | 1059 } |
1060 | 1060 |
1061 xs_stil_fileselector = create_xs_stil_fs(); | 1061 xs_stil_fileselector = create_xs_stil_fs(); |
1062 XS_MUTEX_LOCK(xs_cfg); | 1062 XS_MUTEX_LOCK(xs_cfg); |
1063 gtk_file_selection_set_filename(GTK_FILE_SELECTION(xs_stil_fileselector), xs_cfg.stilDBPath); | 1063 gtk_file_selection_set_filename(GTK_FILE_SELECTION(xs_stil_fileselector), |
1064 gtk_entry_get_text(GTK_ENTRY(LUW("cfg_stil_dbpath")))); | |
1064 XS_MUTEX_UNLOCK(xs_cfg); | 1065 XS_MUTEX_UNLOCK(xs_cfg); |
1065 gtk_widget_show(xs_stil_fileselector); | 1066 gtk_widget_show(xs_stil_fileselector); |
1066 } | 1067 } |
1067 | 1068 |
1068 | 1069 |
1098 return; | 1099 return; |
1099 } | 1100 } |
1100 | 1101 |
1101 xs_hvsc_selector = create_xs_hvsc_fs(); | 1102 xs_hvsc_selector = create_xs_hvsc_fs(); |
1102 XS_MUTEX_LOCK(xs_cfg); | 1103 XS_MUTEX_LOCK(xs_cfg); |
1103 gtk_file_selection_set_filename(GTK_FILE_SELECTION(xs_hvsc_selector), xs_cfg.hvscPath); | 1104 gtk_file_selection_set_filename(GTK_FILE_SELECTION(xs_hvsc_selector), |
1105 gtk_entry_get_text(GTK_ENTRY(LUW("cfg_hvsc_path")))); | |
1104 XS_MUTEX_UNLOCK(xs_cfg); | 1106 XS_MUTEX_UNLOCK(xs_cfg); |
1105 gtk_widget_show(xs_hvsc_selector); | 1107 gtk_widget_show(xs_hvsc_selector); |
1106 } | 1108 } |
1107 | 1109 |
1108 | 1110 |
1146 return; | 1148 return; |
1147 } | 1149 } |
1148 | 1150 |
1149 xs_rom_selector = create_xs_rom_fs(); | 1151 xs_rom_selector = create_xs_rom_fs(); |
1150 XS_MUTEX_LOCK(xs_cfg); | 1152 XS_MUTEX_LOCK(xs_cfg); |
1151 gtk_file_selection_set_filename(GTK_FILE_SELECTION(xs_rom_selector), xs_cfg.romPath); | 1153 gtk_file_selection_set_filename(GTK_FILE_SELECTION(xs_rom_selector), |
1154 gtk_entry_get_text(GTK_ENTRY(LUW("cfg_rom_path")))); | |
1152 XS_MUTEX_UNLOCK(xs_cfg); | 1155 XS_MUTEX_UNLOCK(xs_cfg); |
1153 gtk_widget_show(xs_rom_selector); | 1156 gtk_widget_show(xs_rom_selector); |
1154 } | 1157 } |
1155 | 1158 |
1156 | 1159 |