Mercurial > audlegacy-plugins
comparison src/skins/plugin.c @ 2592:8f5999909416
add ui_main - with huge amount of #if 0 to sort out later
author | Tomasz Mon <desowin@gmail.com> |
---|---|
date | Tue, 20 May 2008 22:12:14 +0200 |
parents | 9b4dfc007b87 |
children | 7cd898f08f31 |
comparison
equal
deleted
inserted
replaced
2591:e6f015ac0421 | 2592:8f5999909416 |
---|---|
46 plugin_is_active = TRUE; | 46 plugin_is_active = TRUE; |
47 g_log_set_handler(NULL, G_LOG_LEVEL_WARNING, g_log_default_handler, NULL); | 47 g_log_set_handler(NULL, G_LOG_LEVEL_WARNING, g_log_default_handler, NULL); |
48 | 48 |
49 skins_cfg_load(); | 49 skins_cfg_load(); |
50 | 50 |
51 gint width, height; | 51 init_skins(config.skin); |
52 | 52 |
53 mainwin = ui_skinned_window_new("player"); | 53 mainwin_real_show(); |
54 gtk_window_set_title(GTK_WINDOW(mainwin), "Audacious"); | |
55 gtk_window_set_role(GTK_WINDOW(mainwin), "player"); | |
56 gtk_window_set_resizable(GTK_WINDOW(mainwin), FALSE); | |
57 | |
58 | |
59 init_skins(config.skin); | |
60 width = aud_active_skin->properties.mainwin_width; | |
61 height = aud_active_skin->properties.mainwin_height; | |
62 | |
63 gtk_widget_set_size_request(mainwin, width, height); | |
64 gtk_widget_show_all(mainwin); | |
65 | 54 |
66 return; | 55 return; |
67 } | 56 } |
68 | 57 |
69 void skins_cleanup(void) { | 58 void skins_cleanup(void) { |