comparison audacious/main.c @ 486:c4a560cb40f9 trunk

[svn] Always on top fix.
author nenolod
date Mon, 23 Jan 2006 14:07:43 -0800
parents 59739d266dba
children 1947144093bc
comparison
equal deleted inserted replaced
485:59739d266dba 486:c4a560cb40f9
310 310
311 GList *dock_window_list = NULL; 311 GList *dock_window_list = NULL;
312 312
313 gboolean pposition_broken = FALSE; 313 gboolean pposition_broken = FALSE;
314 314
315 gboolean starting_up = TRUE;
315 316
316 static GSList * 317 static GSList *
317 get_feature_list(void) 318 get_feature_list(void)
318 { 319 {
319 GSList *features = NULL; 320 GSList *features = NULL;
1029 equalizerwin_show(TRUE); 1030 equalizerwin_show(TRUE);
1030 1031
1031 if (cfg.playlist_visible) 1032 if (cfg.playlist_visible)
1032 playlistwin_show(); 1033 playlistwin_show();
1033 1034
1034 /* FIXME: move this away */
1035 hint_set_always(cfg.always_on_top); 1035 hint_set_always(cfg.always_on_top);
1036 1036
1037 playlist_start_get_info_thread(); 1037 playlist_start_get_info_thread();
1038 mainwin_attach_idle_func(); 1038 mainwin_attach_idle_func();
1039
1040 starting_up = FALSE;
1039 1041
1040 gtk_main(); 1042 gtk_main();
1041 1043
1042 GDK_THREADS_LEAVE(); 1044 GDK_THREADS_LEAVE();
1043 1045
1045 } 1047 }
1046 else 1048 else
1047 { 1049 {
1048 mainwin_set_info_text(); 1050 mainwin_set_info_text();
1049 playlist_start_get_info_thread(); 1051 playlist_start_get_info_thread();
1052
1053 starting_up = FALSE;
1050 1054
1051 for (;;) 1055 for (;;)
1052 { 1056 {
1053 /* headless eventloop */ 1057 /* headless eventloop */
1054 audcore_generic_events(); 1058 audcore_generic_events();