Lines 1-8
Link Here
|
1 |
#include <gtk/gtk.h> |
1 |
#include <gtk/gtk.h> |
2 |
|
2 |
|
3 |
#include <xmms/configfile.h> |
3 |
#include <beep/configfile.h> |
4 |
#include <xmms/util.h> |
4 |
#include <beep/util.h> |
5 |
#include <xmms/plugin.h> |
5 |
#include <bmp/plugin.h> |
6 |
|
6 |
|
7 |
#include "immsconf.h" |
7 |
#include "immsconf.h" |
8 |
#include "plugin.h" |
8 |
#include "plugin.h" |
Lines 94-100
Link Here
|
94 |
|
94 |
|
95 |
read_config(); |
95 |
read_config(); |
96 |
|
96 |
|
97 |
configure_win = gtk_window_new(GTK_WINDOW_DIALOG); |
97 |
configure_win = gtk_window_new(GTK_WINDOW_TOPLEVEL); |
98 |
gtk_signal_connect(GTK_OBJECT(configure_win), "destroy", |
98 |
gtk_signal_connect(GTK_OBJECT(configure_win), "destroy", |
99 |
GTK_SIGNAL_FUNC(gtk_widget_destroyed), &configure_win); |
99 |
GTK_SIGNAL_FUNC(gtk_widget_destroyed), &configure_win); |
100 |
gtk_window_set_title(GTK_WINDOW(configure_win), "IMMS Configuration"); |
100 |
gtk_window_set_title(GTK_WINDOW(configure_win), "IMMS Configuration"); |
Lines 112-118
Link Here
|
112 |
gtk_container_add(GTK_CONTAINER(xidle_frame), xidle_vbox); |
112 |
gtk_container_add(GTK_CONTAINER(xidle_frame), xidle_vbox); |
113 |
|
113 |
|
114 |
xidle_desc = gtk_label_new( |
114 |
xidle_desc = gtk_label_new( |
115 |
"Disable this option if you use XMMS on a dedicated machine"); |
115 |
"Disable this option if you use Beep on a dedicated machine"); |
116 |
|
116 |
|
117 |
gtk_label_set_line_wrap(GTK_LABEL(xidle_desc), TRUE); |
117 |
gtk_label_set_line_wrap(GTK_LABEL(xidle_desc), TRUE); |
118 |
gtk_label_set_justify(GTK_LABEL(xidle_desc), GTK_JUSTIFY_LEFT); |
118 |
gtk_label_set_justify(GTK_LABEL(xidle_desc), GTK_JUSTIFY_LEFT); |
Lines 134-140
Link Here
|
134 |
gtk_widget_show(xidle_hbox); |
134 |
gtk_widget_show(xidle_hbox); |
135 |
|
135 |
|
136 |
/* Queue */ |
136 |
/* Queue */ |
137 |
queue_frame = gtk_frame_new("XMMS Queue"); |
137 |
queue_frame = gtk_frame_new("Beep Queue"); |
138 |
gtk_box_pack_start(GTK_BOX(configure_vbox), queue_frame, FALSE, FALSE, 0); |
138 |
gtk_box_pack_start(GTK_BOX(configure_vbox), queue_frame, FALSE, FALSE, 0); |
139 |
queue_vbox = gtk_vbox_new(FALSE, 10); |
139 |
queue_vbox = gtk_vbox_new(FALSE, 10); |
140 |
gtk_container_set_border_width(GTK_CONTAINER(queue_vbox), 5); |
140 |
gtk_container_set_border_width(GTK_CONTAINER(queue_vbox), 5); |
Lines 154-160
Link Here
|
154 |
gtk_box_pack_start(GTK_BOX(queue_vbox), queue_hbox, FALSE, FALSE, 0); |
154 |
gtk_box_pack_start(GTK_BOX(queue_vbox), queue_hbox, FALSE, FALSE, 0); |
155 |
|
155 |
|
156 |
queue_button = gtk_check_button_new_with_label( |
156 |
queue_button = gtk_check_button_new_with_label( |
157 |
"Honour XMMS Queue"); |
157 |
"Honour Beep Queue"); |
158 |
gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(queue_button), use_queue); |
158 |
gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(queue_button), use_queue); |
159 |
gtk_box_pack_start(GTK_BOX(queue_hbox), queue_button, FALSE, FALSE, 0); |
159 |
gtk_box_pack_start(GTK_BOX(queue_hbox), queue_button, FALSE, FALSE, 0); |
160 |
|
160 |
|
Lines 171-177
Link Here
|
171 |
gtk_container_add(GTK_CONTAINER(sloppy_frame), sloppy_vbox); |
171 |
gtk_container_add(GTK_CONTAINER(sloppy_frame), sloppy_vbox); |
172 |
|
172 |
|
173 |
sloppy_desc = gtk_label_new( |
173 |
sloppy_desc = gtk_label_new( |
174 |
"Enable this if you use XMMS Crossfade plugin, " |
174 |
"Enable this if you use Beep Crossfade plugin, " |
175 |
"or experience misdetected song skips."); |
175 |
"or experience misdetected song skips."); |
176 |
|
176 |
|
177 |
gtk_label_set_line_wrap(GTK_LABEL(sloppy_desc), TRUE); |
177 |
gtk_label_set_line_wrap(GTK_LABEL(sloppy_desc), TRUE); |
Lines 227-233
Link Here
|
227 |
"About IMMS", |
227 |
"About IMMS", |
228 |
PACKAGE_STRING "\n\n" |
228 |
PACKAGE_STRING "\n\n" |
229 |
"Intelligent Multimedia Management System" "\n\n" |
229 |
"Intelligent Multimedia Management System" "\n\n" |
230 |
"IMMS is an intelligent playlist plug-in for XMMS" "\n" |
230 |
"IMMS is an intelligent playlist plug-in for BMP" "\n" |
231 |
"that tracks your listening patterns" "\n" |
231 |
"that tracks your listening patterns" "\n" |
232 |
"and dynamically adapts to your taste." "\n\n" |
232 |
"and dynamically adapts to your taste." "\n\n" |
233 |
"It is incredibly unobtrusive and easy to use" "\n" |
233 |
"It is incredibly unobtrusive and easy to use" "\n" |