Mercurial > audlegacy-plugins
comparison src/bluetooth/scan_gui.c @ 2854:43557eb3180f
playback
author | Paula Stanciu <paula.stanciu@gmail.com> |
---|---|
date | Wed, 30 Jul 2008 17:49:43 +0300 |
parents | fed560b80720 |
children | 455e6e37feae 6c53f9fa9029 |
comparison
equal
deleted
inserted
replaced
2853:fed560b80720 | 2854:43557eb3180f |
---|---|
81 { | 81 { |
82 printf("scan_gui close callback \n"); | 82 printf("scan_gui close callback \n"); |
83 gtk_widget_destroy (window); | 83 gtk_widget_destroy (window); |
84 window = NULL; | 84 window = NULL; |
85 } | 85 } |
86 void retry_call(void) | |
87 { | |
88 printf("retry callback\n"); | |
89 } | |
90 | |
91 void show_scan(gint use) | 86 void show_scan(gint use) |
92 { | 87 { |
93 GThread *th1; | 88 GThread *th1; |
94 gchar *filename; | 89 gchar *filename; |
95 usage = use; | 90 usage = use; |
138 */ | 133 */ |
139 if(usage == 0){ | 134 if(usage == 0){ |
140 rescan_buttton = gtk_button_new_with_mnemonic(_("Rescan")); | 135 rescan_buttton = gtk_button_new_with_mnemonic(_("Rescan")); |
141 g_signal_connect(rescan_buttton,"clicked",G_CALLBACK (refresh_call),NULL); | 136 g_signal_connect(rescan_buttton,"clicked",G_CALLBACK (refresh_call),NULL); |
142 }else{ | 137 }else{ |
143 rescan_buttton = gtk_button_new_with_mnemonic(_("Retry")); | 138 rescan_buttton = gtk_button_new_with_mnemonic(_("Play")); |
144 g_signal_connect(rescan_buttton,"clicked",G_CALLBACK (retry_call),NULL); | 139 g_signal_connect(rescan_buttton,"clicked",G_CALLBACK (play_call),NULL); |
145 } | 140 } |
146 | 141 |
147 | 142 |
148 | 143 |
149 close_button = gtk_button_new_with_mnemonic(_("Close")); | 144 close_button = gtk_button_new_with_mnemonic(_("Close")); |