[Goodies-commits] r2852 - in xfce4-cddrive-plugin/trunk: panel-plugin po

Sylvain Reynal syl at xfce.org
Sat Jun 23 09:06:26 CEST 2007


Author: syl
Date: 2007-06-23 07:06:25 +0000 (Sat, 23 Jun 2007)
New Revision: 2852

Modified:
   xfce4-cddrive-plugin/trunk/panel-plugin/cddrive-cddb.c
   xfce4-cddrive-plugin/trunk/panel-plugin/cddrive-cddb.h
   xfce4-cddrive-plugin/trunk/panel-plugin/cddrive-dialogs.c
   xfce4-cddrive-plugin/trunk/panel-plugin/cddrive-monitor-private.h
   xfce4-cddrive-plugin/trunk/panel-plugin/cddrive-monitor.c
   xfce4-cddrive-plugin/trunk/panel-plugin/cddrive-monitor.h
   xfce4-cddrive-plugin/trunk/panel-plugin/cddrive.c
   xfce4-cddrive-plugin/trunk/panel-plugin/cddrive.h
   xfce4-cddrive-plugin/trunk/po/fr.po
   xfce4-cddrive-plugin/trunk/po/xfce4-cddrive-plugin.pot
Log:
add network section with freedb.org switch in config dialog

Modified: xfce4-cddrive-plugin/trunk/panel-plugin/cddrive-cddb.c
===================================================================
--- xfce4-cddrive-plugin/trunk/panel-plugin/cddrive-cddb.c	2007-06-22 07:53:24 UTC (rev 2851)
+++ xfce4-cddrive-plugin/trunk/panel-plugin/cddrive-cddb.c	2007-06-23 07:06:25 UTC (rev 2852)
@@ -285,7 +285,7 @@
 
 
 gchar*
-cddrive_cddb_get_title (const gchar* device)
+cddrive_cddb_get_title (const gchar* device, gboolean connection_allowed)
 {
   gchar       *res = NULL;
   cddb_disc_t *cdda;
@@ -295,7 +295,7 @@
     {
       res = cddrive_cddb_cache_read (cddb_disc_get_discid (cdda));
       
-      if (res == NULL)
+      if (res == NULL && connection_allowed)
         {
           /* the CDDB disc id was not found in cache. Try to fetch it on freedb.org */
         
@@ -346,7 +346,7 @@
 #else /* ---------- NO CDDB SUPPORT ---------- */
 
 gchar*
-cddrive_cddb_get_title (const gchar* device)
+cddrive_cddb_get_title (const gchar* device, gboolean connection_allowed)
 {
   return NULL;
 }

Modified: xfce4-cddrive-plugin/trunk/panel-plugin/cddrive-cddb.h
===================================================================
--- xfce4-cddrive-plugin/trunk/panel-plugin/cddrive-cddb.h	2007-06-22 07:53:24 UTC (rev 2851)
+++ xfce4-cddrive-plugin/trunk/panel-plugin/cddrive-cddb.h	2007-06-23 07:06:25 UTC (rev 2852)
@@ -43,9 +43,11 @@
 
 /* Return the title of the audio CD in the drive of device path 'device',
    or NULL if the drive have no audio CD, or if the operation failed.
+   If 'connection_allowed' is FALSE, the function looks for the title in the
+   cache only.
    The result must be freed after use. */
 gchar*
-cddrive_cddb_get_title (const gchar* device);
+cddrive_cddb_get_title (const gchar* device, gboolean connection_allowed);
 
 G_END_DECLS
 #endif

Modified: xfce4-cddrive-plugin/trunk/panel-plugin/cddrive-dialogs.c
===================================================================
--- xfce4-cddrive-plugin/trunk/panel-plugin/cddrive-dialogs.c	2007-06-22 07:53:24 UTC (rev 2851)
+++ xfce4-cddrive-plugin/trunk/panel-plugin/cddrive-dialogs.c	2007-06-23 07:06:25 UTC (rev 2852)
@@ -293,15 +293,33 @@
 
 
 
+#if defined (HAVE_LIBCDIO) && defined (HAVE_LIBCDDB)
+static void
+cddrive_configure_toggle_cddb (GtkButton     *toggle,
+                               CddrivePlugin *cddrive)
+{
+  cddrive->use_cddb = gtk_toggle_button_get_active (GTK_TOGGLE_BUTTON (toggle));
+  cddrive_update_tip (cddrive);
+}
+#endif
+
+
+
 static GtkBox*
 cddrive_create_section_vbox (CddrivePlugin *cddrive,
                              GtkDialog     *dialog,
-                             gchar         *title)
+                             gchar         *title,
+                             gboolean       add_separator)
 {
   GtkWidget *res, *frm;
 
   res = gtk_vbox_new (FALSE, CDDRIVE_SECTION_VBOX_SPACING);
   frm = xfce_create_framebox_with_content (title, res);
+
+  if (add_separator)
+    gtk_box_pack_start (GTK_BOX (dialog->vbox), gtk_hseparator_new (),
+                        FALSE, FALSE, 0);
+    
   gtk_box_pack_start (GTK_BOX (dialog->vbox), frm,
                       FALSE, FALSE, CDDRIVE_SECTION_PADDING);
   return GTK_BOX (res);
@@ -416,6 +434,9 @@
                     *label, *entry, *button, *spin_button;
   GtkDialog         *dialog;
   GtkBox            *section_vbox, *vbox;
+#if defined (HAVE_LIBCDIO) && defined (HAVE_LIBCDDB)
+  GtkTooltips       *tip;
+#endif
   CddriveDriveInfo* *drv_infos;
   gint               i;
   gchar             *combo_txt;
@@ -444,7 +465,7 @@
   
 
   /* --- "Drive" section  --- */
-  section_vbox = cddrive_create_section_vbox (cddrive, dialog, _("Drive"));
+  section_vbox = cddrive_create_section_vbox (cddrive, dialog, _("Drive"), FALSE);
   
   /* get infos (device path and model) for all detected CD-ROM drives */
   drv_infos = cddrive_cdrom_drive_infos_new (&err);
@@ -504,7 +525,7 @@
     
 
       /* --- "Commands" section --- */    
-      section_vbox = cddrive_create_section_vbox (cddrive, dialog, _("Fallback Commands"));
+      section_vbox = cddrive_create_section_vbox (cddrive, dialog, _("Fallback Commands"), TRUE);
       table = gtk_table_new (2, 2, FALSE);
       gtk_box_pack_start (section_vbox, table,
                           FALSE, FALSE, CDDRIVE_SECTION_VBOX_PADDING);
@@ -515,7 +536,7 @@
       /* --- "Display" section --- */
     
       /* -- name config -- */
-      section_vbox = cddrive_create_section_vbox (cddrive, dialog, _("Display"));
+      section_vbox = cddrive_create_section_vbox (cddrive, dialog, _("Display"), TRUE);
     
       hbox = gtk_hbox_new (FALSE, 0);
       gtk_box_pack_start (section_vbox, hbox, FALSE, FALSE, 0);
@@ -598,7 +619,26 @@
                         cddrive);
       /* to enable/disable the opacity spin button when the toggle button is clicked */
       cddrive_toggle_button_set_widget (GTK_TOGGLE_BUTTON (button), spin_button);
+      
+
+#if defined (HAVE_LIBCDIO) && defined (HAVE_LIBCDDB)
+      /* --- Network section --- */
+      section_vbox = cddrive_create_section_vbox (cddrive, dialog, _("Network"), TRUE);
+      
+      /* -- CDDB config -- */
+      button = gtk_check_button_new_with_label (_("Allow freedb.org connections"));
+      gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (button), cddrive->use_cddb);
+      gtk_box_pack_start (section_vbox, button,
+                          FALSE, FALSE, CDDRIVE_SECTION_VBOX_PADDING);
+      tip = gtk_tooltips_new ();
+      gtk_tooltips_set_tip (tip, button, _("Enabling this option allows the plugin \
+to query the freedb.org servers in order to get the title of an audio CD."), NULL);
+      g_signal_connect (button,
+                        "clicked",
+                        G_CALLBACK (cddrive_configure_toggle_cddb),
+                        cddrive);
     }
+#endif
   
   gtk_widget_show_all (GTK_WIDGET (dialog));
   

Modified: xfce4-cddrive-plugin/trunk/panel-plugin/cddrive-monitor-private.h
===================================================================
--- xfce4-cddrive-plugin/trunk/panel-plugin/cddrive-monitor-private.h	2007-06-22 07:53:24 UTC (rev 2851)
+++ xfce4-cddrive-plugin/trunk/panel-plugin/cddrive-monitor-private.h	2007-06-23 07:06:25 UTC (rev 2852)
@@ -55,6 +55,8 @@
 
   /* audio disc title cache */
   gchar         *audio_title;
+  
+  gboolean       use_cddb; /* are freedb.org connections allowed ? */
 } _CddriveMonitor;
 
 

Modified: xfce4-cddrive-plugin/trunk/panel-plugin/cddrive-monitor.c
===================================================================
--- xfce4-cddrive-plugin/trunk/panel-plugin/cddrive-monitor.c	2007-06-22 07:53:24 UTC (rev 2851)
+++ xfce4-cddrive-plugin/trunk/panel-plugin/cddrive-monitor.c	2007-06-23 07:06:25 UTC (rev 2852)
@@ -641,6 +641,7 @@
                      CddriveOnDiscModified   on_disc_modified_callback,
                      const gchar            *mount_fallback,
                      const gchar            *unmount_fallback,
+                     gboolean                use_cddb,
                      GError                **error)
 {
   CddriveMonitor *res;
@@ -670,6 +671,7 @@
   res->udi                  = NULL;
   res->is_ejectable         = FALSE;
   res->audio_title          = NULL;
+  res->use_cddb             = use_cddb;
 
   res->mount                = NULL;
   res->mount_needs_update   = FALSE;
@@ -1108,7 +1110,7 @@
     /* title has been previously cached */
       return monitor->audio_title;
 
-  monitor->audio_title = cddrive_cddb_get_title (monitor->dev);
+  monitor->audio_title = cddrive_cddb_get_title (monitor->dev, monitor->use_cddb);
   return monitor->audio_title;
 }
 

Modified: xfce4-cddrive-plugin/trunk/panel-plugin/cddrive-monitor.h
===================================================================
--- xfce4-cddrive-plugin/trunk/panel-plugin/cddrive-monitor.h	2007-06-22 07:53:24 UTC (rev 2851)
+++ xfce4-cddrive-plugin/trunk/panel-plugin/cddrive-monitor.h	2007-06-23 07:06:25 UTC (rev 2852)
@@ -74,6 +74,7 @@
                                  CddriveOnDiscModified   on_disc_modified_callback,
                                  const gchar*            mount_fallback,
                                  const gchar*            unmount_fallback,
+                                 gboolean                use_cddb,
                                  GError                **error);
 
 

Modified: xfce4-cddrive-plugin/trunk/panel-plugin/cddrive.c
===================================================================
--- xfce4-cddrive-plugin/trunk/panel-plugin/cddrive.c	2007-06-22 07:53:24 UTC (rev 2851)
+++ xfce4-cddrive-plugin/trunk/panel-plugin/cddrive.c	2007-06-23 07:06:25 UTC (rev 2852)
@@ -46,6 +46,7 @@
 #define CDDRIVE_CONF_ID_UNMOUNTED_COLOR     "unmounted_color"
 #define CDDRIVE_CONF_ID_USE_TRANSLUCENCY    "use_translucency"
 #define CDDRIVE_CONF_ID_TRANSLUCENCY        "translucency"
+#define CDDRIVE_CONF_ID_USE_CDDB            "use_cddb"
 
 #define CDDRIVE_DEFAULT_DEVICE              NULL
 #define CDDRIVE_DEFAULT_NAME                NULL
@@ -56,6 +57,7 @@
 #define CDDRIVE_DEFAULT_USE_UNMOUNTED_COLOR FALSE
 #define CDDRIVE_DEFAULT_USE_TRANSLUCENCY    TRUE
 #define CDDRIVE_DEFAULT_TRANSLUCENCY        50
+#define CDDRIVE_DEFAULT_USE_CDDB            TRUE
 
 #define CDDRIVE_LOCK_EMBLEM "stock_lock"
 
@@ -755,6 +757,9 @@
       xfce_rc_write_int_entry (rc, CDDRIVE_CONF_ID_TRANSLUCENCY,
                                cddrive->translucency);
 
+      xfce_rc_write_bool_entry (rc, CDDRIVE_CONF_ID_USE_CDDB,
+                                cddrive->use_cddb);
+      
       /* close the rc file */
       xfce_rc_close (rc);
     }
@@ -837,6 +842,10 @@
             cddrive->translucency = 0;
           if (cddrive->translucency > 100)
             cddrive->translucency = 100;
+                                          
+          cddrive->use_cddb             = xfce_rc_read_bool_entry (rc,
+                                              CDDRIVE_CONF_ID_USE_CDDB,
+                                              CDDRIVE_DEFAULT_USE_CDDB);
 
           /* cleanup */
           xfce_rc_close (rc);
@@ -858,6 +867,7 @@
   cddrive->unmounted_color      = cddrive_rc_copy_fallback_color (CDDRIVE_DEFAULT_COLOR);
   cddrive->use_translucency     = CDDRIVE_DEFAULT_USE_TRANSLUCENCY;
   cddrive->translucency         = CDDRIVE_DEFAULT_TRANSLUCENCY;
+  cddrive->use_cddb             = CDDRIVE_DEFAULT_USE_CDDB;
   
   cddrive_set_mount_fallback (cddrive,
                               cddrive_get_default_fallback_command (CDDRIVE_MOUNT));
@@ -1029,6 +1039,7 @@
                                               cddrive_on_disc_modified,
                                               cddrive->mount_fallback,
                                               cddrive->unmount_fallback,
+                                              cddrive->use_cddb,
                                               &error);
       if (cddrive->monitor == NULL)
         {

Modified: xfce4-cddrive-plugin/trunk/panel-plugin/cddrive.h
===================================================================
--- xfce4-cddrive-plugin/trunk/panel-plugin/cddrive.h	2007-06-22 07:53:24 UTC (rev 2851)
+++ xfce4-cddrive-plugin/trunk/panel-plugin/cddrive.h	2007-06-23 07:06:25 UTC (rev 2852)
@@ -54,6 +54,7 @@
   GdkColor        *unmounted_color;
   gboolean         use_translucency;     /* fade the unmounted disc icons ? */
   gint             translucency;         /* in percent */
+  gboolean         use_cddb;             /* are freedb.org connections allowed ? */
 
   /* internals */
   CddriveMonitor  *monitor;

Modified: xfce4-cddrive-plugin/trunk/po/fr.po
===================================================================
--- xfce4-cddrive-plugin/trunk/po/fr.po	2007-06-22 07:53:24 UTC (rev 2851)
+++ xfce4-cddrive-plugin/trunk/po/fr.po	2007-06-23 07:06:25 UTC (rev 2852)
@@ -8,7 +8,7 @@
 msgstr ""
 "Project-Id-Version: 0.0.1\n"
 "Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2007-05-22 14:49+0200\n"
+"POT-Creation-Date: 2007-06-22 15:37+0200\n"
 "PO-Revision-Date: 2007-05-22 14:50+0200\n"
 "Last-Translator: Sylvain Reynal <sreynal at nerim.net>\n"
 "Language-Team: \n"
@@ -205,27 +205,27 @@
 msgid "CD Drive Monitor"
 msgstr "Contrôle de lecteur CD"
 
-#: ../panel-plugin/cddrive-dialogs.c:325
+#: ../panel-plugin/cddrive-dialogs.c:343
 msgid "Mounting"
 msgstr "Montage"
 
-#: ../panel-plugin/cddrive-dialogs.c:326
+#: ../panel-plugin/cddrive-dialogs.c:344
 msgid "Enter a command to use if HAL system fails to mount the disc."
 msgstr ""
 "Entrez une commande à utiliser si le système HAL ne réussit pas à monter le "
 "disque."
 
-#: ../panel-plugin/cddrive-dialogs.c:333
+#: ../panel-plugin/cddrive-dialogs.c:351
 msgid "Unmounting"
 msgstr "Démontage"
 
-#: ../panel-plugin/cddrive-dialogs.c:334
+#: ../panel-plugin/cddrive-dialogs.c:352
 msgid "Enter a command to use if the HAL system fails to unmount the disc."
 msgstr ""
 "Entrez une commande à utiliser si le système HAL ne réussit pas à démonter "
 "le disque."
 
-#: ../panel-plugin/cddrive-dialogs.c:352
+#: ../panel-plugin/cddrive-dialogs.c:370
 #, c-format
 msgid ""
 "You can use \"%d\", \"%m\" and \"%u\" character sequences as arguments for "
@@ -237,65 +237,83 @@
 "respectivement par le chemin du périphérique, le point de montage du disque "
 "et l'UDI du disque."
 
-#: ../panel-plugin/cddrive-dialogs.c:376
+#: ../panel-plugin/cddrive-dialogs.c:394
 msgid "Mounted disc icon color"
 msgstr "Couleur de l'icône du disque monté"
 
-#: ../panel-plugin/cddrive-dialogs.c:385
+#: ../panel-plugin/cddrive-dialogs.c:403
 msgid "Unmounted disc icon color"
 msgstr "Couleur de l'icône du disque démonté"
 
 #. --- "Drive" section  ---
-#: ../panel-plugin/cddrive-dialogs.c:447
+#: ../panel-plugin/cddrive-dialogs.c:468
 msgid "Drive"
 msgstr "Lecteur"
 
-#: ../panel-plugin/cddrive-dialogs.c:453
+#: ../panel-plugin/cddrive-dialogs.c:474
 msgid "CD-ROM drive detection failed !"
 msgstr "La détection du lecteur CD-ROM a échoué !"
 
-#: ../panel-plugin/cddrive-dialogs.c:458
+#: ../panel-plugin/cddrive-dialogs.c:479
 msgid "No CD-ROM drive detected"
 msgstr "Aucun lecteur de CD-ROM détecté"
 
 #. if some drives have been detected...
 #. --- "Commands" section ---
-#: ../panel-plugin/cddrive-dialogs.c:507
+#: ../panel-plugin/cddrive-dialogs.c:528
 msgid "Fallback Commands"
 msgstr "Commandes de rechange"
 
 #. --- "Display" section ---
 #. -- name config --
-#: ../panel-plugin/cddrive-dialogs.c:518
+#: ../panel-plugin/cddrive-dialogs.c:539
 msgid "Display"
 msgstr "Affichage"
 
-#: ../panel-plugin/cddrive-dialogs.c:523
+#: ../panel-plugin/cddrive-dialogs.c:544
 msgid "Name to display"
 msgstr "Nom à afficher"
 
-#: ../panel-plugin/cddrive-dialogs.c:547
+#: ../panel-plugin/cddrive-dialogs.c:568
 msgid "display in panel"
 msgstr "afficher dans le panneau"
 
-#: ../panel-plugin/cddrive-dialogs.c:558
+#: ../panel-plugin/cddrive-dialogs.c:579
 msgid "use in tooltip"
 msgstr "utiliser dans la bulle d'aide"
 
-#: ../panel-plugin/cddrive-dialogs.c:577
+#: ../panel-plugin/cddrive-dialogs.c:601
 msgid "Unmounted disc icon opacity"
 msgstr "Opacité de l'icône du disque démonté"
 
-#: ../panel-plugin/cddrive-dialogs.c:619
+#. --- Network section ---
+#: ../panel-plugin/cddrive-dialogs.c:626
+msgid "Network"
+msgstr "Réseau"
+
+#. -- CDDB config --
+#: ../panel-plugin/cddrive-dialogs.c:629
+msgid "Allow freedb.org connections"
+msgstr "Autoriser les connections à freedb.org"
+
+#: ../panel-plugin/cddrive-dialogs.c:634
+msgid ""
+"Enabling this option allows the plugin to query the freedb.org servers in "
+"order to get the title of an audio CD."
+msgstr ""
+"Activer cette option permet au plugin d'interroger les serveurs freedb.org de "
+"manière à récupérer le titre d'un CD audio."
+
+#: ../panel-plugin/cddrive-dialogs.c:662
 #: ../panel-plugin/cddrive.desktop.in.in.h:2
 msgid "CD-ROM drive tray and content control"
 msgstr "Contrôle du plateau et du contenu d'un lecteur CD."
 
-#: ../panel-plugin/cddrive-dialogs.c:642
+#: ../panel-plugin/cddrive-dialogs.c:685
 msgid "Error"
 msgstr "Erreur"
 
-#: ../panel-plugin/cddrive-dialogs.c:662
+#: ../panel-plugin/cddrive-dialogs.c:705
 msgid "No error description available."
 msgstr "Pas de description d'erreur disponible."
 
@@ -409,6 +427,6 @@
 msgid "Failed to unregister drive removal callback."
 msgstr "Échec du désenregistrement du callback d'enlèvement du lecteur."
 
-#: ../panel-plugin/cddrive-monitor.c:690
+#: ../panel-plugin/cddrive-monitor.c:692
 msgid "Failed to store monitor in HAL context."
 msgstr "Le stockage du moniteur dans le contexte HAL a échoué."

Modified: xfce4-cddrive-plugin/trunk/po/xfce4-cddrive-plugin.pot
===================================================================
--- xfce4-cddrive-plugin/trunk/po/xfce4-cddrive-plugin.pot	2007-06-22 07:53:24 UTC (rev 2851)
+++ xfce4-cddrive-plugin/trunk/po/xfce4-cddrive-plugin.pot	2007-06-23 07:06:25 UTC (rev 2852)
@@ -8,7 +8,7 @@
 msgstr ""
 "Project-Id-Version: PACKAGE VERSION\n"
 "Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2007-05-22 14:49+0200\n"
+"POT-Creation-Date: 2007-06-22 15:37+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"
@@ -203,23 +203,23 @@
 msgid "CD Drive Monitor"
 msgstr ""
 
-#: ../panel-plugin/cddrive-dialogs.c:325
+#: ../panel-plugin/cddrive-dialogs.c:343
 msgid "Mounting"
 msgstr ""
 
-#: ../panel-plugin/cddrive-dialogs.c:326
+#: ../panel-plugin/cddrive-dialogs.c:344
 msgid "Enter a command to use if HAL system fails to mount the disc."
 msgstr ""
 
-#: ../panel-plugin/cddrive-dialogs.c:333
+#: ../panel-plugin/cddrive-dialogs.c:351
 msgid "Unmounting"
 msgstr ""
 
-#: ../panel-plugin/cddrive-dialogs.c:334
+#: ../panel-plugin/cddrive-dialogs.c:352
 msgid "Enter a command to use if the HAL system fails to unmount the disc."
 msgstr ""
 
-#: ../panel-plugin/cddrive-dialogs.c:352
+#: ../panel-plugin/cddrive-dialogs.c:370
 #, c-format
 msgid ""
 "You can use \"%d\", \"%m\" and \"%u\" character sequences as arguments for "
@@ -227,65 +227,81 @@
 "disc mount point and the disc UDI."
 msgstr ""
 
-#: ../panel-plugin/cddrive-dialogs.c:376
+#: ../panel-plugin/cddrive-dialogs.c:394
 msgid "Mounted disc icon color"
 msgstr ""
 
-#: ../panel-plugin/cddrive-dialogs.c:385
+#: ../panel-plugin/cddrive-dialogs.c:403
 msgid "Unmounted disc icon color"
 msgstr ""
 
 #. --- "Drive" section  ---
-#: ../panel-plugin/cddrive-dialogs.c:447
+#: ../panel-plugin/cddrive-dialogs.c:468
 msgid "Drive"
 msgstr ""
 
-#: ../panel-plugin/cddrive-dialogs.c:453
+#: ../panel-plugin/cddrive-dialogs.c:474
 msgid "CD-ROM drive detection failed !"
 msgstr ""
 
-#: ../panel-plugin/cddrive-dialogs.c:458
+#: ../panel-plugin/cddrive-dialogs.c:479
 msgid "No CD-ROM drive detected"
 msgstr ""
 
 #. if some drives have been detected...
 #. --- "Commands" section ---
-#: ../panel-plugin/cddrive-dialogs.c:507
+#: ../panel-plugin/cddrive-dialogs.c:528
 msgid "Fallback Commands"
 msgstr ""
 
 #. --- "Display" section ---
 #. -- name config --
-#: ../panel-plugin/cddrive-dialogs.c:518
+#: ../panel-plugin/cddrive-dialogs.c:539
 msgid "Display"
 msgstr ""
 
-#: ../panel-plugin/cddrive-dialogs.c:523
+#: ../panel-plugin/cddrive-dialogs.c:544
 msgid "Name to display"
 msgstr ""
 
-#: ../panel-plugin/cddrive-dialogs.c:547
+#: ../panel-plugin/cddrive-dialogs.c:568
 msgid "display in panel"
 msgstr ""
 
-#: ../panel-plugin/cddrive-dialogs.c:558
+#: ../panel-plugin/cddrive-dialogs.c:579
 msgid "use in tooltip"
 msgstr ""
 
-#: ../panel-plugin/cddrive-dialogs.c:577
+#: ../panel-plugin/cddrive-dialogs.c:601
 msgid "Unmounted disc icon opacity"
 msgstr ""
 
-#: ../panel-plugin/cddrive-dialogs.c:619
+#. --- Network section ---
+#: ../panel-plugin/cddrive-dialogs.c:626
+msgid "Network"
+msgstr ""
+
+#. -- CDDB config --
+#: ../panel-plugin/cddrive-dialogs.c:629
+msgid "Allow freedb.org connections"
+msgstr ""
+
+#: ../panel-plugin/cddrive-dialogs.c:634
+msgid ""
+"Enabling this option allows the plugin to query the freedb.org servers in "
+"order to get the title of an audio CD."
+msgstr ""
+
+#: ../panel-plugin/cddrive-dialogs.c:662
 #: ../panel-plugin/cddrive.desktop.in.in.h:2
 msgid "CD-ROM drive tray and content control"
 msgstr ""
 
-#: ../panel-plugin/cddrive-dialogs.c:642
+#: ../panel-plugin/cddrive-dialogs.c:685
 msgid "Error"
 msgstr ""
 
-#: ../panel-plugin/cddrive-dialogs.c:662
+#: ../panel-plugin/cddrive-dialogs.c:705
 msgid "No error description available."
 msgstr ""
 
@@ -399,6 +415,6 @@
 msgid "Failed to unregister drive removal callback."
 msgstr ""
 
-#: ../panel-plugin/cddrive-monitor.c:690
+#: ../panel-plugin/cddrive-monitor.c:692
 msgid "Failed to store monitor in HAL context."
 msgstr ""




More information about the Goodies-commits mailing list