comparison src/audacious/ui_playlist.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 40a991213507
children b96e8628a030
comparison
equal deleted inserted replaced
4412:180996fcf12a 4413:de33c83aa06f
647 ui_skinned_button_move_relative(playlistwin_seject, dx, dy); 647 ui_skinned_button_move_relative(playlistwin_seject, dx, dy);
648 ui_skinned_button_move_relative(playlistwin_sscroll_up, dx, dy); 648 ui_skinned_button_move_relative(playlistwin_sscroll_up, dx, dy);
649 ui_skinned_button_move_relative(playlistwin_sscroll_down, dx, dy); 649 ui_skinned_button_move_relative(playlistwin_sscroll_down, dx, dy);
650 650
651 gtk_widget_set_size_request(playlistwin_sinfo, playlistwin_get_width() - 35, 651 gtk_widget_set_size_request(playlistwin_sinfo, playlistwin_get_width() - 35,
652 bmp_active_skin->properties.textbox_bitmap_font_height); 652 aud_active_skin->properties.textbox_bitmap_font_height);
653 GList *iter; 653 GList *iter;
654 for (iter = GTK_FIXED (SKINNED_WINDOW(playlistwin)->fixed)->children; iter; iter = g_list_next (iter)) { 654 for (iter = GTK_FIXED (SKINNED_WINDOW(playlistwin)->fixed)->children; iter; iter = g_list_next (iter)) {
655 GtkFixedChild *child_data = (GtkFixedChild *) iter->data; 655 GtkFixedChild *child_data = (GtkFixedChild *) iter->data;
656 GtkWidget *child = child_data->widget; 656 GtkWidget *child = child_data->widget;
657 g_signal_emit_by_name(child, "redraw"); 657 g_signal_emit_by_name(child, "redraw");
1508 1508
1509 gtk_window_set_transient_for(GTK_WINDOW(playlistwin), 1509 gtk_window_set_transient_for(GTK_WINDOW(playlistwin),
1510 GTK_WINDOW(mainwin)); 1510 GTK_WINDOW(mainwin));
1511 gtk_window_set_skip_taskbar_hint(GTK_WINDOW(playlistwin), TRUE); 1511 gtk_window_set_skip_taskbar_hint(GTK_WINDOW(playlistwin), TRUE);
1512 1512
1513 icon = gdk_pixbuf_new_from_xpm_data((const gchar **) bmp_playlist_icon); 1513 icon = gdk_pixbuf_new_from_xpm_data((const gchar **) audacious_playlist_icon);
1514 gtk_window_set_icon(GTK_WINDOW(playlistwin), icon); 1514 gtk_window_set_icon(GTK_WINDOW(playlistwin), icon);
1515 g_object_unref(icon); 1515 g_object_unref(icon);
1516 1516
1517 if (cfg.playlist_x != -1 && cfg.save_window_position) 1517 if (cfg.playlist_x != -1 && cfg.save_window_position)
1518 gtk_window_move(GTK_WINDOW(playlistwin), 1518 gtk_window_move(GTK_WINDOW(playlistwin),
1533 g_signal_connect(playlistwin, "scroll_event", 1533 g_signal_connect(playlistwin, "scroll_event",
1534 G_CALLBACK(playlistwin_scrolled), NULL); 1534 G_CALLBACK(playlistwin_scrolled), NULL);
1535 g_signal_connect(playlistwin, "motion_notify_event", 1535 g_signal_connect(playlistwin, "motion_notify_event",
1536 G_CALLBACK(playlistwin_motion), NULL); 1536 G_CALLBACK(playlistwin_motion), NULL);
1537 1537
1538 bmp_drag_dest_set(playlistwin); 1538 aud_drag_dest_set(playlistwin);
1539 1539
1540 /* DnD stuff */ 1540 /* DnD stuff */
1541 g_signal_connect(playlistwin, "drag-leave", 1541 g_signal_connect(playlistwin, "drag-leave",
1542 G_CALLBACK(playlistwin_drag_end), NULL); 1542 G_CALLBACK(playlistwin_drag_end), NULL);
1543 g_signal_connect(playlistwin, "drag-data-delete", 1543 g_signal_connect(playlistwin, "drag-data-delete",
1848 void 1848 void
1849 action_playlist_save_default_list(void) 1849 action_playlist_save_default_list(void)
1850 { 1850 {
1851 Playlist *playlist = playlist_get_active(); 1851 Playlist *playlist = playlist_get_active();
1852 1852
1853 playlist_save(playlist, bmp_paths[BMP_PATH_PLAYLIST_FILE]); 1853 playlist_save(playlist, aud_paths[BMP_PATH_PLAYLIST_FILE]);
1854 } 1854 }
1855 1855
1856 void 1856 void
1857 action_playlist_load_list(void) 1857 action_playlist_load_list(void)
1858 { 1858 {