[Goodies-commits] r4937 - in xfce4-radio-plugin/trunk: . panel-plugin po

Stefan Ott cockroach at xfce.org
Sat Jun 14 15:21:02 CEST 2008


Author: cockroach
Date: 2008-06-14 13:21:02 +0000 (Sat, 14 Jun 2008)
New Revision: 4937

Modified:
   xfce4-radio-plugin/trunk/NEWS
   xfce4-radio-plugin/trunk/panel-plugin/radio.c
   xfce4-radio-plugin/trunk/panel-plugin/radio.h
   xfce4-radio-plugin/trunk/po/de.po
   xfce4-radio-plugin/trunk/po/fr.po
   xfce4-radio-plugin/trunk/po/xfce4-radio-plugin.pot
Log:


Modified: xfce4-radio-plugin/trunk/NEWS
===================================================================
--- xfce4-radio-plugin/trunk/NEWS	2008-06-14 12:13:45 UTC (rev 4936)
+++ xfce4-radio-plugin/trunk/NEWS	2008-06-14 13:21:02 UTC (rev 4937)
@@ -1,6 +1,17 @@
 Get the latest version of this plugin at http://goodies.xfce.org/
 ===============================================================================
 
+v0.3.0 (14 Jun 2008):
+=====================
+ * The "let's apply his patch and call it a new version"-release
+ * Thanks to Lex Neva for his patch which does all of the following
+ * Properly initialize the shutdown command
+ * Added an option to run a command at startup
+ * The plugin now realizes when a third party changes the tuner
+ * Changed one occurrence of VIDIOCSAUDIO to VIDIOCGAUDIO
+ * Increased MAX_COMMAND_LENGTH to 512
+ * Added a lot of translations (thanks to the translators!)
+
 v0.2.1 (15 Jun 2007):
 =====================
  * Can now be compiled against latest 4.5-svn versions of Xfce

Modified: xfce4-radio-plugin/trunk/panel-plugin/radio.c
===================================================================
--- xfce4-radio-plugin/trunk/panel-plugin/radio.c	2008-06-14 12:13:45 UTC (rev 4936)
+++ xfce4-radio-plugin/trunk/panel-plugin/radio.c	2008-06-14 13:21:02 UTC (rev 4937)
@@ -51,7 +51,7 @@
 {
 	if (!data->on || !data->show_signal) {
 		gtk_widget_hide (data->signal_bar);
-		data->timeout_id = 0;
+		data->signal_timeout_id = 0;
 		return FALSE;
 	} else {
 		gtk_widget_show (data->signal_bar);
@@ -64,9 +64,10 @@
 						COLOR_SIGNAL_LOW, &color);
 		gtk_widget_modify_bg (data->signal_bar, GTK_STATE_PRELIGHT,
 								&color);
-		if (data->timeout_id == 0) {
-			data->timeout_id = g_timeout_add(500, (GtkFunction)
-					update_signal_bar, (gpointer) data);
+		if (data->signal_timeout_id == 0) {
+			data->signal_timeout_id = g_timeout_add(500,
+					(GtkFunction) update_signal_bar,
+							(gpointer) data);
 		}
 		return TRUE;
 	}
@@ -107,6 +108,58 @@
 	free (label);
 }
 
+static gboolean update_radio(radio_gui *data) {
+	struct video_audio vid_aud;
+	long freq;
+
+	if (!data->on) {
+		data->fd = open(data->device, O_RDONLY);
+
+		// should I return FALSE here to stop timer?
+		if (data->fd == -1)
+			return TRUE;
+	}
+
+	if (ioctl(data->fd, VIDIOCGAUDIO, &vid_aud))
+		perror("VIDIOCGAUDIO");
+
+	if (vid_aud.flags & VIDEO_AUDIO_MUTE) {
+		close(data->fd);		
+
+		// Radio is off.  Did I think it was on?
+		if (data->on) {
+			// manually clean up; radio_stop would call ioctl	
+			if (data->show_signal)
+				gtk_widget_hide (data->signal_bar);
+			data->on = 0;
+		}
+	} else {
+		// Radio is on.  Did I think it was off?
+		if (!data->on) {
+			// manually clean up; radio_start would tune the radio
+			gtk_tooltips_enable (data->tooltips);			
+			
+			data->on = 1;
+		}
+
+		if (ioctl(data->fd, VIDIOCGFREQ, &freq)) {
+			perror("VIDIOCGFREQ");
+			return TRUE; // should maybe be FALSE?
+		}
+
+		// this plugin deals with frequencies in hundredths of Mhz
+		freq *= 100;
+		freq /= data->freqfact;
+
+		data->freq = freq;
+	}	
+
+	update_label(data);
+	update_signal_bar(data);	
+
+	return TRUE;
+}
+
 static gboolean
 radio_start (radio_gui* data)
 {
@@ -128,11 +181,15 @@
 		(tuner.flags & VIDEO_TUNER_LOW))
 		data->freqfact = 16000;
 
-	if (ioctl (data->fd, VIDIOCSAUDIO, &vid_aud)) perror("VIDIOCGAUDIO");
+	if (ioctl (data->fd, VIDIOCGAUDIO, &vid_aud)) perror("VIDIOCGAUDIO");
 	if (vid_aud.volume == 0) vid_aud.volume = 65535;
 	vid_aud.flags &= ~VIDEO_AUDIO_MUTE;
 	if (ioctl (data->fd, VIDIOCSAUDIO, &vid_aud)) perror("VIDIOCSAUDIO");
 
+	if (strcmp(data->startup_command, "") != 0) {
+		xfce_exec(data->startup_command, FALSE, FALSE, NULL);
+	}
+
 	radio_tune (data);
 	gtk_tooltips_enable (data->tooltips);
 	return TRUE;
@@ -152,8 +209,8 @@
 
 	if (data->show_signal) gtk_widget_hide (data->signal_bar);
 
-	if (strcmp (data->command, "") != 0) {
-		xfce_exec (data->command, FALSE, FALSE, NULL);
+	if (strcmp (data->shutdown_command, "") != 0) {
+		xfce_exec (data->shutdown_command, FALSE, FALSE, NULL);
 	}
 }
 
@@ -630,24 +687,56 @@
 	if (data->on) radio_stop(data);
 	free_presets (data);
 	g_free (data);
+
+	/* TODO: check this
++	
++	// lex: I think this is necessary.
++	if (data->signal_timeout_id)
++		g_source_remove(data->signal_timeout_id);	
++	if (data->radio_timeout_id)
++		g_source_remove(data->radio_timeout_id);
++	
+ 	*/
 }
 
 static radio_gui *
 plugin_control_new (XfcePanelPlugin *plugin)
 {
+	int fd;
+	struct video_tuner tuner;
 	radio_gui* plugin_data = create_gui();
 
 	plugin_data->plugin = plugin;
 
 	plugin_data->on = FALSE;
 	plugin_data->freq = FREQ_INIT;
-	plugin_data->freqfact = 16;
+	strcpy(plugin_data->device, "/dev/radio0");
+
+	// have to get the freqfact here now because someone else might
+	// turn on the radio
+	fd = open(plugin_data->device, O_RDONLY);
+	if (fd != -1) {
+		if (ioctl(fd, VIDIOCGTUNER, &tuner) == 0) {
+			if (tuner.flags & VIDEO_TUNER_LOW)
+				plugin_data->freqfact = 16000;
+			else
+				plugin_data->freqfact = 16;
+		} else {
+			plugin_data->freqfact = 16;
+		}
+		close (fd);
+	} else {
+		plugin_data->freqfact = 16;
+	}
 	plugin_data->show_signal = TRUE;
-	strcpy(plugin_data->device, "/dev/radio0");
 	plugin_data->presets = NULL;
 	plugin_data->scroll = CHANGE_FREQ;
-	plugin_data->timeout_id = 0;
+	plugin_data->signal_timeout_id = 0;
+	plugin_data->radio_timeout_id = g_timeout_add(2000,
+			(GtkFunction)update_radio, (gpointer)plugin_data);
 	plugin_data->tooltips = gtk_tooltips_new();
+	plugin_data->startup_command[0] = '\0';
+	plugin_data->shutdown_command[0] = '\0';
 
 	update_label(plugin_data);
 
@@ -657,14 +746,22 @@
 }
 
 static void
-radio_command_changed (GtkEditable* editable, void *pointer)
+radio_startup_command_changed (GtkEditable* editable, void *pointer)
 {
 	radio_gui* data = (radio_gui*) pointer;
 	const char* command = gtk_entry_get_text (GTK_ENTRY (editable));
-	strncpy (data->command, command, MAX_COMMAND_LENGTH);
+	strncpy (data->startup_command, command, MAX_COMMAND_LENGTH);
 }
 
 static void
+radio_shutdown_command_changed (GtkEditable* editable, void *pointer)
+{
+	radio_gui* data = (radio_gui*) pointer;
+	const char* command = gtk_entry_get_text (GTK_ENTRY (editable));
+	strncpy (data->shutdown_command, command, MAX_COMMAND_LENGTH);
+}
+
+static void
 radio_device_changed (GtkEditable* editable, void *pointer)
 {
 	radio_gui* data = (radio_gui*) pointer;
@@ -712,7 +809,8 @@
 	GSList *show_signal_group = NULL;	// signal strength:
 	GtkWidget *signal_show;			//  - show
 	GtkWidget *signal_hide;			//  - hide
-	GtkWidget *command_entry;		// post-down command
+	GtkWidget *startup_command_entry;	// post-down command
+	GtkWidget *shutdown_command_entry;	// post-down command
 	GtkWidget *device_entry;		// v4l-device
 	GSList *scroll_group = NULL;		// scroll action:
 	GtkWidget *frequency_button;		//  - change frequency
@@ -774,18 +872,34 @@
 	gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (signal_hide),
 							!data->show_signal);
 
-	label = gtk_label_new (_("Execute command after shutdown"));
+	label = gtk_label_new (_("Execute command after startup"));
 	gtk_widget_show (label);
 	gtk_table_attach (GTK_TABLE (table), label, 0, 1, 3, 4, GTK_FILL,
 								0, 0, 0);
 	gtk_misc_set_alignment (GTK_MISC (label), 0, 0.5);
 
-	command_entry = gtk_entry_new_with_max_length (MAX_COMMAND_LENGTH);
-	gtk_entry_set_text (GTK_ENTRY (command_entry), data->command);
-	gtk_widget_show (command_entry);
-	gtk_table_attach (GTK_TABLE (table), command_entry, 1, 2, 3, 4,
+	startup_command_entry = gtk_entry_new_with_max_length
+							(MAX_COMMAND_LENGTH);
+	gtk_entry_set_text (GTK_ENTRY (startup_command_entry),
+							data->startup_command);
+	gtk_widget_show (startup_command_entry);
+	gtk_table_attach (GTK_TABLE (table), startup_command_entry, 1, 2, 3, 4,
 					GTK_EXPAND | GTK_FILL, 0, 0, 0);
 
+	label = gtk_label_new (_("Execute command after shutdown"));
+	gtk_widget_show (label);
+	gtk_table_attach (GTK_TABLE (table), label, 0, 1, 4, 5, GTK_FILL,
+								0, 0, 0);
+	gtk_misc_set_alignment (GTK_MISC (label), 0, 0.5);
+
+	shutdown_command_entry = gtk_entry_new_with_max_length
+							(MAX_COMMAND_LENGTH);
+	gtk_entry_set_text (GTK_ENTRY (shutdown_command_entry),
+							data->shutdown_command);
+	gtk_widget_show (shutdown_command_entry);
+	gtk_table_attach (GTK_TABLE (table), shutdown_command_entry, 1, 2, 4, 5,
+					GTK_EXPAND | GTK_FILL, 0, 0, 0);
+
 	label = gtk_label_new (_("Mouse scrolling changes"));
 	gtk_widget_show (label);
 	gtk_table_attach (GTK_TABLE (table), label, 0, 1, 2, 3, GTK_FILL,
@@ -825,14 +939,16 @@
 	gtk_table_attach (GTK_TABLE(table), device_entry, 1, 2, 0, 1,
 					GTK_EXPAND | GTK_FILL, 0, 0, 0);
 
-	g_signal_connect ((gpointer) command_entry, "changed",
-				G_CALLBACK (radio_command_changed), data);
+	g_signal_connect ((gpointer) startup_command_entry, "changed",
+			G_CALLBACK (radio_startup_command_changed), data);
+	g_signal_connect ((gpointer) shutdown_command_entry, "changed",
+			G_CALLBACK (radio_shutdown_command_changed), data);
 	g_signal_connect ((gpointer) device_entry, "changed",
-				G_CALLBACK (radio_device_changed), data);
+			G_CALLBACK (radio_device_changed), data);
 	g_signal_connect (G_OBJECT (signal_show), "toggled",
-				G_CALLBACK(radio_show_signal_changed), data);
+			G_CALLBACK(radio_show_signal_changed), data);
 	g_signal_connect (G_OBJECT (frequency_button), "toggled",
-				G_CALLBACK (radio_scroll_type_changed), data);
+			G_CALLBACK (radio_scroll_type_changed), data);
 
 	gtk_widget_show (dialog);
 }
@@ -851,7 +967,10 @@
 		xfce_rc_set_group	(rc, "radio plugin");
 
 		xfce_rc_write_entry	(rc, "dev", data->device);
-		xfce_rc_write_entry	(rc, "cmd", data->command);
+		xfce_rc_write_entry	(rc, "startup_cmd",
+							data->startup_command);
+		xfce_rc_write_entry	(rc, "shutdown_cmd",
+							data->shutdown_command);
 		xfce_rc_write_int_entry (rc, "frq", data->freq);
 		xfce_rc_write_int_entry (rc, "scroll", data->scroll);
 		xfce_rc_write_bool_entry(rc, "show_signal", data->show_signal);
@@ -897,9 +1016,12 @@
 	if ((value = xfce_rc_read_entry (rc, "dev", NULL)) && *value) {
 		strncpy (data->device, value, MAX_DEVICE_NAME_LENGTH);
 	}
-	if ((value = xfce_rc_read_entry (rc, "cmd", NULL)) && *value) {
-		strncpy (data->command, value, MAX_COMMAND_LENGTH);
+	if ((value = xfce_rc_read_entry (rc, "startup_cmd", NULL)) && *value) {
+		strncpy (data->startup_command, value, MAX_COMMAND_LENGTH);
 	}
+	if ((value = xfce_rc_read_entry (rc, "shutdown_cmd", NULL)) && *value) {
+		strncpy (data->shutdown_command, value, MAX_COMMAND_LENGTH);
+	}
 
 	free_presets (data);
 

Modified: xfce4-radio-plugin/trunk/panel-plugin/radio.h
===================================================================
--- xfce4-radio-plugin/trunk/panel-plugin/radio.h	2008-06-14 12:13:45 UTC (rev 4936)
+++ xfce4-radio-plugin/trunk/panel-plugin/radio.h	2008-06-14 13:21:02 UTC (rev 4937)
@@ -33,7 +33,7 @@
 
 #define MAX_LABEL_LENGTH	7
 #define MAX_DEVICE_NAME_LENGTH	32
-#define MAX_COMMAND_LENGTH	128
+#define MAX_COMMAND_LENGTH	512
 #define MAX_PRESET_NAME_LENGTH	15
 
 #define COLOR_SIGNAL_LOW	"#ffff00"
@@ -61,7 +61,8 @@
 	GtkWidget*		signal_bar;
 	GtkTooltips*		tooltips;
 	
-	int			timeout_id;
+	int			signal_timeout_id;
+	int			radio_timeout_id;
 
 	gboolean		on;
 	gboolean		show_signal;
@@ -69,7 +70,8 @@
 	int			fd;
 	int			freqfact;
 	char			device [MAX_DEVICE_NAME_LENGTH];
-	char			command [MAX_COMMAND_LENGTH];
+	char			startup_command [MAX_COMMAND_LENGTH];
+	char			shutdown_command [MAX_COMMAND_LENGTH];
 	radio_preset*		presets;
 	mouse_scroll_reaction	scroll;
 

Modified: xfce4-radio-plugin/trunk/po/de.po
===================================================================
--- xfce4-radio-plugin/trunk/po/de.po	2008-06-14 12:13:45 UTC (rev 4936)
+++ xfce4-radio-plugin/trunk/po/de.po	2008-06-14 13:21:02 UTC (rev 4937)
@@ -6,98 +6,102 @@
 msgstr ""
 "Project-Id-Version: 0.2.0\n"
 "Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2006-09-10 21:29+0200\n"
+"POT-Creation-Date: 2008-06-14 15:16+0200\n"
 "PO-Revision-Date: 2006-05-09 03:06+0200\n"
 "Last-Translator: Stefan Ott <stefan at desire.ch>\n"
 "MIME-Version: 1.0\n"
 "Content-Type: text/plain; charset=UTF-8\n"
 "Content-Transfer-Encoding: 8bit\n"
 
-#: ../panel-plugin/radio.c:78
+#: ../panel-plugin/radio.c:82
 msgid "Not tuned"
 msgstr "Kein Sender"
 
-#: ../panel-plugin/radio.c:100
+#: ../panel-plugin/radio.c:104
 msgid "- off -"
 msgstr "- aus -"
 
-#: ../panel-plugin/radio.c:118
+#: ../panel-plugin/radio.c:174
 msgid "Error opening radio device"
 msgstr "Fehler beim Öffnen des Geräts"
 
-#: ../panel-plugin/radio.c:236 ../panel-plugin/radio.c:267
-#: ../panel-plugin/radio.c:467
+#: ../panel-plugin/radio.c:296 ../panel-plugin/radio.c:327
+#: ../panel-plugin/radio.c:527
 msgid "Add preset"
 msgstr "Sender speichern"
 
-#: ../panel-plugin/radio.c:242 ../panel-plugin/radio.c:273
+#: ../panel-plugin/radio.c:302 ../panel-plugin/radio.c:333
 msgid "Station name:"
 msgstr "Sendername"
 
-#: ../panel-plugin/radio.c:294
+#: ../panel-plugin/radio.c:354
 msgid "There is already a preset with this frequency."
 msgstr "Es existiert bereits ein Sender mit dieser Frequenz."
 
-#: ../panel-plugin/radio.c:332
+#: ../panel-plugin/radio.c:392
 msgid "Tune radio"
 msgstr "Frequenz wählen"
 
-#: ../panel-plugin/radio.c:338
+#: ../panel-plugin/radio.c:398
 msgid "Frequency [MHz]:"
 msgstr "Frequenz [MHz]:"
 
-#: ../panel-plugin/radio.c:361
+#: ../panel-plugin/radio.c:421
 msgid "Illegal frequency."
 msgstr "Ungültige Frequenz"
 
-#: ../panel-plugin/radio.c:438
+#: ../panel-plugin/radio.c:498
 msgid "Presets"
 msgstr "Sender"
 
-#: ../panel-plugin/radio.c:474
+#: ../panel-plugin/radio.c:534
 msgid "Delete active preset"
 msgstr "Aktuellen Sender löschen"
 
-#: ../panel-plugin/radio.c:481
+#: ../panel-plugin/radio.c:541
 msgid "Rename active preset"
 msgstr "Aktuellen Sender umbenennen"
 
-#: ../panel-plugin/radio.c:493
+#: ../panel-plugin/radio.c:553
 msgid "Tune to frequency"
 msgstr "Frequenz wählen"
 
-#: ../panel-plugin/radio.c:720
+#: ../panel-plugin/radio.c:821
 msgid "Properties"
 msgstr "Einstellungen"
 
-#: ../panel-plugin/radio.c:739
+#: ../panel-plugin/radio.c:839
 msgid "V4L device"
 msgstr "V4L Gerät"
 
-#: ../panel-plugin/radio.c:745
+#: ../panel-plugin/radio.c:845
 msgid "Display signal strength"
 msgstr "Signalqualität anzeigen"
 
-#: ../panel-plugin/radio.c:756
+#: ../panel-plugin/radio.c:856
 msgid "yes"
 msgstr "ja"
 
-#: ../panel-plugin/radio.c:765
+#: ../panel-plugin/radio.c:865
 msgid "no"
 msgstr "nein"
 
-#: ../panel-plugin/radio.c:775
+#: ../panel-plugin/radio.c:875
+msgid "Execute command after startup"
+msgstr "Befehl nach dem Einschalten ausführen"
+
+#: ../panel-plugin/radio.c:889
 msgid "Execute command after shutdown"
 msgstr "Befehl nach dem Ausschalten ausführen"
 
-#: ../panel-plugin/radio.c:787
+#: ../panel-plugin/radio.c:903
 msgid "Mouse scrolling changes"
 msgstr "Maus-Scrollen ändert"
 
-#: ../panel-plugin/radio.c:799
+#: ../panel-plugin/radio.c:915
 msgid "frequency"
 msgstr "Frequenz"
 
-#: ../panel-plugin/radio.c:807
+#: ../panel-plugin/radio.c:923
 msgid "preset"
 msgstr "Sender"

Modified: xfce4-radio-plugin/trunk/po/fr.po
===================================================================
--- xfce4-radio-plugin/trunk/po/fr.po	2008-06-14 12:13:45 UTC (rev 4936)
+++ xfce4-radio-plugin/trunk/po/fr.po	2008-06-14 13:21:02 UTC (rev 4937)
@@ -38,7 +38,7 @@
 
 #: ../panel-plugin/radio.c:294
 msgid "There is already a preset with this frequency."
-msgstr "Il-y-à déjà un réglage avec cette fréquence"
+msgstr "Il-y-a déjà un réglage avec cette fréquence"
 
 #: ../panel-plugin/radio.c:332
 msgid "Tune radio"

Modified: xfce4-radio-plugin/trunk/po/xfce4-radio-plugin.pot
===================================================================
--- xfce4-radio-plugin/trunk/po/xfce4-radio-plugin.pot	2008-06-14 12:13:45 UTC (rev 4936)
+++ xfce4-radio-plugin/trunk/po/xfce4-radio-plugin.pot	2008-06-14 13:21:02 UTC (rev 4937)
@@ -8,7 +8,7 @@
 msgstr ""
 "Project-Id-Version: PACKAGE VERSION\n"
 "Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2006-09-10 21:29+0200\n"
+"POT-Creation-Date: 2008-06-14 15:16+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"
@@ -16,91 +16,95 @@
 "Content-Type: text/plain; charset=CHARSET\n"
 "Content-Transfer-Encoding: 8bit\n"
 
-#: ../panel-plugin/radio.c:78
+#: ../panel-plugin/radio.c:82
 msgid "Not tuned"
 msgstr ""
 
-#: ../panel-plugin/radio.c:100
+#: ../panel-plugin/radio.c:104
 msgid "- off -"
 msgstr ""
 
-#: ../panel-plugin/radio.c:118
+#: ../panel-plugin/radio.c:174
 msgid "Error opening radio device"
 msgstr ""
 
-#: ../panel-plugin/radio.c:236 ../panel-plugin/radio.c:267
-#: ../panel-plugin/radio.c:467
+#: ../panel-plugin/radio.c:296 ../panel-plugin/radio.c:327
+#: ../panel-plugin/radio.c:527
 msgid "Add preset"
 msgstr ""
 
-#: ../panel-plugin/radio.c:242 ../panel-plugin/radio.c:273
+#: ../panel-plugin/radio.c:302 ../panel-plugin/radio.c:333
 msgid "Station name:"
 msgstr ""
 
-#: ../panel-plugin/radio.c:294
+#: ../panel-plugin/radio.c:354
 msgid "There is already a preset with this frequency."
 msgstr ""
 
-#: ../panel-plugin/radio.c:332
+#: ../panel-plugin/radio.c:392
 msgid "Tune radio"
 msgstr ""
 
-#: ../panel-plugin/radio.c:338
+#: ../panel-plugin/radio.c:398
 msgid "Frequency [MHz]:"
 msgstr ""
 
-#: ../panel-plugin/radio.c:361
+#: ../panel-plugin/radio.c:421
 msgid "Illegal frequency."
 msgstr ""
 
-#: ../panel-plugin/radio.c:438
+#: ../panel-plugin/radio.c:498
 msgid "Presets"
 msgstr ""
 
-#: ../panel-plugin/radio.c:474
+#: ../panel-plugin/radio.c:534
 msgid "Delete active preset"
 msgstr ""
 
-#: ../panel-plugin/radio.c:481
+#: ../panel-plugin/radio.c:541
 msgid "Rename active preset"
 msgstr ""
 
-#: ../panel-plugin/radio.c:493
+#: ../panel-plugin/radio.c:553
 msgid "Tune to frequency"
 msgstr ""
 
-#: ../panel-plugin/radio.c:720
+#: ../panel-plugin/radio.c:821
 msgid "Properties"
 msgstr ""
 
-#: ../panel-plugin/radio.c:739
+#: ../panel-plugin/radio.c:839
 msgid "V4L device"
 msgstr ""
 
-#: ../panel-plugin/radio.c:745
+#: ../panel-plugin/radio.c:845
 msgid "Display signal strength"
 msgstr ""
 
-#: ../panel-plugin/radio.c:756
+#: ../panel-plugin/radio.c:856
 msgid "yes"
 msgstr ""
 
-#: ../panel-plugin/radio.c:765
+#: ../panel-plugin/radio.c:865
 msgid "no"
 msgstr ""
 
-#: ../panel-plugin/radio.c:775
+#: ../panel-plugin/radio.c:875
+msgid "Execute command after startup"
+msgstr ""
+
+#: ../panel-plugin/radio.c:889
 msgid "Execute command after shutdown"
 msgstr ""
 
-#: ../panel-plugin/radio.c:787
+#: ../panel-plugin/radio.c:903
 msgid "Mouse scrolling changes"
 msgstr ""
 
-#: ../panel-plugin/radio.c:799
+#: ../panel-plugin/radio.c:915
 msgid "frequency"
 msgstr ""
 
-#: ../panel-plugin/radio.c:807
+#: ../panel-plugin/radio.c:923
 msgid "preset"
 msgstr ""




More information about the Goodies-commits mailing list