[Xfce4-commits] <xfce4-radio-plugin:master> Re-organized options

Stefan Ott noreply at xfce.org
Fri May 20 19:28:01 CEST 2011


Updating branch refs/heads/master
         to 1f7dcd3c2f0b738d6b170300709d23b78fe8124e (commit)
       from e351cedd357daeea2d60f99c5622b9cd9786131c (commit)

commit 1f7dcd3c2f0b738d6b170300709d23b78fe8124e
Author: Stefan Ott <stefan at ott.net>
Date:   Fri May 20 19:25:48 2011 +0200

    Re-organized options

 panel-plugin/xfce4-radio.c |  280 ++++++++++++++++++++++----------------------
 po/xfce4-radio-plugin.pot  |   79 ++++++-------
 2 files changed, 173 insertions(+), 186 deletions(-)

diff --git a/panel-plugin/xfce4-radio.c b/panel-plugin/xfce4-radio.c
index f0d3658..0788545 100644
--- a/panel-plugin/xfce4-radio.c
+++ b/panel-plugin/xfce4-radio.c
@@ -1003,25 +1003,29 @@ radio_plugin_create_options(XfcePanelPlugin *plugin, radio_gui *data)
 	GtkWidget *show_signal;			// show the signal when on
 	GtkWidget *show_label;			// show the label when on
 	GtkWidget *graphical_signal_strength;	// show graphical signal level
-	GSList *auto_update_display_group = NULL;// auto update display:
-	GtkWidget *auto_update_display_yes;	//  - show
-	GtkWidget *auto_update_display_no;	//  - hide
-	GtkWidget *startup_command_entry;	// post-down command
-	GtkWidget *shutdown_command_entry;	// post-down command
+	GtkWidget *sync_state;			// sync state with the card
+	GtkWidget *startup_command;		// post-down command
+	GtkWidget *shutdown_command;		// post-down command
 	GtkWidget *device_entry;		// v4l device
 	GtkWidget *scrolling;			// mouse-scrolling action
 	GtkWidget *preset_box;
 	GtkWidget *button_box;
 	GtkWidget *notebook;
-	GtkWidget *label_options;
 	GtkWidget *label_presets;
 	GtkWidget *label_ui_options;
+	GtkWidget *label_radio_options;
+	GtkWidget *label_commands;
 	GtkWidget *scrolled_window;
 	GtkWidget *list_view;
+	GtkWidget *current_page;
+	GtkWidget *align;
+
 	GtkTreeSelection *selection;
 	GtkCellRenderer *cellrenderer;
 	GtkTreeViewColumn *list_column;
 
+	gchar *title;
+
 	xfce_panel_plugin_block_menu(plugin);
 
 	dialog = gtk_dialog_new_with_buttons(_("Properties"),
@@ -1122,8 +1126,9 @@ radio_plugin_create_options(XfcePanelPlugin *plugin, radio_gui *data)
 
 	// Notebook tabs
 	label_presets = gtk_label_new(_("Presets"));
-	label_options = gtk_label_new(_("Options"));
 	label_ui_options = gtk_label_new(_("User interface"));
+	label_radio_options = gtk_label_new(_("Radio device"));
+	label_commands = gtk_label_new(_("Commands"));
 
 	// Add the presets page
 	gtk_notebook_append_page
@@ -1132,87 +1137,6 @@ radio_plugin_create_options(XfcePanelPlugin *plugin, radio_gui *data)
 		(GTK_BOX(GTK_DIALOG(dialog)->vbox), notebook, TRUE, TRUE, 0);
 	gtk_widget_show(notebook);
 
-	// Add the options page
-	GtkWidget *align = gtk_alignment_new(0, 0, 0.5, 0.5);
-	gtk_widget_show(align);
-	gtk_alignment_set_padding(GTK_ALIGNMENT(align), 0, 5, 5, 5);
-
-	gtk_notebook_append_page
-		(GTK_NOTEBOOK(notebook), align, label_options);
-
-	GtkWidget *properties = gtk_vbox_new(FALSE, 0);
-	gtk_widget_show(properties);
-	gtk_container_add(GTK_CONTAINER(align), properties);
-
-	// - Device
-	real_frame = gtk_frame_new(_("Device"));
-	frame = gtk_alignment_new(0, 0, 0.5, 0.5);
-	table = gtk_table_new(2, 2, FALSE);
-
-	gtk_widget_show(frame);
-	gtk_widget_show(table);
-	gtk_widget_show(real_frame);
-
-	gtk_alignment_set_padding(GTK_ALIGNMENT(frame), 0, 2, 2, 2);
-
-	gtk_container_add(GTK_CONTAINER(properties), real_frame);
-	gtk_container_add(GTK_CONTAINER(real_frame), frame);
-	gtk_container_add(GTK_CONTAINER(frame), table);
-
-	// -- V4L device
-	hbox = gtk_hbox_new(FALSE, 0);
-	label = gtk_label_new(_("V4L device"));
-	device_entry = gtk_entry_new_with_max_length(MAX_DEVICE_NAME_LENGTH);
-	gtk_entry_set_text(GTK_ENTRY(device_entry), data->device);
-
-	gtk_widget_show(label);
-	gtk_widget_show(device_entry);
-	gtk_widget_show(hbox);
-
-	gtk_misc_set_alignment(GTK_MISC(label), 0, 0.5);
-
-	gtk_table_attach_defaults
-		(GTK_TABLE(table), label, 0, 1, 0, 1);
-	gtk_table_attach_defaults
-		(GTK_TABLE(table), device_entry, 1, 2, 0, 1);
-
-	// -- Auto-update the display
-	hbox = gtk_hbox_new(FALSE, 0);
-	label = gtk_label_new(_("Synchronize state with the card"));
-	auto_update_display_yes = gtk_radio_button_new_with_label
-		(NULL, _("yes"));
-
-	gtk_widget_show(hbox);
-	gtk_widget_show(label);
-
-	gtk_misc_set_alignment(GTK_MISC(label), 0, 0.5);
-
-	gtk_table_attach_defaults
-		(GTK_TABLE(table), label, 0, 1, 1, 2);
-	gtk_table_attach_defaults
-		(GTK_TABLE(table), hbox, 1, 2, 1, 2);
-
-	gtk_radio_button_set_group(GTK_RADIO_BUTTON(auto_update_display_yes),
-		auto_update_display_group);
-	auto_update_display_group = gtk_radio_button_get_group
-		(GTK_RADIO_BUTTON(auto_update_display_yes));
-
-	auto_update_display_no = gtk_radio_button_new_with_label
-		(auto_update_display_group, _("no"));
-
-	gtk_widget_show(auto_update_display_yes);
-	gtk_widget_show(auto_update_display_no);
-
-	gtk_box_pack_start
-		(GTK_BOX(hbox), auto_update_display_no, FALSE, FALSE, 0);
-	gtk_box_pack_start
-		(GTK_BOX(hbox), auto_update_display_yes, FALSE, FALSE, 0);
-
-	gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON
-			(auto_update_display_yes), data->auto_update_display);
-	gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON
-			(auto_update_display_no), !data->auto_update_display);
-
 	// Add the UI options page
 	align = gtk_alignment_new(0, 0, 0.5, 0.5);
 	gtk_widget_show(align);
@@ -1221,9 +1145,9 @@ radio_plugin_create_options(XfcePanelPlugin *plugin, radio_gui *data)
 	gtk_notebook_append_page
 		(GTK_NOTEBOOK(notebook), align, label_ui_options);
 
-	GtkWidget *ui_page = gtk_vbox_new(FALSE, 0);
-	gtk_widget_show(ui_page);
-	gtk_container_add(GTK_CONTAINER(align), ui_page);
+	current_page = gtk_vbox_new(FALSE, 0);
+	gtk_widget_show(current_page);
+	gtk_container_add(GTK_CONTAINER(align), current_page);
 
 	// - Signal strength
 	real_frame = gtk_frame_new(_("Signal strength"));
@@ -1236,7 +1160,7 @@ radio_plugin_create_options(XfcePanelPlugin *plugin, radio_gui *data)
 
 	gtk_alignment_set_padding(GTK_ALIGNMENT(frame), 0, 2, 2, 2);
 
-	gtk_box_pack_start(GTK_BOX(ui_page), real_frame, FALSE, FALSE, 9);
+	gtk_box_pack_start(GTK_BOX(current_page), real_frame, FALSE, FALSE, 9);
 	gtk_container_add(GTK_CONTAINER(real_frame), frame);
 	gtk_container_add(GTK_CONTAINER(frame), ui_options);
 
@@ -1263,7 +1187,7 @@ radio_plugin_create_options(XfcePanelPlugin *plugin, radio_gui *data)
 
 	gtk_alignment_set_padding(GTK_ALIGNMENT(frame), 0, 2, 2, 2);
 
-	gtk_box_pack_start(GTK_BOX(ui_page), real_frame, FALSE, FALSE, 9);
+	gtk_box_pack_start(GTK_BOX(current_page), real_frame, FALSE, FALSE, 9);
 	gtk_container_add(GTK_CONTAINER(real_frame), frame);
 	gtk_container_add(GTK_CONTAINER(frame), ui_options);
 
@@ -1290,7 +1214,7 @@ radio_plugin_create_options(XfcePanelPlugin *plugin, radio_gui *data)
 
 	gtk_alignment_set_padding(GTK_ALIGNMENT(frame), 0, 2, 2, 2);
 
-	gtk_box_pack_start(GTK_BOX(ui_page), real_frame, FALSE, FALSE, 9);
+	gtk_box_pack_start(GTK_BOX(current_page), real_frame, FALSE, FALSE, 9);
 	gtk_container_add(GTK_CONTAINER(real_frame), frame);
 	gtk_container_add(GTK_CONTAINER(frame), ui_options);
 
@@ -1325,75 +1249,147 @@ radio_plugin_create_options(XfcePanelPlugin *plugin, radio_gui *data)
 	gtk_box_pack_start(GTK_BOX(hbox), label, FALSE, FALSE, 0);
 	gtk_box_pack_start(GTK_BOX(hbox), scrolling, FALSE, FALSE, 5);
 
-	// set values
-	gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON
-		(show_signal), data->show_signal);
-	gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON
-		(graphical_signal_strength), data->show_signal_graphical);
-	gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON
-		(show_label), data->show_label);
-	gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON
-		(resolve_presets), data->resolve_presets_in_label);
-	gtk_combo_box_set_active(GTK_COMBO_BOX
-		(scrolling), data->scroll == CHANGE_FREQ ? 0 : 1);
+	// Add the device options page
+	align = gtk_alignment_new(0, 0, 0.5, 0.5);
+	gtk_widget_show(align);
+	gtk_alignment_set_padding(GTK_ALIGNMENT(align), 0, 5, 5, 5);
 
-	// - Commands
-	real_frame = gtk_frame_new(_("Commands"));
-	frame = gtk_alignment_new(0, 0, 0.5, 0.5);
-	table = gtk_table_new(2, 2, FALSE);
+	gtk_notebook_append_page
+		(GTK_NOTEBOOK(notebook), align, label_radio_options);
+
+	current_page = gtk_vbox_new(FALSE, 0);
+	gtk_widget_show(current_page);
+	gtk_container_add(GTK_CONTAINER(align), current_page);
+
+	// - Radio device
+	hbox = gtk_hbox_new(FALSE, 0);
+	label = gtk_label_new(_("Radio device:"));
+	device_entry = gtk_entry_new_with_max_length(MAX_DEVICE_NAME_LENGTH);
+	gtk_entry_set_text(GTK_ENTRY(device_entry), data->device);
+
+	gtk_widget_show(label);
+	gtk_widget_show(device_entry);
+	gtk_widget_show(hbox);
 
+	gtk_box_pack_start(GTK_BOX(current_page), hbox, FALSE, FALSE, 9);
+	gtk_box_pack_start(GTK_BOX(hbox), label, FALSE, FALSE, 0);
+	gtk_box_pack_start(GTK_BOX(hbox), device_entry, FALSE, FALSE, 5);
+
+	// - Synchronize state
+	sync_state = gtk_check_button_new_with_label
+		(_("Synchronize state with the card"));
+
+	gtk_widget_show(sync_state);
+
+	gtk_box_pack_start(GTK_BOX(current_page), sync_state, FALSE, FALSE, 0);
+
+	frame = gtk_alignment_new(0, 0, 0, 0);
+	gtk_alignment_set_padding(GTK_ALIGNMENT(frame), 0, 0, 20, 0);
 	gtk_widget_show(frame);
-	gtk_widget_show(table);
-	gtk_widget_show(real_frame);
 
-	gtk_table_set_row_spacing(GTK_TABLE(table), 0, 2);
-	gtk_table_set_col_spacing(GTK_TABLE(table), 0, 2);
-	gtk_alignment_set_padding(GTK_ALIGNMENT(frame), 0, 2, 2, 2);
+	title = g_strdup_printf("<i>%s</i>", _("This watches your radio card "
+		"for changes done by other\napplications. Note that this may "
+		"cause issues with some\ntuner cards."));
+	label = gtk_label_new("");
+	gtk_label_set_markup(GTK_LABEL(label), title);
+	g_free(title);
 
-	gtk_container_add(GTK_CONTAINER(frame), table);
-	gtk_container_add(GTK_CONTAINER(real_frame), frame);
-	gtk_box_pack_start(GTK_BOX(properties), real_frame, FALSE, FALSE, 0);
+	gtk_widget_show(label);
+	gtk_container_add(GTK_CONTAINER(frame), label);
+	gtk_box_pack_start(GTK_BOX(current_page), frame, FALSE, FALSE, 0);
+
+	// Add the commands page
+	align = gtk_alignment_new(0, 0, 0.5, 0.5);
+	gtk_widget_show(align);
+	gtk_alignment_set_padding(GTK_ALIGNMENT(align), 0, 5, 5, 5);
+
+	gtk_notebook_append_page
+		(GTK_NOTEBOOK(notebook), align, label_commands);
+
+	current_page = gtk_vbox_new(FALSE, 0);
+	gtk_widget_show(current_page);
+	gtk_container_add(GTK_CONTAINER(align), current_page);
 
 	// -- Post-startup command
-	label = gtk_label_new(_("Run after startup"));
-	startup_command_entry = gtk_entry_new_with_max_length
-		(MAX_COMMAND_LENGTH);
 
+	align = gtk_alignment_new(0, 0, 0, 0);
+	gtk_box_pack_start(GTK_BOX(current_page), align, FALSE, FALSE, 9);
+	gtk_widget_show(align);
+
+	title = g_strdup_printf("<b>%s</b>", _("Command to run after startup"));
+	label = gtk_label_new(NULL);
+	gtk_label_set_markup(GTK_LABEL(label), title);
+	gtk_container_add(GTK_CONTAINER(align), label);
 	gtk_widget_show(label);
-	gtk_widget_show(startup_command_entry);
+	g_free(title);
 
-	gtk_misc_set_alignment(GTK_MISC(label), 0, 0.5);
+	align = gtk_alignment_new(0, 0, 1, 1);
+	gtk_alignment_set_padding(GTK_ALIGNMENT(align), 0, 0, 20, 0);
+	gtk_box_pack_start(GTK_BOX(current_page), align, FALSE, TRUE, 0);
+	gtk_widget_show(align);
 
-	gtk_entry_set_text
-		(GTK_ENTRY(startup_command_entry), data->startup_command);
+	hbox = gtk_hbox_new(FALSE, 12);
+	gtk_container_add(GTK_CONTAINER(align), hbox);
+	gtk_widget_show(hbox);
+
+	startup_command = gtk_entry_new_with_max_length(MAX_COMMAND_LENGTH);
+	gtk_entry_set_text(GTK_ENTRY(startup_command), data->startup_command);
+	gtk_box_pack_start(GTK_BOX(hbox), startup_command, TRUE, TRUE, 0);
+	gtk_widget_show(startup_command);
 
-	gtk_table_attach_defaults
-		(GTK_TABLE(table), label, 0, 1, 0, 1);
-	gtk_table_attach_defaults
-		(GTK_TABLE(table), startup_command_entry, 1, 2, 0, 1);
+	GtkWidget *button = gtk_button_new_from_stock(GTK_STOCK_OPEN);
+	gtk_box_pack_start(GTK_BOX(hbox), button, FALSE, TRUE, 0);
+	gtk_widget_show(button);
 
 	// -- Post-shutdown command
-	label = gtk_label_new(_("Run after shutdown"));
-	shutdown_command_entry = gtk_entry_new_with_max_length
-		(MAX_COMMAND_LENGTH);
 
+	align = gtk_alignment_new(0, 0, 0, 0);
+	gtk_box_pack_start(GTK_BOX(current_page), align, FALSE, FALSE, 9);
+	gtk_widget_show(align);
+
+	title = g_strdup_printf("<b>%s</b>",_("Command to run after shutdown"));
+	label = gtk_label_new(NULL);
+	gtk_label_set_markup(GTK_LABEL(label), title);
+	gtk_container_add(GTK_CONTAINER(align), label);
 	gtk_widget_show(label);
-	gtk_widget_show(shutdown_command_entry);
+	g_free(title);
 
-	gtk_misc_set_alignment(GTK_MISC(label), 0, 0.5);
+	align = gtk_alignment_new(0, 0, 1, 1);
+	gtk_alignment_set_padding(GTK_ALIGNMENT(align), 0, 0, 20, 0);
+	gtk_box_pack_start(GTK_BOX(current_page), align, FALSE, TRUE, 0);
+	gtk_widget_show(align);
+
+	hbox = gtk_hbox_new(FALSE, 12);
+	gtk_container_add(GTK_CONTAINER(align), hbox);
+	gtk_widget_show(hbox);
+
+	shutdown_command = gtk_entry_new_with_max_length(MAX_COMMAND_LENGTH);
+	gtk_entry_set_text(GTK_ENTRY(shutdown_command), data->shutdown_command);
+	gtk_box_pack_start(GTK_BOX(hbox), shutdown_command, TRUE, TRUE, 0);
+	gtk_widget_show(shutdown_command);
 
-	gtk_entry_set_text
-		(GTK_ENTRY(shutdown_command_entry), data->shutdown_command);
+	button = gtk_button_new_from_stock(GTK_STOCK_OPEN);
+	gtk_box_pack_start(GTK_BOX(hbox), button, FALSE, TRUE, 0);
+	gtk_widget_show(button);
 
-	gtk_table_attach_defaults
-		(GTK_TABLE(table), label, 0, 1, 1, 2);
-	gtk_table_attach_defaults
-		(GTK_TABLE(table), shutdown_command_entry, 1, 2, 1, 2);
+	// set values
+	gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON
+		(show_signal), data->show_signal);
+	gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON
+		(graphical_signal_strength), data->show_signal_graphical);
+	gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON
+		(show_label), data->show_label);
+	gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON
+		(resolve_presets), data->resolve_presets_in_label);
+	gtk_combo_box_set_active(GTK_COMBO_BOX
+		(scrolling), data->scroll == CHANGE_FREQ ? 0 : 1);
+	gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON
+		(sync_state), data->auto_update_display);
 
 	// Connect signals
-	g_signal_connect((gpointer) startup_command_entry, "changed",
+	g_signal_connect((gpointer) startup_command, "changed",
 			G_CALLBACK(radio_startup_command_changed), data);
-	g_signal_connect((gpointer) shutdown_command_entry, "changed",
+	g_signal_connect((gpointer) shutdown_command, "changed",
 			G_CALLBACK(radio_shutdown_command_changed), data);
 	g_signal_connect((gpointer) device_entry, "changed",
 			G_CALLBACK(radio_device_changed), data);
@@ -1405,7 +1401,7 @@ radio_plugin_create_options(XfcePanelPlugin *plugin, radio_gui *data)
 			G_CALLBACK(radio_signal_type_changed), data);
 	g_signal_connect(G_OBJECT(resolve_presets), "toggled",
 			G_CALLBACK(radio_resolve_presets_changed), data);
-	g_signal_connect(G_OBJECT(auto_update_display_yes), "toggled",
+	g_signal_connect(G_OBJECT(sync_state), "toggled",
 			G_CALLBACK(radio_auto_update_display_changed), data);
 	g_signal_connect(G_OBJECT(scrolling), "changed",
 			G_CALLBACK(radio_scroll_type_changed), data);
diff --git a/po/xfce4-radio-plugin.pot b/po/xfce4-radio-plugin.pot
index 68a3fa8..b7d88be 100644
--- a/po/xfce4-radio-plugin.pot
+++ b/po/xfce4-radio-plugin.pot
@@ -8,7 +8,7 @@ msgid ""
 msgstr ""
 "Project-Id-Version: PACKAGE VERSION\n"
 "Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2011-05-20 07:37+0200\n"
+"POT-Creation-Date: 2011-05-20 19:25+0200\n"
 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
 "Last-Translator: FULL NAME <EMAIL at ADDRESS>\n"
 "Language-Team: LANGUAGE <LL at li.org>\n"
@@ -60,7 +60,7 @@ msgid "Illegal frequency."
 msgstr ""
 
 #. Notebook tabs
-#: ../panel-plugin/xfce4-radio.c:500 ../panel-plugin/xfce4-radio.c:1124
+#: ../panel-plugin/xfce4-radio.c:500 ../panel-plugin/xfce4-radio.c:1128
 msgid "Presets"
 msgstr ""
 
@@ -72,93 +72,84 @@ msgstr ""
 msgid "unnamed"
 msgstr ""
 
-#: ../panel-plugin/xfce4-radio.c:1027
+#: ../panel-plugin/xfce4-radio.c:1031
 msgid "Properties"
 msgstr ""
 
-#: ../panel-plugin/xfce4-radio.c:1125
-msgid "Options"
-msgstr ""
-
-#: ../panel-plugin/xfce4-radio.c:1126
+#: ../panel-plugin/xfce4-radio.c:1129
 msgid "User interface"
 msgstr ""
 
-#. - Device
-#: ../panel-plugin/xfce4-radio.c:1148
-msgid "Device"
-msgstr ""
-
-#: ../panel-plugin/xfce4-radio.c:1164
-msgid "V4L device"
+#: ../panel-plugin/xfce4-radio.c:1130
+msgid "Radio device"
 msgstr ""
 
-#: ../panel-plugin/xfce4-radio.c:1181
-msgid "Synchronize state with the card"
-msgstr ""
-
-#: ../panel-plugin/xfce4-radio.c:1183
-msgid "yes"
-msgstr ""
-
-#: ../panel-plugin/xfce4-radio.c:1201
-msgid "no"
+#: ../panel-plugin/xfce4-radio.c:1131
+msgid "Commands"
 msgstr ""
 
 #. - Signal strength
-#: ../panel-plugin/xfce4-radio.c:1229
+#: ../panel-plugin/xfce4-radio.c:1153
 msgid "Signal strength"
 msgstr ""
 
-#: ../panel-plugin/xfce4-radio.c:1245
+#: ../panel-plugin/xfce4-radio.c:1169
 msgid "Show the signal strength indicator"
 msgstr ""
 
-#: ../panel-plugin/xfce4-radio.c:1251
+#: ../panel-plugin/xfce4-radio.c:1175
 msgid "Use graphics instead of text labels and progress bars"
 msgstr ""
 
 #. - Current station
-#: ../panel-plugin/xfce4-radio.c:1256
+#: ../panel-plugin/xfce4-radio.c:1180
 msgid "Current station"
 msgstr ""
 
-#: ../panel-plugin/xfce4-radio.c:1272
+#: ../panel-plugin/xfce4-radio.c:1196
 msgid "Show the current station"
 msgstr ""
 
-#: ../panel-plugin/xfce4-radio.c:1278
+#: ../panel-plugin/xfce4-radio.c:1202
 msgid "Show preset names instead of frequencies"
 msgstr ""
 
 #. - Mouse
-#: ../panel-plugin/xfce4-radio.c:1283
+#: ../panel-plugin/xfce4-radio.c:1207
 msgid "Mouse interaction"
 msgstr ""
 
-#: ../panel-plugin/xfce4-radio.c:1299
+#: ../panel-plugin/xfce4-radio.c:1223
 msgid "Mouse scrolling changes"
 msgstr ""
 
-#: ../panel-plugin/xfce4-radio.c:1319
+#: ../panel-plugin/xfce4-radio.c:1243
 msgid "frequency"
 msgstr ""
 
-#: ../panel-plugin/xfce4-radio.c:1321
+#: ../panel-plugin/xfce4-radio.c:1245
 msgid "station preset"
 msgstr ""
 
-#. - Commands
-#: ../panel-plugin/xfce4-radio.c:1341
-msgid "Commands"
+#: ../panel-plugin/xfce4-radio.c:1266
+msgid "Radio device:"
+msgstr ""
+
+#: ../panel-plugin/xfce4-radio.c:1280
+msgid "Synchronize state with the card"
 msgstr ""
 
-#. -- Post-startup command
-#: ../panel-plugin/xfce4-radio.c:1358
-msgid "Run after startup"
+#: ../panel-plugin/xfce4-radio.c:1290
+msgid ""
+"This watches your radio card for changes done by other\n"
+"applications. Note that this may cause issues with some\n"
+"tuner cards."
+msgstr ""
+
+#: ../panel-plugin/xfce4-radio.c:1319
+msgid "Command to run after startup"
 msgstr ""
 
-#. -- Post-shutdown command
-#: ../panel-plugin/xfce4-radio.c:1376
-msgid "Run after shutdown"
+#: ../panel-plugin/xfce4-radio.c:1350
+msgid "Command to run after shutdown"
 msgstr ""



More information about the Xfce4-commits mailing list