Mercurial > audlegacy
comparison src/audacious/main.c @ 3351:7a4fcf84a34f trunk
Removed the hardcoded Add/Play CD menu entry
author | Calin Crisan ccrisan@gmail.com |
---|---|
date | Mon, 13 Aug 2007 23:24:50 +0300 |
parents | 71d8d93f1bad |
children | 8764498b75ed |
comparison
equal
deleted
inserted
replaced
3350:1292e4ca0f08 | 3351:7a4fcf84a34f |
---|---|
93 | 93 |
94 | 94 |
95 struct _BmpCmdLineOpt { | 95 struct _BmpCmdLineOpt { |
96 gchar **filenames; | 96 gchar **filenames; |
97 gint session; | 97 gint session; |
98 gboolean play, stop, pause, fwd, rew, play_pause, playcd, show_jump_box; | 98 gboolean play, stop, pause, fwd, rew, play_pause, show_jump_box; |
99 gboolean enqueue, mainwin, remote, activate; | 99 gboolean enqueue, mainwin, remote, activate; |
100 gboolean load_skins; | 100 gboolean load_skins; |
101 gboolean headless; | 101 gboolean headless; |
102 gboolean no_log; | 102 gboolean no_log; |
103 gboolean enqueue_to_temp; | 103 gboolean enqueue_to_temp; |
1002 if (options->mainwin) | 1002 if (options->mainwin) |
1003 audacious_remote_main_win_toggle(session, TRUE); | 1003 audacious_remote_main_win_toggle(session, TRUE); |
1004 | 1004 |
1005 if (options->activate) | 1005 if (options->activate) |
1006 audacious_remote_activate(session); | 1006 audacious_remote_activate(session); |
1007 | |
1008 if (options->playcd) | |
1009 play_medium(); | |
1010 } else { | 1007 } else { |
1011 if (options->rew) | 1008 if (options->rew) |
1012 audacious_drct_playlist_prev(); | 1009 audacious_drct_playlist_prev(); |
1013 | 1010 |
1014 if (options->play) | 1011 if (options->play) |
1036 if (options->mainwin) | 1033 if (options->mainwin) |
1037 audacious_drct_main_win_toggle(TRUE); | 1034 audacious_drct_main_win_toggle(TRUE); |
1038 | 1035 |
1039 if (options->activate) | 1036 if (options->activate) |
1040 audacious_drct_activate(); | 1037 audacious_drct_activate(); |
1041 | |
1042 if (options->playcd) | |
1043 play_medium(); | |
1044 } | 1038 } |
1045 | 1039 |
1046 if(remote) { | 1040 if(remote) { |
1047 gboolean is_running = audacious_remote_is_running(session); | 1041 gboolean is_running = audacious_remote_is_running(session); |
1048 if (is_running) | 1042 if (is_running) |