Author: hadess
Date: Sun Feb 10 16:28:12 2008
New Revision: 5097
URL: http://svn.gnome.org/viewvc/totem?rev=5097&view=rev
Log:
2008-02-10 Bastien Nocera <[EMAIL PROTECTED]>
* src/totem-menu.c: (update_dvb_menu_items): Fix stupidness
Modified:
trunk/ChangeLog
trunk/src/totem-menu.c
Modified: trunk/src/totem-menu.c
==============================================================================
--- trunk/src/totem-menu.c (original)
+++ trunk/src/totem-menu.c Sun Feb 10 16:28:12 2008
@@ -910,17 +910,18 @@
devicenode = g_strdup_printf("/dev/dvb/adapter%d/frontend0", i);
if (g_file_test (devicenode, G_FILE_TEST_EXISTS) != FALSE) {
- char* label, *name, adapter_name;
+ char* label, *name, *adapter_name;
GtkAction* action;
/* translators: the index of the adapter
* DVB Adapter 1 */
- adapter_name = g_strdup_printf (_("DVB Adapter %d"));
+ adapter_name = g_strdup_printf (_("DVB Adapter %u"), i);
/* translators:
* Watch TV on 'DVB Adapter 1'
* or
* Watch TV on 'Hauppauge Nova-T Stick' */
label = g_strdup_printf (_("Watch TV on \'%s\'"),
adapter_name);
+ g_free (adapter_name);
name = g_strdup_printf ("dvbdevice%d", i);
action = gtk_action_new (name, label, NULL, NULL);
_______________________________________________
SVN-commits-list mailing list (read only)
http://mail.gnome.org/mailman/listinfo/svn-commits-list
Want to limit the commits to a few modules? Go to above URL, log in to edit
your options and select the modules ('topics') you want.
Module maintainer? It is possible to set the reply-to to your development
mailing list. Email [EMAIL PROTECTED] if interested.