Mercurial > audlegacy
comparison src/audacious/auddrct.c @ 2785:182aa34ae6c4 trunk
[svn] - implement some audacious-remote functions.
- implement some audacious-drct functions.
- make some command line options work. (this may incur very slow startup.)
- suppress warnings.
author | yaz |
---|---|
date | Tue, 22 May 2007 15:17:15 -0700 |
parents | 7adb736cb824 |
children | 2d915b3e3e52 |
comparison
equal
deleted
inserted
replaced
2784:0a982aad6e07 | 2785:182aa34ae6c4 |
---|---|
101 playlistwin_hide(); | 101 playlistwin_hide(); |
102 } | 102 } |
103 return; | 103 return; |
104 } | 104 } |
105 | 105 |
106 void audacious_drct_set_skin(gchar *skinfile) | |
107 { | |
108 if (has_x11_connection) | |
109 bmp_active_skin_load(skinfile); | |
110 } | |
111 | |
112 void audacious_drct_show_jtf_box(void) | |
113 { | |
114 if (!has_x11_connection) | |
115 return; | |
116 ui_jump_to_track(); | |
117 } | |
118 | |
119 void audacious_drct_activate(void) | |
120 { | |
121 gtk_window_present(GTK_WINDOW(mainwin)); | |
122 } | |
106 | 123 |
107 /* playback */ | 124 /* playback */ |
108 | 125 |
109 void | 126 void |
110 audacious_drct_play ( void ) | 127 audacious_drct_play ( void ) |
448 gint | 465 gint |
449 audaciuos_drct_pq_get_queue_position( gint pos ) | 466 audaciuos_drct_pq_get_queue_position( gint pos ) |
450 { | 467 { |
451 return playlist_get_queue_position_number(playlist_get_active(), pos); | 468 return playlist_get_queue_position_number(playlist_get_active(), pos); |
452 } | 469 } |
470 |