Update of /cvsroot/gtkpod/gtkpod/src
In directory sc8-pr-cvs2.sourceforge.net:/tmp/cvs-serv31990/src
Modified Files:
ipod_init.c
Log Message:
* ipod_init.c (gp_ipod_init_set_model): mention mountpoint
when asking for the model.
Index: ipod_init.c
===================================================================
RCS file: /cvsroot/gtkpod/gtkpod/src/ipod_init.c,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- ipod_init.c 10 Jun 2006 10:38:58 -0000 1.5
+++ ipod_init.c 10 Jun 2006 11:08:58 -0000 1.6
@@ -1,4 +1,4 @@
-/* Time-stamp: <2006-06-10 19:21:29 jcs>
+/* Time-stamp: <2006-06-10 19:58:33 jcs>
|
| Copyright (C) 2002-2005 Jorg Schuler <jcsjcs at users sourceforge net>
| Part of the gtkpod project.
@@ -384,7 +384,7 @@
GladeXML *xml;
GtkWidget *window;
gint response;
- gchar *model;
+ gchar *model, *mountpoint;
GtkEntry *entry;
gchar buf[PATH_MAX];
GtkComboBox *cb;
@@ -397,6 +397,13 @@
window = GET_WIDGET ("set_ipod_model_dialog");
g_return_if_fail (window);
+ /* Set up label */
+ mountpoint = get_itdb_prefs_string (itdb, KEY_MOUNTPOINT);
+ g_return_if_fail (mountpoint);
+ g_snprintf (buf, PATH_MAX, _("<b>Please select your iPod model at
</b><i>%s</i>"), mountpoint);
+ gtk_label_set_markup (GTK_LABEL (GET_WIDGET ("label")), buf);
+ g_free (mountpoint);
+
/* Setup model number combo */
cb = GTK_COMBO_BOX (GET_WIDGET (MODEL_COMBO));
gp_init_model_number_combo (cb);
_______________________________________________
gtkpod-cvs2 mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gtkpod-cvs2