Mercurial > audlegacy
comparison src/audacious/ui_preferences.c @ 4413:de33c83aa06f
Huge renaming patch, changing BMP references to Audacious.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Mon, 31 Mar 2008 06:47:48 +0300 |
parents | 180996fcf12a |
children | a6a2e84e2b2e |
comparison
equal
deleted
inserted
replaced
4412:180996fcf12a | 4413:de33c83aa06f |
---|---|
938 on_skin_refresh_button_clicked(GtkButton * button, | 938 on_skin_refresh_button_clicked(GtkButton * button, |
939 gpointer data) | 939 gpointer data) |
940 { | 940 { |
941 const mode_t mode755 = S_IRWXU | S_IRGRP | S_IXGRP | S_IROTH | S_IXOTH; | 941 const mode_t mode755 = S_IRWXU | S_IRGRP | S_IXGRP | S_IROTH | S_IXOTH; |
942 | 942 |
943 del_directory(bmp_paths[BMP_PATH_SKIN_THUMB_DIR]); | 943 del_directory(aud_paths[BMP_PATH_SKIN_THUMB_DIR]); |
944 make_directory(bmp_paths[BMP_PATH_SKIN_THUMB_DIR], mode755); | 944 make_directory(aud_paths[BMP_PATH_SKIN_THUMB_DIR], mode755); |
945 | 945 |
946 skin_view_update(GTK_TREE_VIEW(skin_view), GTK_WIDGET(skin_refresh_button)); | 946 skin_view_update(GTK_TREE_VIEW(skin_view), GTK_WIDGET(skin_refresh_button)); |
947 } | 947 } |
948 | 948 |
949 static gboolean | 949 static gboolean |
1045 else if (str_has_prefix_nocase(path, "file:")) { | 1045 else if (str_has_prefix_nocase(path, "file:")) { |
1046 path += 5; | 1046 path += 5; |
1047 } | 1047 } |
1048 | 1048 |
1049 if (file_is_archive(path)) { | 1049 if (file_is_archive(path)) { |
1050 if (!bmp_active_skin_load(path)) | 1050 if (!aud_active_skin_load(path)) |
1051 return; | 1051 return; |
1052 skin_install_skin(path); | 1052 skin_install_skin(path); |
1053 skin_view_update(GTK_TREE_VIEW(widget), | 1053 skin_view_update(GTK_TREE_VIEW(widget), |
1054 GTK_WIDGET(skin_refresh_button)); | 1054 GTK_WIDGET(skin_refresh_button)); |
1055 | 1055 |
2010 NULL); | 2010 NULL); |
2011 | 2011 |
2012 g_signal_connect(skin_view, "drag-data-received", | 2012 g_signal_connect(skin_view, "drag-data-received", |
2013 G_CALLBACK(on_skin_view_drag_data_received), | 2013 G_CALLBACK(on_skin_view_drag_data_received), |
2014 NULL); | 2014 NULL); |
2015 bmp_drag_dest_set(skin_view); | 2015 aud_drag_dest_set(skin_view); |
2016 | 2016 |
2017 g_signal_connect(mainwin, "drag-data-received", | 2017 g_signal_connect(mainwin, "drag-data-received", |
2018 G_CALLBACK(mainwin_drag_data_received), | 2018 G_CALLBACK(mainwin_drag_data_received), |
2019 skin_view); | 2019 skin_view); |
2020 | 2020 |