[Goodies-commits] r3559 - in xfce4-modemlights-plugin/trunk: . panel-plugin pixmaps po

Mike Massonnet mmassonnet at xfce.org
Thu Nov 8 09:06:53 CET 2007


Author: mmassonnet
Date: 2007-11-08 08:06:53 +0000 (Thu, 08 Nov 2007)
New Revision: 3559

Added:
   xfce4-modemlights-plugin/trunk/AUTHORS
   xfce4-modemlights-plugin/trunk/ChangeLog
   xfce4-modemlights-plugin/trunk/Makefile.am
   xfce4-modemlights-plugin/trunk/NEWS
   xfce4-modemlights-plugin/trunk/README
   xfce4-modemlights-plugin/trunk/autogen.sh
   xfce4-modemlights-plugin/trunk/configure.in.in
   xfce4-modemlights-plugin/trunk/panel-plugin/
   xfce4-modemlights-plugin/trunk/panel-plugin/Makefile.am
   xfce4-modemlights-plugin/trunk/panel-plugin/modemlights.desktop.in.in
   xfce4-modemlights-plugin/trunk/panel-plugin/panel-plugin.c
   xfce4-modemlights-plugin/trunk/pixmaps/
   xfce4-modemlights-plugin/trunk/pixmaps/ChangeLog
   xfce4-modemlights-plugin/trunk/pixmaps/Makefile.am
   xfce4-modemlights-plugin/trunk/pixmaps/modem-connected.png
   xfce4-modemlights-plugin/trunk/pixmaps/modem-dialing.png
   xfce4-modemlights-plugin/trunk/pixmaps/modem-disconnected.png
   xfce4-modemlights-plugin/trunk/po/
   xfce4-modemlights-plugin/trunk/po/ChangeLog
   xfce4-modemlights-plugin/trunk/po/LINGUAS
   xfce4-modemlights-plugin/trunk/po/POTFILES.in
   xfce4-modemlights-plugin/trunk/po/ca.po
   xfce4-modemlights-plugin/trunk/po/cs.po
   xfce4-modemlights-plugin/trunk/po/eu.po
   xfce4-modemlights-plugin/trunk/po/fr.po
   xfce4-modemlights-plugin/trunk/po/hu.po
   xfce4-modemlights-plugin/trunk/po/ja.po
   xfce4-modemlights-plugin/trunk/po/ko.po
   xfce4-modemlights-plugin/trunk/po/nl.po
   xfce4-modemlights-plugin/trunk/po/pl.po
   xfce4-modemlights-plugin/trunk/po/vi.po
   xfce4-modemlights-plugin/trunk/po/xfce4-modemlights-plugin.pot
   xfce4-modemlights-plugin/trunk/po/zh_TW.po
Log:
    * */*: Port to Xfce4-panel API 4.4.  Add info dialogs in the configuration
      dialog and set default values.



Added: xfce4-modemlights-plugin/trunk/AUTHORS
===================================================================
--- xfce4-modemlights-plugin/trunk/AUTHORS	                        (rev 0)
+++ xfce4-modemlights-plugin/trunk/AUTHORS	2007-11-08 08:06:53 UTC (rev 3559)
@@ -0,0 +1,2 @@
+Andreas J. Guelzow <aguelzow at taliesin.ca>
+Mike Massonnet <mmassonnet at xfce.org>

Added: xfce4-modemlights-plugin/trunk/ChangeLog
===================================================================
--- xfce4-modemlights-plugin/trunk/ChangeLog	                        (rev 0)
+++ xfce4-modemlights-plugin/trunk/ChangeLog	2007-11-08 08:06:53 UTC (rev 3559)
@@ -0,0 +1,52 @@
+2007-11-08 Mike Massonnet <mmassonnet at xfce.org>
+	* === Release 0.1.3.99 ===
+	* */*: Port to Xfce4-panel API 4.4.  Add info dialogs in the configuration
+		 dialog and set default values.
+
+2005-05-19 Andreas J. Guelzow <aguelzow at taliesin.ca>
+	* configure.ac, NEWS: post release bump
+	
+2005-05-19 Andreas J. Guelzow <aguelzow at taliesin.ca>
+	* === Release 0.1.1 ===
+
+2005-05-18 Andreas J. Guelzow <aguelzow at taliesin.ca>
+	* pixmaps/.cvsignore: new
+	* pixmaps/Makefile.am: new
+	* pixmaps/modem-connected.png: new
+	* pixmaps/modem-dialing.png: new
+	* pixmaps/modem-disconnected.png: new
+	* Makefile.am: add pixmap subdirectory
+	* panel-plugin/Makefile.am: add ICONDIR
+	* panel-plugin/modemlights-plugin.c (modemlights_set_pixmaps):
+	  fall back to provided icons
+
+2005-05-18 Andreas J. Guelzow <aguelzow at taliesin.ca>
+	* .cvsignore: ignore *.tar.gz
+	* po/.cvsignore: ignore *.gmo
+	
+2005-05-18 Andreas J. Guelzow <aguelzow at taliesin.ca>
+	* configure.ac, NEWS: post release bump
+	
+2005-05-18 Andreas J. Guelzow <aguelzow at taliesin.ca>
+	* === Release 0.1.0 ===
+	
+2005-05-18 Jasper Huijsmans <jasper at xfce.org>
+	* configure.ac, po/nl.po: Add Dutch translations.
+	
+2005-05-18 Jasper Huijsmans <jasper at xfce.org>
+	* configure.ac: Set version to 0.1.0, set copyright to Andreas, remove
+	  unnecessary checks for gthreads and gobject.
+	* panel-plugin/Makefile.am, panel-plugin/modemlights-plugin.h: remove
+	  unneeded header file.
+	* po/ChangeLog: Add dummy changelog file to fix distcheck target.
+	* po/xfce4-modemlights-plugin.pot: Add pot file to CVS, to make it
+	  easier for translators to start translating.
+	
+2005-05-17 Andreas J. Guelzow <aguelzow at taliesin.ca>
+	* panel-plugin/modemlights-plugin.c (modemlights_set_pixmaps):
+	  fix typo in themed-icon name.
+	* .cvsignore: add configure
+	* panel-plugin/.cvsignore: add libmodemlights_la-modemlights-plugin.lo
+
+2005-05-17 Andreas J. Guelzow <aguelzow at taliesin.ca>
+	* first version

Added: xfce4-modemlights-plugin/trunk/Makefile.am
===================================================================
--- xfce4-modemlights-plugin/trunk/Makefile.am	                        (rev 0)
+++ xfce4-modemlights-plugin/trunk/Makefile.am	2007-11-08 08:06:53 UTC (rev 3559)
@@ -0,0 +1,27 @@
+ at SET_MAKE@
+
+SUBDIRS =								\
+	panel-plugin							\
+	po								\
+	pixmaps
+
+distclean-local:
+	rm -rf *.cache *~
+
+dist-bz2: dist
+	zcat $(PACKAGE)-$(VERSION).tar.gz | bzip2 --best -c > $(PACKAGE)-$(VERSION).tar.bz2
+
+distcheck-bz2: distcheck
+	zcat $(PACKAGE)-$(VERSION).tar.gz | bzip2 --best -c > $(PACKAGE)-$(VERSION).tar.bz2
+
+EXTRA_DIST =								\
+	README								\
+	intltool-extract.in						\
+	intltool-merge.in						\
+	intltool-update.in
+
+DISTCLEANFILES =							\
+	intltool-extract						\
+	intltool-merge							\
+	intltool-update
+

Added: xfce4-modemlights-plugin/trunk/NEWS
===================================================================
--- xfce4-modemlights-plugin/trunk/NEWS	                        (rev 0)
+++ xfce4-modemlights-plugin/trunk/NEWS	2007-11-08 08:06:53 UTC (rev 3559)
@@ -0,0 +1,17 @@
+0.1.4
+
+Mike:
+	Port to Xfce 4.4
+	Add default values and info dialogs in the settings
+
+-----------------------------------------------------------
+0.1.1
+
+Andreas:
+	Added default icons
+
+-----------------------------------------------------------
+0.1.0
+
+Andreas: 
+	first version

Added: xfce4-modemlights-plugin/trunk/README
===================================================================
--- xfce4-modemlights-plugin/trunk/README	                        (rev 0)
+++ xfce4-modemlights-plugin/trunk/README	2007-11-08 08:06:53 UTC (rev 3559)
@@ -0,0 +1,61 @@
++---------------------------+
+| Xfce4 ModemLights Plugin |
++---------------------------+
+
+The xfce4-modem-lights applet is an xfce4 panel applet 
+intended to simplify establishing a ppp connection via 
+a modem. It is primarily designed to work with the debian 
+ppp package and the pon/poff scripts provided by that 
+package, but should be usable with any scripts that create
+a lock file during dialing and retain it through the 
+connection.
+
+This plugin should work with any Xfce version from 4.2.0 onwards.
+
+The applet requires 7 configuration options:
+
+"Connection command:"
+This is the command that initiates dialing, such as:
+ /usr/bin/pon interbaun
+Shortly after this command is executed, a lock file should 
+be created indicating that the appropriate device is in 
+use.
+
+"Disconnection Command:"
+This is the command that breaks the connection, such as:
+ /usr/bin/poff
+
+"Device:"
+This is the device name (interface name) for the 
+established connection, such as:
+ ppp0
+Note that this name may not be preceded or followed by 
+superfluous white space.
+To determine the device name, one can execute
+ cat /proc/net/dev
+before and after establishing the connection.
+This will show the active devices/interfaces in the first 
+column. The new device after establishing the connection 
+is the device/interface name required.
+
+"Lockfile:"
+This is the name of the lock file created by the 
+connection command, such as
+ /var/lock/LCK..ttyS1
+Again one can frequently find this name by checking the 
+content of /var/lock before and after establishing the 
+connection. The absence of that file indicates to the 
+applet that no connection has been established and that 
+no dialing is in progress.
+
+"Icon (Disconnected)":
+This is the path to the icon file that should be shown while no connection is active and no dialing is occurring.
+
+"Icon (Connecting)":
+This is the path to the icon file that should be shown while no connection is active but dialing is occurring.
+
+"Icon (Connected)":
+This is the path to the icon file that should be shown while a connection is active.
+ 
+To see the troughput on the ppp connection I would suggest adding the xfce4-netload applet next to the modem-lights applet and configuring the former to use the same device as the latter.
+

Added: xfce4-modemlights-plugin/trunk/autogen.sh
===================================================================
--- xfce4-modemlights-plugin/trunk/autogen.sh	                        (rev 0)
+++ xfce4-modemlights-plugin/trunk/autogen.sh	2007-11-08 08:06:53 UTC (rev 3559)
@@ -0,0 +1,39 @@
+#!/bin/sh
+#
+# $Id$
+#
+# Copyright (c) 2002-2005
+#         The Xfce development team. All rights reserved.
+#
+# Written for Xfce by Benedikt Meurer <benny at xfce.org>.
+#
+
+(type xdt-autogen) >/dev/null 2>&1 || {
+  cat >&2 <<EOF
+autogen.sh: You don't seem to have the Xfce development tools installed on
+            your system, which are required to build this software.
+            Please install the xfce4-dev-tools package first, it is available
+            from http://www.xfce.org/.
+EOF
+  exit 1
+}
+
+# verify that po/LINGUAS is present
+(test -f po/LINGUAS) >/dev/null 2>&1 || {
+  cat >&2 <<EOF
+autogen.sh: The file po/LINGUAS could not be found. Please check your snapshot
+            or try to checkout again.
+EOF
+  exit 1
+}
+
+# substitute revision and linguas
+linguas=`sed -e '/^#/d' po/LINGUAS`
+revision=`LC_ALL=C svn info $0 | awk '/^Revision: / {printf "%05d\n", $2}'`
+sed -e "s/@LINGUAS@/${linguas}/g" \
+    -e "s/@REVISION@/${revision}/g" \
+    < "configure.in.in" > "configure.in"
+
+exec xdt-autogen $@
+
+# vi:set ts=2 sw=2 et ai:


Property changes on: xfce4-modemlights-plugin/trunk/autogen.sh
___________________________________________________________________
Name: svn:executable
   + *

Added: xfce4-modemlights-plugin/trunk/configure.in.in
===================================================================
--- xfce4-modemlights-plugin/trunk/configure.in.in	                        (rev 0)
+++ xfce4-modemlights-plugin/trunk/configure.in.in	2007-11-08 08:06:53 UTC (rev 3559)
@@ -0,0 +1,69 @@
+dnl configure.ac
+dnl
+dnl xfce4-modem-lights-plugin - a modem dialing plugin for the xfce4 panel
+dnl
+dnl 2007 Mike Massonnet <mmassonnet at gmail.com>
+dnl
+
+dnl version info
+m4_define([plugin_version_major], [0])
+m4_define([plugin_version_minor], [1])
+m4_define([plugin_version_micro], [3])
+m4_define([plugin_version_nano], [0])
+m4_define([plugin_version_build], [r at REVISION@])
+m4_define([plugin_version_tag], [svn]) # Leave empty for releases
+m4_define([plugin_version], [plugin_version_major().plugin_version_minor().plugin_version_micro()ifelse(plugin_version_nano(), [], [], [.plugin_version_nano()])ifelse(plugin_version_tag(), [svn], [plugin_version_tag()-plugin_version_build()], [plugin_version_tag()])])
+
+dnl init autoconf
+AC_INIT([xfce4-modemlights-plugin], [modem_lights_version],
+	[aguelzow at taliesin.ca])
+
+dnl init automake
+MODEM_LIGHTS_VERSION=modem_lights_version
+AM_INIT_AUTOMAKE([xfce4-modemlights-plugin], [$MODEM_LIGHTS_VERSION])
+AM_CONFIG_HEADER([config.h])
+AM_MAINTAINER_MODE
+
+dnl Avoid g77 and g++ checks
+m4_undefine([AC_PROG_CXX])
+m4_defun([AC_PROG_CXX],[])
+m4_undefine([AC_PROG_F77])
+m4_defun([AC_PROG_F77],[])
+
+dnl check for UNIX variants
+AC_AIX
+AC_ISC_POSIX
+AC_MINIX
+AM_CONDITIONAL([HAVE_CYGWIN], [test "`uname | grep \"CYGWIN\"`" != ""])
+
+dnl check for basic programs
+AC_PROG_CC
+AC_PROG_INSTALL
+AC_PROG_INTLTOOL
+
+dnl check for standard header files
+AC_HEADER_STDC
+AC_CHECK_HEADERS(net/if.h)
+
+dnl Check for X11 installed
+XDT_CHECK_LIBX11_REQUIRE
+XDT_CHECK_LIBSM
+
+dnl required
+XDT_CHECK_PACKAGE([GTK], [gtk+-2.0], [2.6.0])
+XDT_CHECK_PACKAGE([LIBXFCEGUI4], [libxfcegui4-1.0], [4.4.0])
+XDT_CHECK_PACKAGE([LIBXFCE4UTIL], [libxfce4util-1.0], [4.4.0])
+XDT_CHECK_PACKAGE([LIBXFCE4PANEL], [libxfce4panel-1.0], [4.4.0])
+
+dnl Check for i18n support
+XDT_I18N([@LINGUAS@])
+
+dnl Check for debugging support
+XDT_FEATURE_DEBUG()
+
+AC_OUTPUT([
+Makefile
+panel-plugin/Makefile
+po/Makefile.in
+pixmaps/Makefile
+])

Added: xfce4-modemlights-plugin/trunk/panel-plugin/Makefile.am
===================================================================
--- xfce4-modemlights-plugin/trunk/panel-plugin/Makefile.am	                        (rev 0)
+++ xfce4-modemlights-plugin/trunk/panel-plugin/Makefile.am	2007-11-08 08:06:53 UTC (rev 3559)
@@ -0,0 +1,43 @@
+plugindir = $(libexecdir)/xfce4/panel-plugins
+plugin_PROGRAMS = xfce4-modemlights-plugin
+
+xfce4_modemlights_plugin_SOURCES =					\
+	panel-plugin.c
+
+xfce4_modemlights_plugin_CFLAGS =					\
+	-I$(top_srcdir)							\
+	@LIBXFCEGUI4_CFLAGS@						\
+	@LIBXFCE4UTIL_CFLAGS@						\
+	@LIBXFCE4PANEL_CFLAGS@						\
+	-DPACKAGE_LOCALE_DIR=\"$(localedir)\"
+
+xfce4_modemlights_plugin_LDADD =					\
+	@LIBXFCEGUI4_LIBS@						\
+	@LIBXFCE4UTIL_LIBS@						\
+	@LIBXFCE4PANEL_LIBS@
+
+# .desktop file
+#
+# Some automake trickery here. Because we cannot use $(libexecdir) in the
+# automake stage, we'll use sed to get the full path into the .desktop file.
+# We also need to let intltool merge the translated fields, so we add an
+# additional level of indirection: a <name>.desktop.in.in file.
+# 
+desktop_in_in_files = modemlights.desktop.in.in
+desktop_in_files = $(desktop_in_in_files:.desktop.in.in=.desktop.in)
+
+desktopdir = $(datadir)/xfce4/panel-plugins
+desktop_DATA = $(desktop_in_files:.desktop.in=.desktop)
+ at INTLTOOL_DESKTOP_RULE@
+
+EXTRA_DIST =                                                    	\
+	$(desktop_in_in_files)
+
+DISTCLEANFILES =                                                	\
+	$(desktop_DATA) $(desktop_in_files)
+
+# get full path into .desktop file
+%.desktop.in: %.desktop.in.in
+	sed -e "s^@PLUGIN_PATH@^$(libexecdir)/xfce4/panel-plugins^"		\
+		$< > $@
+

Added: xfce4-modemlights-plugin/trunk/panel-plugin/modemlights.desktop.in.in
===================================================================
--- xfce4-modemlights-plugin/trunk/panel-plugin/modemlights.desktop.in.in	                        (rev 0)
+++ xfce4-modemlights-plugin/trunk/panel-plugin/modemlights.desktop.in.in	2007-11-08 08:06:53 UTC (rev 3559)
@@ -0,0 +1,8 @@
+[Xfce Panel]
+Type=X-XFCE-PanelPlugin
+Encoding=UTF-8
+_Name=Modem Lights
+_Comment=Simple PPP connections via modem
+Icon=xfce4-modemlights-plugin
+X-XFCE-Exec=@PLUGIN_PATH@/xfce4-modemlights-plugin
+

Added: xfce4-modemlights-plugin/trunk/panel-plugin/panel-plugin.c
===================================================================
--- xfce4-modemlights-plugin/trunk/panel-plugin/panel-plugin.c	                        (rev 0)
+++ xfce4-modemlights-plugin/trunk/panel-plugin/panel-plugin.c	2007-11-08 08:06:53 UTC (rev 3559)
@@ -0,0 +1,874 @@
+/*
+ *  xfce4-modem-lights-plugin - a mail notification applet for the xfce4 panel
+ *  Copyright (c) 2005 Andreas J. Guelzow <aguelzow at taliesin.ca>
+ *
+ *  This program is free software; you can redistribute it and/or modify
+ *  it under the terms of the GNU General Public License as published by
+ *  the Free Software Foundation; version 2 of the License ONLY.
+ *
+ *  This program is distributed in the hope that it will be useful,
+ *  but WITHOUT ANY WARRANTY; without even the implied warranty of
+ *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ *  GNU Library General Public License for more details.
+ *
+ *  You should have received a copy of the GNU General Public License
+ *  along with this program; if not, write to the Free Software
+ *  Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
+#include <gtk/gtk.h>
+#include <libxfcegui4/libxfcegui4.h>
+#include <libxfce4util/libxfce4util.h>
+#include <libxfce4panel/xfce-panel-plugin.h>
+#include <libxfce4panel/xfce-panel-convenience.h>
+
+#include <net/if.h>
+
+#define THEME_OFFLINE_ICON "modem-disconnected"
+#define THEME_ONLINE_ICON "modem-connected"
+#define THEME_DIALING_ICON "modem-dialing"
+
+typedef enum
+{
+	modem_disconnected = 1 << 0,
+	modem_dialing = 1 << 1,
+	modem_connected = 1 << 2
+} modemlights_mode_t;
+
+typedef struct
+{
+    XfcePanelPlugin *plugin;
+
+	modemlights_mode_t mode;
+	guint timer;
+	
+	GtkWidget *button;
+	GtkWidget *image;
+	
+	GdkPixbuf *pix_online;
+	GdkPixbuf *pix_offline;
+	GdkPixbuf *pix_dialing;
+	
+	GtkTooltips *tooltip;
+    
+	gchar *connection_cmd;
+	gchar *disconnection_cmd;
+	gchar *device;
+	gchar *lockfile;
+	gchar *icon_disconnected;
+	gchar *icon_connected;
+	gchar *icon_dialing;
+} XfceModemlightsPlugin;
+
+
+
+static gboolean         interface_is_up                (const gchar *if_name);
+
+static void             modemlights_set_mode           (XfceModemlightsPlugin *mwp,
+                                                        modemlights_mode_t mode);
+static void             modemlights_set_pixmaps        (XfceModemlightsPlugin *mwp,
+                                                        gint which);
+static gboolean         modemlights_button_release_cb  (GtkWidget *w,
+                                                        GdkEventButton *evt,
+                                                        gpointer user_data);
+static gboolean         modemlights_timer              (gpointer data);
+
+static XfceModemlightsPlugin* modemlights_create       (XfcePanelPlugin *plugin);
+
+static void             modemlights_read_config        (XfceModemlightsPlugin *mwp);
+
+static void             modemlights_write_config       (XfceModemlightsPlugin *mwp);
+
+static gboolean         modemlights_lockfile_focusout_cb (GtkWidget *w,
+                                                        GdkEventFocus *evt,
+                                                        gpointer user_data);
+static gboolean         modemlights_connection_cmd_focusout_cb (GtkWidget *w,
+                                                        GdkEventFocus *evt,
+                                                        gpointer user_data);
+static gboolean         modemlights_disconnection_cmd_focusout_cb (GtkWidget *w,
+                                                        GdkEventFocus *evt,
+                                                        gpointer user_data);
+static gboolean         modemlights_icon_disconnected_focusout_cb (GtkWidget *w,
+                                                        GdkEventFocus *evt,
+                                                        gpointer user_data);
+static gboolean         modemlights_icon_connected_focusout_cb (GtkWidget *w,
+                                                        GdkEventFocus *evt,
+                                                        gpointer user_data);
+static gboolean         modemlights_icon_dialing_focusout_cb (GtkWidget *w,
+                                                        GdkEventFocus *evt,
+                                                        gpointer user_data);
+static gboolean         modemlights_device_focusout_cb (GtkWidget *w,
+                                                        GdkEventFocus *evt,
+                                                        gpointer user_data);
+static void             lf_browse_cb                   (GtkWidget *b,
+                                                        GtkEntry *entry);
+static GtkWidget*       modemlights_create_device_entry (XfceModemlightsPlugin *mwp,
+                                                        char const *label,
+                                                        char const *prevalue,
+                                                        GCallback cb,
+                                                        GtkTable *table,
+                                                        int row);
+static GtkWidget*       modemlights_create_lockfile_selector (XfceModemlightsPlugin *mwp,
+                                                        char const *prevalue,
+                                                        GCallback cb,
+                                                        GtkTable *table,
+                                                        int row);
+static void             ic_browse_cb                   (GtkWidget * b,
+                                                        GtkEntry * entry);
+static GtkWidget*       modemlights_create_icon_selector (XfceModemlightsPlugin *mwp,
+                                                        char const *label,
+                                                        char const *prevalue,
+                                                        GCallback cb,
+                                                        GtkTable *table,
+                                                        int row);
+static GtkWidget*       modemlights_create_entry       (XfceModemlightsPlugin *mwp,
+                                                        char const *label,
+                                                        char const *prevalue,
+                                                        GCallback cb,
+                                                        GtkTable *table,
+                                                        int row);
+static void             modemlights_create_info        (GtkWidget *widget,
+                                                        const gchar *text);
+static void             modemlights_create_options     (XfceModemlightsPlugin *mwp);
+
+static void             modemlights_free               (XfceModemlightsPlugin *mwp);
+
+static void             modemlights_set_size           (XfceModemlightsPlugin *mwp,
+                                                        gint size);
+static void             modemlights_register           (XfcePanelPlugin *plugin);
+
+
+
+static gboolean 
+interface_is_up (const gchar *if_name)
+{
+	struct if_nameindex *interfaces, *saved_interfaces;
+	gint found = FALSE;
+
+	if ((interfaces = if_nameindex()) == NULL)
+		return FALSE;
+	saved_interfaces = interfaces;
+
+	while (interfaces->if_index != 0)
+	{
+		if (g_ascii_strcasecmp(interfaces->if_name, if_name) == 0)
+		{
+			found = TRUE;
+			break;
+		}
+		interfaces++;
+	}
+
+	if_freenameindex(saved_interfaces);
+
+	return found;
+}
+
+static void
+modemlights_set_mode (XfceModemlightsPlugin *mwp, modemlights_mode_t mode)
+{
+	if (mode != mwp->mode) {
+		mwp->mode = mode;
+		switch (mode) {
+		case modem_disconnected:
+			if (mwp->pix_offline)
+				xfce_scaled_image_set_from_pixbuf
+					(XFCE_SCALED_IMAGE(mwp->image),
+					 mwp->pix_offline);
+			gtk_tooltips_set_tip(mwp->tooltip, mwp->button, 
+					     _("No connection"), NULL);
+			break;
+		case modem_connected:
+			if (mwp->pix_online)
+				xfce_scaled_image_set_from_pixbuf
+					(XFCE_SCALED_IMAGE(mwp->image),
+					 mwp->pix_online);
+			gtk_tooltips_set_tip(mwp->tooltip, mwp->button, 
+					     _("Connection Established"), 
+					     NULL);
+			break;
+		case modem_dialing:
+			if (mwp->pix_dialing)
+				xfce_scaled_image_set_from_pixbuf
+					(XFCE_SCALED_IMAGE(mwp->image),
+					 mwp->pix_dialing);
+			gtk_tooltips_set_tip(mwp->tooltip, mwp->button, 
+					     _("Dialing"), NULL);
+			break;
+		}
+	}
+}
+
+static void
+modemlights_set_pixmaps (XfceModemlightsPlugin *mwp, gint which)
+{
+    gint size = xfce_panel_plugin_get_size (mwp->plugin);
+
+	if (modem_disconnected & which) {
+		if(mwp->pix_offline) {
+			g_object_unref(G_OBJECT(mwp->pix_offline));
+			mwp->pix_offline = NULL;
+		}
+		if (mwp->icon_disconnected && *mwp->icon_disconnected)
+			mwp->pix_offline = gdk_pixbuf_new_from_file_at_size
+				(mwp->icon_disconnected, 
+				 size, 
+				 size, NULL);
+		if (!mwp->pix_offline)
+			mwp->pix_offline = xfce_themed_icon_load
+				(THEME_OFFLINE_ICON, size);
+		if (mwp->mode == modem_disconnected && mwp->pix_offline) 
+			xfce_scaled_image_set_from_pixbuf
+				(XFCE_SCALED_IMAGE(mwp->image),
+				 mwp->pix_offline);
+	}
+	if (modem_connected & which) {
+		if(mwp->pix_online) {
+			g_object_unref(G_OBJECT(mwp->pix_online));
+			mwp->pix_online = NULL;
+		}
+		if (mwp->icon_connected && *mwp->icon_connected)
+			mwp->pix_online = gdk_pixbuf_new_from_file_at_size
+				(mwp->icon_connected, 
+				 size, 
+				 size, NULL);
+		if (!mwp->pix_online)
+			mwp->pix_online = xfce_themed_icon_load
+				(THEME_ONLINE_ICON, size);
+		if (mwp->mode == modem_connected && mwp->pix_online) 
+			xfce_scaled_image_set_from_pixbuf
+				(XFCE_SCALED_IMAGE(mwp->image),
+				 mwp->pix_online);
+	}
+	if (modem_dialing & which) {
+		if(mwp->pix_dialing) {
+			g_object_unref(G_OBJECT(mwp->pix_dialing));
+			mwp->pix_dialing = NULL;
+		}
+		if (mwp->icon_dialing && *mwp->icon_dialing)
+			mwp->pix_dialing = gdk_pixbuf_new_from_file_at_size
+				(mwp->icon_dialing, 
+				 size, 
+				 size, NULL);
+		if (!mwp->pix_dialing)
+			mwp->pix_dialing = xfce_themed_icon_load
+				(THEME_DIALING_ICON, size);
+		if (mwp->mode == modem_dialing && mwp->pix_dialing) 
+			xfce_scaled_image_set_from_pixbuf
+				(XFCE_SCALED_IMAGE(mwp->image),
+				 mwp->pix_dialing);
+	}
+}
+
+static gboolean
+modemlights_button_release_cb(GtkWidget *w, GdkEventButton *evt,
+			      gpointer user_data)
+{
+	XfceModemlightsPlugin *mwp = user_data;
+	
+	if (evt->button != 1)
+		return FALSE;
+
+	switch(mwp->mode) {
+        case modem_disconnected: 
+		if(mwp->connection_cmd && (mwp->connection_cmd)) {
+			xfce_exec(mwp->connection_cmd, FALSE, FALSE, NULL);
+			modemlights_set_mode (mwp, modem_dialing);
+		}
+		break;
+        case modem_dialing: 
+        case modem_connected: 
+		if(mwp->disconnection_cmd && (mwp->disconnection_cmd)) {
+			xfce_exec(mwp->disconnection_cmd, FALSE, FALSE, NULL);
+			modemlights_set_mode (mwp, modem_disconnected);
+		}
+		break;
+	}
+    
+    return FALSE;
+}
+
+static gboolean    
+modemlights_timer (gpointer data)
+{
+	XfceModemlightsPlugin *mwp = data;
+	
+	if (mwp->lockfile && *mwp->lockfile) {
+		if (g_file_test (mwp->lockfile, G_FILE_TEST_EXISTS)) {
+			if (mwp->device && *mwp->device 
+			    && interface_is_up (mwp->device))
+				modemlights_set_mode (mwp, modem_connected);
+			else
+				modemlights_set_mode (mwp, modem_dialing);
+		} else
+			modemlights_set_mode (mwp, modem_disconnected);
+	}
+
+	return TRUE;
+}
+
+static XfceModemlightsPlugin *
+modemlights_create(XfcePanelPlugin *plugin)
+{
+	XfceModemlightsPlugin *mwp = g_new0(XfceModemlightsPlugin, 1);
+    mwp->plugin = plugin;
+    modemlights_read_config (mwp);
+
+	mwp->mode = modem_disconnected;
+	
+	mwp->tooltip = gtk_tooltips_new();
+	
+	mwp->button = xfce_create_panel_button ();
+	gtk_widget_show(mwp->button);
+	g_signal_connect(mwp->button, "button-release-event",
+			 G_CALLBACK(modemlights_button_release_cb), mwp);
+	gtk_tooltips_set_tip(mwp->tooltip, mwp->button, 
+			     _("No connection"), NULL);
+	
+	mwp->image = xfce_scaled_image_new();
+	gtk_widget_show(mwp->image);
+	gtk_container_add(GTK_CONTAINER(mwp->button), mwp->image);
+	
+	if(mwp->timer)
+		g_source_remove (mwp->timer);
+	mwp->timer = g_timeout_add (3000,
+				    modemlights_timer,
+				    mwp);
+ 
+	return mwp;
+}
+
+static void
+modemlights_read_config(XfceModemlightsPlugin *mwp)
+{
+    gchar              *file;
+    XfceRc             *rc;
+
+    file = xfce_panel_plugin_save_location (mwp->plugin, TRUE);
+    DBG("RC file: `%s'", file);
+    rc = xfce_rc_simple_open (file, FALSE);
+    g_free (file);
+    g_return_if_fail (rc);
+
+    mwp->connection_cmd =
+      g_strdup (xfce_rc_read_entry (rc, "connection_cmd", "/usr/bin/pon"));
+    mwp->disconnection_cmd =
+      g_strdup (xfce_rc_read_entry (rc, "disconnection_cmd", "/usr/bin/poff"));
+    mwp->device =
+      g_strdup (xfce_rc_read_entry (rc, "device", "ppp0"));
+    mwp->lockfile =
+      g_strdup (xfce_rc_read_entry (rc, "lockfile", "/var/lock/LCK..ttyS1"));
+    mwp->icon_disconnected =
+      g_strdup (xfce_rc_read_entry (rc, "icon_disconnected", ""));
+    mwp->icon_connected =
+      g_strdup (xfce_rc_read_entry (rc, "icon_connected", ""));
+    mwp->icon_dialing =
+      g_strdup (xfce_rc_read_entry (rc, "icon_dialing", ""));
+
+    xfce_rc_close (rc);
+}
+
+static void
+modemlights_write_config(XfceModemlightsPlugin *mwp)
+{
+    gchar              *file;
+    XfceRc             *rc;
+
+    file = xfce_panel_plugin_save_location (mwp->plugin, TRUE);
+    rc = xfce_rc_simple_open (file, FALSE);
+    g_free (file);
+    g_return_if_fail (rc);
+
+    xfce_rc_write_entry (rc, "connection_cmd",      mwp->connection_cmd);
+    xfce_rc_write_entry (rc, "disconnection_cmd",   mwp->disconnection_cmd);
+    xfce_rc_write_entry (rc, "device",              mwp->device);
+    xfce_rc_write_entry (rc, "lockfile",            mwp->lockfile);
+    xfce_rc_write_entry (rc, "icon_disconnected",   mwp->icon_disconnected);
+    xfce_rc_write_entry (rc, "icon_connected",      mwp->icon_connected);
+    xfce_rc_write_entry (rc, "icon_dialing",        mwp->icon_dialing);
+
+    xfce_rc_close (rc);
+}
+
+static gboolean
+modemlights_lockfile_focusout_cb(GtkWidget *w, GdkEventFocus *evt,
+				 gpointer user_data)
+{
+    XfceModemlightsPlugin *mwp = user_data;
+    gchar *filename;
+    
+    if (mwp->lockfile != NULL)
+	    g_free(mwp->lockfile);
+    
+    filename = gtk_editable_get_chars(GTK_EDITABLE(w), 0, -1);
+    mwp->lockfile = (filename != NULL) ? g_strdup(filename) : NULL;
+    
+    return FALSE;
+}
+
+static gboolean
+modemlights_connection_cmd_focusout_cb(GtkWidget *w, GdkEventFocus *evt,
+				       gpointer user_data)
+{
+    XfceModemlightsPlugin *mwp = user_data;
+    gchar *command;
+    
+    if (mwp->connection_cmd != NULL)
+	    g_free(mwp->connection_cmd);
+    
+    command = gtk_editable_get_chars(GTK_EDITABLE(w), 0, -1);
+    mwp->connection_cmd = (command != NULL) ? g_strdup(command) : NULL;
+    
+    return FALSE;
+}
+
+static gboolean
+modemlights_disconnection_cmd_focusout_cb(GtkWidget *w, GdkEventFocus *evt,
+					  gpointer user_data)
+{
+    XfceModemlightsPlugin *mwp = user_data;
+    gchar *command;
+    
+    if (mwp->disconnection_cmd != NULL)
+	    g_free(mwp->disconnection_cmd);
+    
+    command = gtk_editable_get_chars(GTK_EDITABLE(w), 0, -1);
+    mwp->disconnection_cmd = (command != NULL) ? g_strdup(command) : NULL;
+    
+    return FALSE;
+}
+
+static gboolean
+modemlights_icon_disconnected_focusout_cb(GtkWidget *w, GdkEventFocus *evt,
+					  gpointer user_data)
+{
+    XfceModemlightsPlugin *mwp = user_data;
+    gchar *filename;
+    
+    if (mwp->icon_disconnected != NULL)
+	    g_free(mwp->icon_disconnected);
+    
+    filename = gtk_editable_get_chars(GTK_EDITABLE(w), 0, -1);
+    mwp->icon_disconnected = (filename != NULL) ? g_strdup(filename) : NULL;
+    modemlights_set_pixmaps (mwp, modem_disconnected);    
+    
+    return FALSE;
+}
+
+static gboolean
+modemlights_icon_connected_focusout_cb(GtkWidget *w, GdkEventFocus *evt,
+					  gpointer user_data)
+{
+    XfceModemlightsPlugin *mwp = user_data;
+    gchar *filename;
+    
+    if (mwp->icon_connected != NULL)
+	    g_free(mwp->icon_connected);
+    
+    filename = gtk_editable_get_chars(GTK_EDITABLE(w), 0, -1);
+    mwp->icon_connected = (filename != NULL) ? g_strdup(filename) : NULL;
+    modemlights_set_pixmaps (mwp, modem_connected);    
+    
+    return FALSE;
+}
+
+static gboolean
+modemlights_icon_dialing_focusout_cb(GtkWidget *w, GdkEventFocus *evt,
+					  gpointer user_data)
+{
+    XfceModemlightsPlugin *mwp = user_data;
+    gchar *filename;
+    
+    if (mwp->icon_dialing != NULL)
+	    g_free(mwp->icon_dialing);
+    
+    filename = gtk_editable_get_chars(GTK_EDITABLE(w), 0, -1);
+    mwp->icon_dialing = (filename != NULL) ? g_strdup(filename) : NULL;
+    modemlights_set_pixmaps (mwp, modem_dialing);    
+    return FALSE;
+}
+
+static gboolean
+modemlights_device_focusout_cb(GtkWidget *w, GdkEventFocus *evt,
+			       gpointer user_data)
+{
+    XfceModemlightsPlugin *mwp = user_data;
+    gchar *name;
+    
+    if (mwp->device != NULL)
+	    g_free(mwp->device);
+    
+    name = gtk_editable_get_chars(GTK_EDITABLE(w), 0, -1);
+    mwp->device = (name != NULL) ? g_strdup(name) : NULL;
+    
+    return FALSE;
+}
+
+
+
+static void
+lf_browse_cb (GtkWidget * b, GtkEntry * entry)
+{
+    GtkWidget *dialog =
+      gtk_file_chooser_dialog_new (_("Select lock file"),
+                                   GTK_WINDOW(gtk_widget_get_toplevel(GTK_WIDGET(entry))),
+                                   GTK_FILE_CHOOSER_ACTION_OPEN,
+                                   GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL,
+                                   GTK_STOCK_OK, GTK_RESPONSE_OK,
+                                   NULL);
+
+    if (gtk_dialog_run (GTK_DIALOG (dialog)) == GTK_RESPONSE_OK) {
+        gchar *filename = gtk_file_chooser_get_filename (GTK_FILE_CHOOSER (dialog));
+        gtk_entry_set_text(entry, g_strdup(filename));
+        g_free (filename);
+        gtk_widget_grab_focus (GTK_WIDGET(entry));
+        gtk_editable_select_region (GTK_EDITABLE (entry), 0, -1);
+    }
+
+    gtk_widget_destroy (dialog);
+}
+
+static GtkWidget *
+modemlights_create_device_entry (XfceModemlightsPlugin *mwp, char const *label, 
+			  char const *prevalue, GCallback cb, GtkTable *table, int row)
+{
+    /* Info button + label */
+    GtkWidget *hbox0 = gtk_hbox_new(FALSE, 2);
+    GtkWidget *btn0 = gtk_button_new();
+    GtkWidget *img0 = gtk_image_new_from_stock(GTK_STOCK_INFO, GTK_ICON_SIZE_BUTTON);
+    GtkWidget *lbl = gtk_label_new_with_mnemonic(label);
+
+    gtk_misc_set_alignment (GTK_MISC(lbl), 0, 0.5);
+
+    gtk_container_add (GTK_CONTAINER(btn0), img0);
+    gtk_box_pack_start (GTK_BOX(hbox0), btn0, FALSE, FALSE, 0);
+    gtk_box_pack_start (GTK_BOX(hbox0), lbl, TRUE, TRUE, 0);
+    gtk_table_attach (table, hbox0, 0, 1, row, row+1,
+              GTK_FILL, GTK_FILL, 6, 6);
+
+    g_signal_connect (btn0, "clicked",
+                      G_CALLBACK (modemlights_create_info),
+                      _("This is the device name (interface name) for the "
+                        "established connection, such as:\n"
+                        " <b>ppp0</b> \n"
+                        "To determine the device name, you can execute the next "
+                        "command before and after establishing the connection:\n"
+                        " <b>cat /proc/net/dev</b> \n"
+                        "This will show the active devices/interfaces in the first "
+                        "column. The new device after establishing the connection "
+                        "is the device/interface name required."));
+
+    GtkWidget *hbox = gtk_hbox_new(FALSE, 8);
+    gtk_widget_show(hbox);
+    gtk_table_attach (table, hbox, 1, 2, row, row+1,
+              GTK_FILL, GTK_FILL, 6, 6);
+
+    GtkWidget *entry = gtk_entry_new();
+    if(prevalue != NULL)
+        gtk_entry_set_text(GTK_ENTRY(entry), prevalue);
+    gtk_widget_show(entry);
+    gtk_box_pack_start(GTK_BOX(hbox), entry, TRUE, TRUE, 0);
+    gtk_label_set_mnemonic_widget(GTK_LABEL(lbl), entry);
+
+    g_signal_connect(G_OBJECT(entry), "focus-out-event",
+             cb, mwp);
+    return hbox;
+}
+
+static GtkWidget *
+modemlights_create_lockfile_selector (XfceModemlightsPlugin *mwp,
+				      char const *prevalue, 
+				      GCallback cb, GtkTable *table,
+				      int row)
+{
+    /* Info button + label */
+    GtkWidget *hbox0 = gtk_hbox_new(FALSE, 2);
+    GtkWidget *btn0 = gtk_button_new();
+    GtkWidget *img0 = gtk_image_new_from_stock(GTK_STOCK_INFO, GTK_ICON_SIZE_BUTTON);
+	GtkWidget *lbl = gtk_label_new_with_mnemonic(_("Lockfile:"));
+
+	gtk_misc_set_alignment (GTK_MISC(lbl), 0, 0.5);
+
+    gtk_container_add (GTK_CONTAINER(btn0), img0);
+	gtk_box_pack_start (GTK_BOX(hbox0), btn0, FALSE, FALSE, 0);
+	gtk_box_pack_start (GTK_BOX(hbox0), lbl, TRUE, TRUE, 0);
+	gtk_table_attach (table, hbox0, 0, 1, row, row+1, 
+			  GTK_FILL, GTK_FILL, 6, 6);
+
+    g_signal_connect (btn0, "clicked",
+                      G_CALLBACK (modemlights_create_info),
+                      _("This is the name of the lock file created by the "
+                        "connection command, such as:\n"
+                        " <b>/var/lock/LCK..ttyS1</b> \n"
+                        "You can frequently find this name by checking the "
+                        "content of /var/lock before and after establishing the "
+                        "connection. The absence of that file indicates to the "
+                        "plugin that no connection has been established and that "
+                        "no dialing is in progress."));
+
+    /* Selector */
+	GtkWidget *hbox1 = gtk_hbox_new(FALSE, 8);
+	gtk_table_attach (table, hbox1, 1, 2, row, row+1, 
+			  GTK_FILL, GTK_FILL, 6, 6);
+	
+	GtkWidget *entry = gtk_entry_new();
+	if(prevalue != NULL)
+		gtk_entry_set_text(GTK_ENTRY(entry), prevalue);
+	gtk_box_pack_start(GTK_BOX(hbox1), entry, TRUE, TRUE, 0);
+	gtk_label_set_mnemonic_widget(GTK_LABEL(lbl), entry);
+
+	GtkWidget *button = gtk_button_new();
+	GtkWidget *image = gtk_image_new_from_stock(GTK_STOCK_OPEN, GTK_ICON_SIZE_BUTTON);
+	gtk_container_add (GTK_CONTAINER (button), image);
+	gtk_box_pack_start(GTK_BOX(hbox1), button, FALSE, FALSE, 0);
+	g_signal_connect (button, "clicked",
+			  G_CALLBACK (lf_browse_cb), entry);
+
+	g_signal_connect(G_OBJECT(entry), "focus-out-event",
+			 cb, mwp);	
+
+	return hbox1;
+}
+
+static void
+ic_browse_cb (GtkWidget * b, GtkEntry * entry)
+{
+    GtkWidget *dialog =
+      gtk_file_chooser_dialog_new (_("Select icon"),
+                                   GTK_WINDOW(gtk_widget_get_toplevel(GTK_WIDGET(entry))),
+                                   GTK_FILE_CHOOSER_ACTION_OPEN,
+                                   GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL,
+                                   GTK_STOCK_OK, GTK_RESPONSE_OK,
+                                   NULL);
+
+    if (gtk_dialog_run (GTK_DIALOG (dialog)) == GTK_RESPONSE_OK) {
+        gchar *filename = gtk_file_chooser_get_filename (GTK_FILE_CHOOSER (dialog));
+		gtk_entry_set_text(entry, g_strdup(filename));
+        g_free (filename);
+        gtk_widget_grab_focus (GTK_WIDGET(entry));
+        gtk_editable_select_region (GTK_EDITABLE (entry), 0, -1);
+    }
+
+    gtk_widget_destroy (dialog);
+}
+
+static GtkWidget *
+modemlights_create_icon_selector (XfceModemlightsPlugin *mwp, 
+				  char const *label, char const *prevalue, 
+				  GCallback cb, GtkTable *table,
+				  int row)
+{
+	GtkWidget *hbox, *lbl, *entry, *button, *image;
+
+	lbl = gtk_label_new_with_mnemonic(label);
+	gtk_widget_show(lbl);
+	gtk_table_attach (table, lbl, 0, 1, row, row+1, 
+			  GTK_FILL, GTK_FILL, 6, 6);
+	gtk_misc_set_alignment (GTK_MISC(lbl), 0, 0.5);
+
+	hbox = gtk_hbox_new(FALSE, 8);
+	gtk_widget_show(hbox);
+	gtk_table_attach (table, hbox, 1, 2, row, row+1, 
+			  GTK_FILL, GTK_FILL, 6, 6);
+	
+	entry = gtk_entry_new();
+	if(prevalue != NULL)
+		gtk_entry_set_text(GTK_ENTRY(entry), prevalue);
+	gtk_widget_show(entry);
+	gtk_box_pack_start(GTK_BOX(hbox), entry, TRUE, TRUE, 0);
+	gtk_label_set_mnemonic_widget(GTK_LABEL(lbl), entry);
+
+	button = gtk_button_new();
+	image = gtk_image_new_from_stock(GTK_STOCK_OPEN, GTK_ICON_SIZE_BUTTON);
+	gtk_widget_show(image);
+	gtk_container_add (GTK_CONTAINER (button), image);
+	gtk_widget_show (button);
+	gtk_box_pack_start(GTK_BOX(hbox), button, FALSE, FALSE, 0);
+	g_signal_connect (button, "clicked",
+			  G_CALLBACK (ic_browse_cb), entry);
+
+	g_signal_connect(G_OBJECT(entry), "focus-out-event",
+			 cb, mwp);	
+	return hbox;
+}
+
+static GtkWidget *
+modemlights_create_entry (XfceModemlightsPlugin *mwp, char const *label, 
+			  char const *prevalue, GCallback cb, GtkTable *table,
+			  int row)
+{
+	GtkWidget *hbox, *lbl, *entry;
+
+	
+	lbl = gtk_label_new_with_mnemonic(label);
+	gtk_widget_show(lbl);
+	gtk_table_attach (table, lbl, 0, 1, row, row+1, 
+			  GTK_FILL, GTK_FILL, 6, 6);
+	gtk_misc_set_alignment (GTK_MISC(lbl), 0, 0.5);
+
+	hbox = gtk_hbox_new(FALSE, 8);
+	gtk_widget_show(hbox);
+	gtk_table_attach (table, hbox, 1, 2, row, row+1, 
+			  GTK_FILL, GTK_FILL, 6, 6);
+
+	entry = gtk_entry_new();
+	if(prevalue != NULL)
+		gtk_entry_set_text(GTK_ENTRY(entry), prevalue);
+	gtk_widget_show(entry);
+	gtk_box_pack_start(GTK_BOX(hbox), entry, TRUE, TRUE, 0);
+	gtk_label_set_mnemonic_widget(GTK_LABEL(lbl), entry);
+
+	g_signal_connect(G_OBJECT(entry), "focus-out-event",
+			 cb, mwp);	
+	return hbox;
+}
+
+static void
+modemlights_create_info (GtkWidget *widget,
+                         const gchar *text)
+{
+    
+    GtkWidget *dialog =
+      gtk_message_dialog_new_with_markup (GTK_WINDOW(gtk_widget_get_toplevel (widget)),
+                                          GTK_DIALOG_DESTROY_WITH_PARENT,
+                                          GTK_MESSAGE_INFO,
+                                          GTK_BUTTONS_CLOSE,
+                                          text);
+    gtk_dialog_run (GTK_DIALOG (dialog));
+    gtk_widget_destroy (dialog);
+}
+
+static void
+modemlights_create_options(XfceModemlightsPlugin *mwp)
+{
+	GtkWidget *table;
+	int row = 0;
+	
+	table = gtk_table_new(7,2,FALSE);
+	
+/* Connection Command */	
+    TRACE("connection_cmd");
+	modemlights_create_entry 
+		(mwp, _("_Connection Command:"), 
+		 mwp->connection_cmd, 
+		 G_CALLBACK(modemlights_connection_cmd_focusout_cb),
+		 GTK_TABLE(table), row++);
+
+/* Disconnection Command */	
+    TRACE("disconnection_cmd");
+	modemlights_create_entry 
+		(mwp, _("_Disconnection Command:"),
+		 mwp->disconnection_cmd, 
+		 G_CALLBACK(modemlights_disconnection_cmd_focusout_cb),
+		 GTK_TABLE(table), row++);
+
+/* Dev */	
+    TRACE("device");
+	modemlights_create_device_entry 
+		(mwp, _("De_vice:"), 
+		 mwp->device, 
+		 G_CALLBACK(modemlights_device_focusout_cb),
+		 GTK_TABLE(table), row++);
+
+/* Lock File */	
+    TRACE("lockfile");
+	modemlights_create_lockfile_selector 
+		(mwp, mwp->lockfile, 
+		 G_CALLBACK(modemlights_lockfile_focusout_cb),
+		 GTK_TABLE(table), row++);
+
+/* Disconnected Icon */	
+    TRACE("icon_disconnected");
+	modemlights_create_icon_selector 
+		(mwp, _("Icon (Disconnected):"), 
+		 mwp->icon_disconnected, 
+		 G_CALLBACK(modemlights_icon_disconnected_focusout_cb),
+		 GTK_TABLE(table), row++);
+
+/* Connecting Icon */	
+    TRACE("icon_dialing");
+	modemlights_create_icon_selector 
+		(mwp, _("Icon (Connecting):"), 
+		 mwp->icon_dialing, 
+		 G_CALLBACK(modemlights_icon_dialing_focusout_cb),
+		 GTK_TABLE(table), row++);
+
+/* Connected Icon */	
+    TRACE("icon_connected");
+	modemlights_create_icon_selector 
+		(mwp, _("Icon (Connected):"), 
+		 mwp->icon_connected, 
+		 G_CALLBACK(modemlights_icon_connected_focusout_cb),
+		 GTK_TABLE(table), row++);
+
+/* The dialog */
+    TRACE("dialog");
+    xfce_panel_plugin_block_menu (mwp->plugin);
+
+    GtkWidget *dialog =
+      xfce_titled_dialog_new_with_buttons (_("Modem Lights"),
+        NULL,
+        GTK_DIALOG_DESTROY_WITH_PARENT | GTK_DIALOG_NO_SEPARATOR,
+        GTK_STOCK_CLOSE, GTK_RESPONSE_OK,
+        NULL);
+    gtk_box_pack_start (GTK_BOX(GTK_DIALOG(dialog)->vbox), table, TRUE, TRUE, 0);
+	gtk_widget_show_all(GTK_DIALOG(dialog)->vbox);
+    gtk_window_set_icon_name (GTK_WINDOW(dialog), "preferences-desktop");
+    gtk_window_set_resizable (GTK_WINDOW(dialog), FALSE);
+    gtk_dialog_run (GTK_DIALOG(dialog));
+    gtk_widget_destroy (dialog);
+
+    xfce_panel_plugin_unblock_menu (mwp->plugin);
+    modemlights_write_config (mwp);
+}
+
+static void
+modemlights_free(XfceModemlightsPlugin *mwp)
+{
+    gtk_main_quit ();
+}
+
+static void
+modemlights_set_size (XfceModemlightsPlugin *mwp, gint size)
+{
+	modemlights_set_pixmaps 
+		(mwp, modem_disconnected + modem_dialing + modem_connected);
+	
+	gtk_widget_set_size_request(GTK_WIDGET(mwp->plugin), size, size);
+}
+
+static void
+modemlights_register (XfcePanelPlugin *plugin)
+{
+    xfce_textdomain(GETTEXT_PACKAGE, PACKAGE_LOCALE_DIR, "UTF-8");
+
+    XfceModemlightsPlugin *modemlights = modemlights_create (plugin);
+
+    gtk_container_add (GTK_CONTAINER (plugin), modemlights->button);
+    xfce_panel_plugin_add_action_widget (plugin, modemlights->button);
+    xfce_panel_plugin_menu_show_configure (plugin);
+
+    g_signal_connect_swapped (plugin,
+                              "free-data",
+                              G_CALLBACK(modemlights_free),
+                              modemlights);
+    g_signal_connect_swapped (plugin,
+                              "save",
+                              G_CALLBACK(modemlights_write_config),
+                              modemlights);
+    g_signal_connect_swapped (plugin,
+                              "size-changed",
+                              G_CALLBACK(modemlights_set_size),
+                              modemlights);
+    g_signal_connect_swapped (plugin,
+                              "configure-plugin",
+                              G_CALLBACK(modemlights_create_options),
+                              modemlights);
+}
+
+XFCE_PANEL_PLUGIN_REGISTER_EXTERNAL (modemlights_register);
+

Added: xfce4-modemlights-plugin/trunk/pixmaps/ChangeLog
===================================================================
--- xfce4-modemlights-plugin/trunk/pixmaps/ChangeLog	                        (rev 0)
+++ xfce4-modemlights-plugin/trunk/pixmaps/ChangeLog	2007-11-08 08:06:53 UTC (rev 3559)
@@ -0,0 +1 @@
+ * Needed for distcheck target

Added: xfce4-modemlights-plugin/trunk/pixmaps/Makefile.am
===================================================================
--- xfce4-modemlights-plugin/trunk/pixmaps/Makefile.am	                        (rev 0)
+++ xfce4-modemlights-plugin/trunk/pixmaps/Makefile.am	2007-11-08 08:06:53 UTC (rev 3559)
@@ -0,0 +1,8 @@
+Defaultdir = $(datadir)/pixmaps
+
+Default_DATA =								\
+	modem-connected.png\
+	modem-dialing.png\
+	modem-disconnected.png
+
+EXTRA_DIST = $(Default_DATA)

Added: xfce4-modemlights-plugin/trunk/pixmaps/modem-connected.png
===================================================================
(Binary files differ)


Property changes on: xfce4-modemlights-plugin/trunk/pixmaps/modem-connected.png
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: xfce4-modemlights-plugin/trunk/pixmaps/modem-dialing.png
===================================================================
(Binary files differ)


Property changes on: xfce4-modemlights-plugin/trunk/pixmaps/modem-dialing.png
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: xfce4-modemlights-plugin/trunk/pixmaps/modem-disconnected.png
===================================================================
(Binary files differ)


Property changes on: xfce4-modemlights-plugin/trunk/pixmaps/modem-disconnected.png
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: xfce4-modemlights-plugin/trunk/po/ChangeLog
===================================================================
--- xfce4-modemlights-plugin/trunk/po/ChangeLog	                        (rev 0)
+++ xfce4-modemlights-plugin/trunk/po/ChangeLog	2007-11-08 08:06:53 UTC (rev 3559)
@@ -0,0 +1,73 @@
+2007-11-08	Mike Massonnet <mmassonnet at xfce.org>
+
+	* fr.po: Add french translations
+	* *.po, *.pot: make update-po
+
+2006-07-28  Jean-François Wauthy <pollux at xfce.org>
+
+	* cs.po: Add Czech translations
+
+2006-07-28  Hydonsingore Cia <hydonsingore at educities.edu.tw>
+
+	* zh_TW.po: Added traditional Chinese translations 
+	  by Cosmo Chene <cosmolax at gmail.com>
+
+2006-04-22  Daichi Kawahata <daichi at xfce.org>
+
+	* ca.po: Added Catalan translations by Carles Munoz Gorriz
+	  <carlesmu at internautas.org>.
+
+2006-04-08  Daichi Kawahata <daichi at xfce.org>
+
+	* pl.po: Added Polish translations by Piotr Malinski
+	  <admin at rk.edu.pl>.
+
+2006-04-02  Daichi Kawahata <daichi at xfce.org>
+
+	* eu.po, ko.po, nl.po, vi.po: Updated.
+	* ja.po: Added Japanese translations.
+	* .cvsignore: Removed unnecessary file.
+
+2006-02-23  Daichi Kawahata <daichi at xfce.org>
+
+	* vi.po: Added Vietnamese translations by Phan Vinh Thinh
+	  <teppi at vnlinux.org>.
+
+2006-02-22  Daichi Kawahata <daichi at xfce.org>
+
+	* hu.po: Updated.
+
+2006-02-15  Daichi Kawahata <daichi at xfce.org>
+
+	* eu.po: Added Basque translations by Piarres Beobide
+	  <pi at beobide.net>.
+
+2006-02-11  Szervac Attila <sas at 321.hu>
+
+	* hu.po: Add Hungarian Translations.
+
+2005-11-02  ByungHyun Choi <byunghyunchoi at hotmail.com>
+
+	* ko.po: Added Korean translations.
+
+2005-05-18  Andreas J. Guelzow <aguelzow at taliesin.ca>
+
+	* .cvsignore: Adjustments.
+
+2005-05-18  Jasper Huijsmans <jasper at xfce.org>
+
+	* nl.po: Add Dutch translation.
+
+2005-05-18  Jasper Huijsmans <jasper at xfce.org>
+
+	* ChangeLog, POTFILES.in, xfce4-modemlights-plugin.pot: Adjust
+	  configure.ac and fix distcheck target
+
+2005-05-18  Andreas J. Guelzow <aguelzow at taliesin.ca>
+
+	* .cvsignore: Added two files missed in the original import.
+
+2005-05-17  Andreas J. Guelzow <aguelzow at taliesin.ca>
+
+	* POTFILES.in: Initial revision.
+

Added: xfce4-modemlights-plugin/trunk/po/LINGUAS
===================================================================
--- xfce4-modemlights-plugin/trunk/po/LINGUAS	                        (rev 0)
+++ xfce4-modemlights-plugin/trunk/po/LINGUAS	2007-11-08 08:06:53 UTC (rev 3559)
@@ -0,0 +1,2 @@
+# in alphabetical order
+ca cs eu fr hu ja ko nl pl vi zh_TW

Added: xfce4-modemlights-plugin/trunk/po/POTFILES.in
===================================================================
--- xfce4-modemlights-plugin/trunk/po/POTFILES.in	                        (rev 0)
+++ xfce4-modemlights-plugin/trunk/po/POTFILES.in	2007-11-08 08:06:53 UTC (rev 3559)
@@ -0,0 +1 @@
+panel-plugin/panel-plugin.c

Added: xfce4-modemlights-plugin/trunk/po/ca.po
===================================================================
--- xfce4-modemlights-plugin/trunk/po/ca.po	                        (rev 0)
+++ xfce4-modemlights-plugin/trunk/po/ca.po	2007-11-08 08:06:53 UTC (rev 3559)
@@ -0,0 +1,97 @@
+# Catalan translations for xfce4-modemlights-plugin package.
+# Copyright (C) 2005 Andreas J. Guelzow.
+# This file is distributed under the same license as the
+# xfce4-fsguard-plugin package.
+# Carles Muñoz Gorriz <carlesmu at internautas.org>, 2006.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: xfce4-modemlights-plugin 0.1.2\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2007-11-08 08:57+0100\n"
+"PO-Revision-Date: 2006-04-17 20:26+0100\n"
+"Last-Translator: Carles Muñoz Gorriz <carlesmu at internautas.org>\n"
+"Language-Team: catalan\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=utf-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=2; plural=(n > 1);\n"
+"X-Poedit-Language: Catalan\n"
+"X-Poedit-SourceCharset: utf-8\n"
+
+#: ../panel-plugin/panel-plugin.c:183 ../panel-plugin/panel-plugin.c:330
+msgid "No connection"
+msgstr "No hi ha connexió"
+
+#: ../panel-plugin/panel-plugin.c:191
+msgid "Connection Established"
+msgstr "Connexió establerta"
+
+#: ../panel-plugin/panel-plugin.c:200
+msgid "Dialing"
+msgstr "Marcant"
+
+#: ../panel-plugin/panel-plugin.c:517
+msgid "Select lock file"
+msgstr "Seleccioneu el fitxer de blocatge"
+
+#: ../panel-plugin/panel-plugin.c:555
+msgid ""
+"This is the device name (interface name) for the established connection, "
+"such as:\n"
+" <b>ppp0</b> \n"
+"To determine the device name, you can execute the next command before and "
+"after establishing the connection:\n"
+" <b>cat /proc/net/dev</b> \n"
+"This will show the active devices/interfaces in the first column. The new "
+"device after establishing the connection is the device/interface name "
+"required."
+msgstr ""
+
+#: ../panel-plugin/panel-plugin.c:592
+msgid "Lockfile:"
+msgstr "Fitxer de blocatge:"
+
+#: ../panel-plugin/panel-plugin.c:604
+msgid ""
+"This is the name of the lock file created by the connection command, such "
+"as:\n"
+" <b>/var/lock/LCK..ttyS1</b> \n"
+"You can frequently find this name by checking the content of /var/lock "
+"before and after establishing the connection. The absence of that file "
+"indicates to the plugin that no connection has been established and that no "
+"dialing is in progress."
+msgstr ""
+
+#: ../panel-plugin/panel-plugin.c:641
+msgid "Select icon"
+msgstr "Seleccioneu icona"
+
+#: ../panel-plugin/panel-plugin.c:756
+msgid "_Connection Command:"
+msgstr "Ordre de _connexió:"
+
+#: ../panel-plugin/panel-plugin.c:764
+msgid "_Disconnection Command:"
+msgstr "Ordre de _desconnexió:"
+
+#: ../panel-plugin/panel-plugin.c:772
+msgid "De_vice:"
+msgstr "Dis_positiu:"
+
+#: ../panel-plugin/panel-plugin.c:787
+msgid "Icon (Disconnected):"
+msgstr "Icona (desconnectat):"
+
+#: ../panel-plugin/panel-plugin.c:795
+msgid "Icon (Connecting):"
+msgstr "Icona (connectant):"
+
+#: ../panel-plugin/panel-plugin.c:803
+msgid "Icon (Connected):"
+msgstr "Icona (connectat):"
+
+#: ../panel-plugin/panel-plugin.c:813
+#, fuzzy
+msgid "Modem Lights"
+msgstr "Llums del mòdem"

Added: xfce4-modemlights-plugin/trunk/po/cs.po
===================================================================
--- xfce4-modemlights-plugin/trunk/po/cs.po	                        (rev 0)
+++ xfce4-modemlights-plugin/trunk/po/cs.po	2007-11-08 08:06:53 UTC (rev 3559)
@@ -0,0 +1,94 @@
+# Czech translations for xfce4-modemlights-plugin package.
+# Copyright (C) 2006 THE xfce4-modemlights-plugin'S COPYRIGHT HOLDER
+# This file is distributed under the same license as the xfce4-modemlights-plugin package.
+# Michal Várady <miko.vaji at gmail.com>, 2006.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: xfce4-modemlights-plugin 0.1.2\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2007-11-08 08:57+0100\n"
+"PO-Revision-Date: 2006-08-26 22:57+0100\n"
+"Last-Translator: Michal Várady <miko.vaji at gmail.com>\n"
+"Language-Team: Czech <translation-team-cs at lists.sourceforge.net>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;\n"
+
+#: ../panel-plugin/panel-plugin.c:183 ../panel-plugin/panel-plugin.c:330
+msgid "No connection"
+msgstr "Připojení není dostupné"
+
+#: ../panel-plugin/panel-plugin.c:191
+msgid "Connection Established"
+msgstr "Připojeno"
+
+#: ../panel-plugin/panel-plugin.c:200
+msgid "Dialing"
+msgstr "Vytáčím"
+
+#: ../panel-plugin/panel-plugin.c:517
+msgid "Select lock file"
+msgstr "Vyberte soubor zámku"
+
+#: ../panel-plugin/panel-plugin.c:555
+msgid ""
+"This is the device name (interface name) for the established connection, "
+"such as:\n"
+" <b>ppp0</b> \n"
+"To determine the device name, you can execute the next command before and "
+"after establishing the connection:\n"
+" <b>cat /proc/net/dev</b> \n"
+"This will show the active devices/interfaces in the first column. The new "
+"device after establishing the connection is the device/interface name "
+"required."
+msgstr ""
+
+#: ../panel-plugin/panel-plugin.c:592
+msgid "Lockfile:"
+msgstr "Soubor zámku:"
+
+#: ../panel-plugin/panel-plugin.c:604
+msgid ""
+"This is the name of the lock file created by the connection command, such "
+"as:\n"
+" <b>/var/lock/LCK..ttyS1</b> \n"
+"You can frequently find this name by checking the content of /var/lock "
+"before and after establishing the connection. The absence of that file "
+"indicates to the plugin that no connection has been established and that no "
+"dialing is in progress."
+msgstr ""
+
+#: ../panel-plugin/panel-plugin.c:641
+msgid "Select icon"
+msgstr "Vyberte ikonu"
+
+#: ../panel-plugin/panel-plugin.c:756
+msgid "_Connection Command:"
+msgstr "Příkaz pro _připojení:"
+
+#: ../panel-plugin/panel-plugin.c:764
+msgid "_Disconnection Command:"
+msgstr "Příkaz pro _odpojení:"
+
+#: ../panel-plugin/panel-plugin.c:772
+msgid "De_vice:"
+msgstr "_Zařízení:"
+
+#: ../panel-plugin/panel-plugin.c:787
+msgid "Icon (Disconnected):"
+msgstr "Ikona (odpojeno):"
+
+#: ../panel-plugin/panel-plugin.c:795
+msgid "Icon (Connecting):"
+msgstr "Ikona (připojuji)"
+
+#: ../panel-plugin/panel-plugin.c:803
+msgid "Icon (Connected):"
+msgstr "Ikona (připojeno)"
+
+#: ../panel-plugin/panel-plugin.c:813
+#, fuzzy
+msgid "Modem Lights"
+msgstr "LED diody modemu"

Added: xfce4-modemlights-plugin/trunk/po/eu.po
===================================================================
--- xfce4-modemlights-plugin/trunk/po/eu.po	                        (rev 0)
+++ xfce4-modemlights-plugin/trunk/po/eu.po	2007-11-08 08:06:53 UTC (rev 3559)
@@ -0,0 +1,95 @@
+# Basque translations for xfce4-modemlights-plugin package.
+# Copyright (C) 2005 Andreas J. Guelzow.
+# This file is distributed under the same license as
+#   the xfce4-modemlights-plugin package.
+# Piarres Beobide <pi at beobide.net>
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: xfce4-modemlights-plugin 0.1.2\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2007-11-08 08:57+0100\n"
+"PO-Revision-Date: 2006-02-13 19:15+0100\n"
+"Last-Translator: Piarres Beobide <pi at beobide.net>\n"
+"Language-Team: Librezale <librezale at librezale.org>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Generator: Pootle 0.6.3.20060126\n"
+
+#: ../panel-plugin/panel-plugin.c:183 ../panel-plugin/panel-plugin.c:330
+msgid "No connection"
+msgstr "Konexio gabe"
+
+#: ../panel-plugin/panel-plugin.c:191
+msgid "Connection Established"
+msgstr "Konexioa Sortua"
+
+#: ../panel-plugin/panel-plugin.c:200
+msgid "Dialing"
+msgstr "Markatzen"
+
+#: ../panel-plugin/panel-plugin.c:517
+msgid "Select lock file"
+msgstr "Blokeo fitxategia hautatu"
+
+#: ../panel-plugin/panel-plugin.c:555
+msgid ""
+"This is the device name (interface name) for the established connection, "
+"such as:\n"
+" <b>ppp0</b> \n"
+"To determine the device name, you can execute the next command before and "
+"after establishing the connection:\n"
+" <b>cat /proc/net/dev</b> \n"
+"This will show the active devices/interfaces in the first column. The new "
+"device after establishing the connection is the device/interface name "
+"required."
+msgstr ""
+
+#: ../panel-plugin/panel-plugin.c:592
+msgid "Lockfile:"
+msgstr "Blokeo-fitxategia:"
+
+#: ../panel-plugin/panel-plugin.c:604
+msgid ""
+"This is the name of the lock file created by the connection command, such "
+"as:\n"
+" <b>/var/lock/LCK..ttyS1</b> \n"
+"You can frequently find this name by checking the content of /var/lock "
+"before and after establishing the connection. The absence of that file "
+"indicates to the plugin that no connection has been established and that no "
+"dialing is in progress."
+msgstr ""
+
+#: ../panel-plugin/panel-plugin.c:641
+msgid "Select icon"
+msgstr "Ikonoa hautatu"
+
+#: ../panel-plugin/panel-plugin.c:756
+msgid "_Connection Command:"
+msgstr "_Konexio komandoa:"
+
+#: ../panel-plugin/panel-plugin.c:764
+msgid "_Disconnection Command:"
+msgstr "_Deskonexio komandoa:"
+
+#: ../panel-plugin/panel-plugin.c:772
+msgid "De_vice:"
+msgstr "Gai_lua:"
+
+#: ../panel-plugin/panel-plugin.c:787
+msgid "Icon (Disconnected):"
+msgstr "Ikonoa (deskonektaturik):"
+
+#: ../panel-plugin/panel-plugin.c:795
+msgid "Icon (Connecting):"
+msgstr "Ikonoa (konektatzen):"
+
+#: ../panel-plugin/panel-plugin.c:803
+msgid "Icon (Connected):"
+msgstr "Ikonoa (Konektaturik):"
+
+#: ../panel-plugin/panel-plugin.c:813
+#, fuzzy
+msgid "Modem Lights"
+msgstr "Modem argiak"

Added: xfce4-modemlights-plugin/trunk/po/fr.po
===================================================================
--- xfce4-modemlights-plugin/trunk/po/fr.po	                        (rev 0)
+++ xfce4-modemlights-plugin/trunk/po/fr.po	2007-11-08 08:06:53 UTC (rev 3559)
@@ -0,0 +1,110 @@
+# French translations for xfce4-modemlights-plugin package
+# Traductions françaises du paquet xfce4-modemlights-plugin.
+# Copyright (C) 2007 THE xfce4-modemlights-plugin'S COPYRIGHT HOLDER
+# This file is distributed under the same license as the xfce4-modemlights-plugin package.
+# Mike Massonnet <mmassonnet at gmail.com>, 2007.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: xfce4-modemlights-plugin modem_lights_version\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2007-11-08 08:57+0100\n"
+"PO-Revision-Date: 2007-11-08 08:56+0100\n"
+"Last-Translator: Mike Massonnet <mmassonnet at gmail.com>\n"
+"Language-Team: French\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=2; plural=(n > 1);\n"
+
+#: ../panel-plugin/panel-plugin.c:183 ../panel-plugin/panel-plugin.c:330
+msgid "No connection"
+msgstr "Pas de connexion"
+
+#: ../panel-plugin/panel-plugin.c:191
+msgid "Connection Established"
+msgstr "Connexion établie"
+
+#: ../panel-plugin/panel-plugin.c:200
+msgid "Dialing"
+msgstr "Connexion en cours…"
+
+#: ../panel-plugin/panel-plugin.c:517
+msgid "Select lock file"
+msgstr "Sélectionnez un fichier « lock »"
+
+#: ../panel-plugin/panel-plugin.c:555
+msgid ""
+"This is the device name (interface name) for the established connection, "
+"such as:\n"
+" <b>ppp0</b> \n"
+"To determine the device name, you can execute the next command before and "
+"after establishing the connection:\n"
+" <b>cat /proc/net/dev</b> \n"
+"This will show the active devices/interfaces in the first column. The new "
+"device after establishing the connection is the device/interface name "
+"required."
+msgstr ""
+"Ceci est le nom du périphérique (ou de l’interface) de la connexion, tel "
+"que:\n"
+" <b>ppp0</b>\n"
+"Pour déterminer le nom du périphérique, vous pouvez exécuter la commande "
+"suivante avant et après l’établissement de la connexion :\n"
+" <b>cat /proc/net/dev</b> \n"
+"Cette commande affiche la liste des périphériques/interfaces actives dans la "
+"première colonne. Le nouveau périphérique, affiché après l’établissement de "
+"la connexion, est le nom requis."
+
+#: ../panel-plugin/panel-plugin.c:592
+msgid "Lockfile:"
+msgstr "Fichier « lock » :"
+
+#: ../panel-plugin/panel-plugin.c:604
+msgid ""
+"This is the name of the lock file created by the connection command, such "
+"as:\n"
+" <b>/var/lock/LCK..ttyS1</b> \n"
+"You can frequently find this name by checking the content of /var/lock "
+"before and after establishing the connection. The absence of that file "
+"indicates to the plugin that no connection has been established and that no "
+"dialing is in progress."
+msgstr ""
+"Ceci est le nom du fichier « lock » créé par la commande de connexion, tel "
+"que :\n"
+" <b>/var/lock/LCK..ttyS1</b> \n"
+"Vous pouvez trouver ce nom en vérifiant le contenu du répertoire /var/lock "
+"avant et après l’établissement de la connexion. Dans l’absence de ce "
+"fichier, le greffon admet qu’il n’y a aucune connexion et qu’aucun appel "
+"n’est en cours."
+
+#: ../panel-plugin/panel-plugin.c:641
+msgid "Select icon"
+msgstr "Sélectionnez une icône"
+
+#: ../panel-plugin/panel-plugin.c:756
+msgid "_Connection Command:"
+msgstr "Commande de _connexion :"
+
+#: ../panel-plugin/panel-plugin.c:764
+msgid "_Disconnection Command:"
+msgstr "Commande de _déconnexion :"
+
+#: ../panel-plugin/panel-plugin.c:772
+msgid "De_vice:"
+msgstr "_Périphérique :"
+
+#: ../panel-plugin/panel-plugin.c:787
+msgid "Icon (Disconnected):"
+msgstr "Icône (Déconnecté) :"
+
+#: ../panel-plugin/panel-plugin.c:795
+msgid "Icon (Connecting):"
+msgstr "Icône (Connexion en cours) :"
+
+#: ../panel-plugin/panel-plugin.c:803
+msgid "Icon (Connected):"
+msgstr "Icône (Connecté) :"
+
+#: ../panel-plugin/panel-plugin.c:813
+msgid "Modem Lights"
+msgstr "Modem Lights"

Added: xfce4-modemlights-plugin/trunk/po/hu.po
===================================================================
--- xfce4-modemlights-plugin/trunk/po/hu.po	                        (rev 0)
+++ xfce4-modemlights-plugin/trunk/po/hu.po	2007-11-08 08:06:53 UTC (rev 3559)
@@ -0,0 +1,95 @@
+# Hungarian translations for xfce4-modemlights-plugin package.
+# Copyright (C) 2005 Andreas J. Guelzow.
+# This file is distributed under the same license as the xfce4-modemlights-plugin package.
+# SZERVÁC Attila <sas at 321.hu>, 2006.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: xfce4-modemlights-plugin 0.1.2\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2007-11-08 08:57+0100\n"
+"PO-Revision-Date: 2006-02-11 17:35+0100\n"
+"Last-Translator: SZERVÁC Attila <sas at 321.hu>\n"
+"Language-Team: Hungarian <translation-team-hu at lists.sourceforge.net>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=utf-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Poedit-Language: Hungarian\n"
+"X-Poedit-Country: HUNGARY\n"
+
+#: ../panel-plugin/panel-plugin.c:183 ../panel-plugin/panel-plugin.c:330
+msgid "No connection"
+msgstr "Nincs kapcsolat"
+
+#: ../panel-plugin/panel-plugin.c:191
+msgid "Connection Established"
+msgstr "A kapcsolat létrejött"
+
+#: ../panel-plugin/panel-plugin.c:200
+msgid "Dialing"
+msgstr "Hívás"
+
+#: ../panel-plugin/panel-plugin.c:517
+msgid "Select lock file"
+msgstr "Válassz lock fájlt"
+
+#: ../panel-plugin/panel-plugin.c:555
+msgid ""
+"This is the device name (interface name) for the established connection, "
+"such as:\n"
+" <b>ppp0</b> \n"
+"To determine the device name, you can execute the next command before and "
+"after establishing the connection:\n"
+" <b>cat /proc/net/dev</b> \n"
+"This will show the active devices/interfaces in the first column. The new "
+"device after establishing the connection is the device/interface name "
+"required."
+msgstr ""
+
+#: ../panel-plugin/panel-plugin.c:592
+msgid "Lockfile:"
+msgstr "Lockfile:"
+
+#: ../panel-plugin/panel-plugin.c:604
+msgid ""
+"This is the name of the lock file created by the connection command, such "
+"as:\n"
+" <b>/var/lock/LCK..ttyS1</b> \n"
+"You can frequently find this name by checking the content of /var/lock "
+"before and after establishing the connection. The absence of that file "
+"indicates to the plugin that no connection has been established and that no "
+"dialing is in progress."
+msgstr ""
+
+#: ../panel-plugin/panel-plugin.c:641
+msgid "Select icon"
+msgstr "Válassz ikont"
+
+#: ../panel-plugin/panel-plugin.c:756
+msgid "_Connection Command:"
+msgstr "_Kapcsolódás parancs:"
+
+#: ../panel-plugin/panel-plugin.c:764
+msgid "_Disconnection Command:"
+msgstr "_Lekapcsolódási parancs:"
+
+#: ../panel-plugin/panel-plugin.c:772
+msgid "De_vice:"
+msgstr "_Eszköz:"
+
+#: ../panel-plugin/panel-plugin.c:787
+msgid "Icon (Disconnected):"
+msgstr "Ikon (leválasztotva)"
+
+#: ../panel-plugin/panel-plugin.c:795
+msgid "Icon (Connecting):"
+msgstr "Ikon (Kapcsolódás):"
+
+#: ../panel-plugin/panel-plugin.c:803
+msgid "Icon (Connected):"
+msgstr "Ikon (Kapcsolódva):"
+
+#: ../panel-plugin/panel-plugin.c:813
+#, fuzzy
+msgid "Modem Lights"
+msgstr "Modem Lámpák"

Added: xfce4-modemlights-plugin/trunk/po/ja.po
===================================================================
--- xfce4-modemlights-plugin/trunk/po/ja.po	                        (rev 0)
+++ xfce4-modemlights-plugin/trunk/po/ja.po	2007-11-08 08:06:53 UTC (rev 3559)
@@ -0,0 +1,94 @@
+# Japanese translations for xfce4-modemlights-plugin package.
+# Copyright (C) 2005 Andreas J. Guelzow.
+# This file is distributed under the same license as
+#   the xfce4-modemlights-plugin package.
+# Daichi Kawahata <daichi at xfce.org>, 2006.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: xfce4-modemlights-plugin 0.1.2\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2007-11-08 08:57+0100\n"
+"PO-Revision-Date: 2006-02-12 14:26+0900\n"
+"Last-Translator: Daichi Kawahata <daichi at xfce.org>\n"
+"Language-Team: Japanese <xfce-users-jp at ml.fdiary.net>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: ../panel-plugin/panel-plugin.c:183 ../panel-plugin/panel-plugin.c:330
+msgid "No connection"
+msgstr "接続していません"
+
+#: ../panel-plugin/panel-plugin.c:191
+msgid "Connection Established"
+msgstr "接続が確立しました"
+
+#: ../panel-plugin/panel-plugin.c:200
+msgid "Dialing"
+msgstr "ダイアル中"
+
+#: ../panel-plugin/panel-plugin.c:517
+msgid "Select lock file"
+msgstr "ロックファイルを選択して下さい"
+
+#: ../panel-plugin/panel-plugin.c:555
+msgid ""
+"This is the device name (interface name) for the established connection, "
+"such as:\n"
+" <b>ppp0</b> \n"
+"To determine the device name, you can execute the next command before and "
+"after establishing the connection:\n"
+" <b>cat /proc/net/dev</b> \n"
+"This will show the active devices/interfaces in the first column. The new "
+"device after establishing the connection is the device/interface name "
+"required."
+msgstr ""
+
+#: ../panel-plugin/panel-plugin.c:592
+msgid "Lockfile:"
+msgstr "ロックファイル:"
+
+#: ../panel-plugin/panel-plugin.c:604
+msgid ""
+"This is the name of the lock file created by the connection command, such "
+"as:\n"
+" <b>/var/lock/LCK..ttyS1</b> \n"
+"You can frequently find this name by checking the content of /var/lock "
+"before and after establishing the connection. The absence of that file "
+"indicates to the plugin that no connection has been established and that no "
+"dialing is in progress."
+msgstr ""
+
+#: ../panel-plugin/panel-plugin.c:641
+msgid "Select icon"
+msgstr "アイコンを選択して下さい"
+
+#: ../panel-plugin/panel-plugin.c:756
+msgid "_Connection Command:"
+msgstr "接続コマンド(_C):"
+
+#: ../panel-plugin/panel-plugin.c:764
+msgid "_Disconnection Command:"
+msgstr "接続解除コマンド(_D):"
+
+#: ../panel-plugin/panel-plugin.c:772
+msgid "De_vice:"
+msgstr "デバイス(_V):"
+
+#: ../panel-plugin/panel-plugin.c:787
+msgid "Icon (Disconnected):"
+msgstr "アイコン (接続解除):"
+
+#: ../panel-plugin/panel-plugin.c:795
+msgid "Icon (Connecting):"
+msgstr "アイコン (接続途中):"
+
+#: ../panel-plugin/panel-plugin.c:803
+msgid "Icon (Connected):"
+msgstr "アイコン (接続確立):"
+
+#: ../panel-plugin/panel-plugin.c:813
+#, fuzzy
+msgid "Modem Lights"
+msgstr "モデムライト"

Added: xfce4-modemlights-plugin/trunk/po/ko.po
===================================================================
--- xfce4-modemlights-plugin/trunk/po/ko.po	                        (rev 0)
+++ xfce4-modemlights-plugin/trunk/po/ko.po	2007-11-08 08:06:53 UTC (rev 3559)
@@ -0,0 +1,94 @@
+# Korean translations for xfce4-modemlights-plugin package.
+# Copyright (C) 2005 Andreas J. Guelzow.
+# This file is distributed under the same license as the xfce4-modemlights-plugin package.
+# ByungHyun Choi <byunghyun.choi at gmail.com>, 2005.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: xfce4-modemlights-plugin 0.1.2\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2007-11-08 08:57+0100\n"
+"PO-Revision-Date: 2005-11-03 01:52+0900\n"
+"Last-Translator: ByungHyun Choi <byunghyunchoi at hotmail.com>\n"
+"Language-Team: xfce4-users-kr-i18n <xfce4-users-kr-i18n at lists.sourceforge."
+"net>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: ../panel-plugin/panel-plugin.c:183 ../panel-plugin/panel-plugin.c:330
+msgid "No connection"
+msgstr "연결되지 않았습니다."
+
+#: ../panel-plugin/panel-plugin.c:191
+msgid "Connection Established"
+msgstr "연결"
+
+#: ../panel-plugin/panel-plugin.c:200
+msgid "Dialing"
+msgstr "전화거는 중"
+
+#: ../panel-plugin/panel-plugin.c:517
+msgid "Select lock file"
+msgstr "잠금 화일 선택"
+
+#: ../panel-plugin/panel-plugin.c:555
+msgid ""
+"This is the device name (interface name) for the established connection, "
+"such as:\n"
+" <b>ppp0</b> \n"
+"To determine the device name, you can execute the next command before and "
+"after establishing the connection:\n"
+" <b>cat /proc/net/dev</b> \n"
+"This will show the active devices/interfaces in the first column. The new "
+"device after establishing the connection is the device/interface name "
+"required."
+msgstr ""
+
+#: ../panel-plugin/panel-plugin.c:592
+msgid "Lockfile:"
+msgstr "잠금 화일:"
+
+#: ../panel-plugin/panel-plugin.c:604
+msgid ""
+"This is the name of the lock file created by the connection command, such "
+"as:\n"
+" <b>/var/lock/LCK..ttyS1</b> \n"
+"You can frequently find this name by checking the content of /var/lock "
+"before and after establishing the connection. The absence of that file "
+"indicates to the plugin that no connection has been established and that no "
+"dialing is in progress."
+msgstr ""
+
+#: ../panel-plugin/panel-plugin.c:641
+msgid "Select icon"
+msgstr "아이콘 선택"
+
+#: ../panel-plugin/panel-plugin.c:756
+msgid "_Connection Command:"
+msgstr "연결 명령(_C):"
+
+#: ../panel-plugin/panel-plugin.c:764
+msgid "_Disconnection Command:"
+msgstr "연결종료 명령(_D)"
+
+#: ../panel-plugin/panel-plugin.c:772
+msgid "De_vice:"
+msgstr "장치(_v):"
+
+#: ../panel-plugin/panel-plugin.c:787
+msgid "Icon (Disconnected):"
+msgstr "아이콘(연결 종료):"
+
+#: ../panel-plugin/panel-plugin.c:795
+msgid "Icon (Connecting):"
+msgstr "아이콘(연결 중):"
+
+#: ../panel-plugin/panel-plugin.c:803
+msgid "Icon (Connected):"
+msgstr "아이콘(연결 완료):"
+
+#: ../panel-plugin/panel-plugin.c:813
+#, fuzzy
+msgid "Modem Lights"
+msgstr "모뎀 LED"

Added: xfce4-modemlights-plugin/trunk/po/nl.po
===================================================================
--- xfce4-modemlights-plugin/trunk/po/nl.po	                        (rev 0)
+++ xfce4-modemlights-plugin/trunk/po/nl.po	2007-11-08 08:06:53 UTC (rev 3559)
@@ -0,0 +1,93 @@
+# Dutch translations for xfce4-modemlights-plugin package.
+# Copyright (C) 2005 Andreas J. Guelzow.
+# This file is distributed under the same license as the xfce4-modemlights-plugin package.
+# Jasper Huijsmans <jasper at xfce.org>, 2005.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: xfce4-modemlights-plugin 0.1.2\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2007-11-08 08:57+0100\n"
+"PO-Revision-Date: 2005-05-18 09:50+0200\n"
+"Last-Translator: Jasper Huijsmans <jasper at xfce.org>\n"
+"Language-Team: Nederlands <nl at li.org>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=utf-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: ../panel-plugin/panel-plugin.c:183 ../panel-plugin/panel-plugin.c:330
+msgid "No connection"
+msgstr "Geen verbinding"
+
+#: ../panel-plugin/panel-plugin.c:191
+msgid "Connection Established"
+msgstr "Verbonden"
+
+#: ../panel-plugin/panel-plugin.c:200
+msgid "Dialing"
+msgstr "Verbinding maken"
+
+#: ../panel-plugin/panel-plugin.c:517
+msgid "Select lock file"
+msgstr "Lockfile selecteren"
+
+#: ../panel-plugin/panel-plugin.c:555
+msgid ""
+"This is the device name (interface name) for the established connection, "
+"such as:\n"
+" <b>ppp0</b> \n"
+"To determine the device name, you can execute the next command before and "
+"after establishing the connection:\n"
+" <b>cat /proc/net/dev</b> \n"
+"This will show the active devices/interfaces in the first column. The new "
+"device after establishing the connection is the device/interface name "
+"required."
+msgstr ""
+
+#: ../panel-plugin/panel-plugin.c:592
+msgid "Lockfile:"
+msgstr "Lockfile:"
+
+#: ../panel-plugin/panel-plugin.c:604
+msgid ""
+"This is the name of the lock file created by the connection command, such "
+"as:\n"
+" <b>/var/lock/LCK..ttyS1</b> \n"
+"You can frequently find this name by checking the content of /var/lock "
+"before and after establishing the connection. The absence of that file "
+"indicates to the plugin that no connection has been established and that no "
+"dialing is in progress."
+msgstr ""
+
+#: ../panel-plugin/panel-plugin.c:641
+msgid "Select icon"
+msgstr "Pictogram selecteren"
+
+#: ../panel-plugin/panel-plugin.c:756
+msgid "_Connection Command:"
+msgstr "Verbinding _maken:"
+
+#: ../panel-plugin/panel-plugin.c:764
+msgid "_Disconnection Command:"
+msgstr "Verbinding ver_breken:"
+
+#: ../panel-plugin/panel-plugin.c:772
+msgid "De_vice:"
+msgstr "_Apparaat:"
+
+#: ../panel-plugin/panel-plugin.c:787
+msgid "Icon (Disconnected):"
+msgstr "Pictogram (niet verbonden):"
+
+#: ../panel-plugin/panel-plugin.c:795
+msgid "Icon (Connecting):"
+msgstr "Pictogram (bezig met verbinden):"
+
+#: ../panel-plugin/panel-plugin.c:803
+msgid "Icon (Connected):"
+msgstr "Pictogram (verbonden):"
+
+#: ../panel-plugin/panel-plugin.c:813
+#, fuzzy
+msgid "Modem Lights"
+msgstr "Modem Lights"

Added: xfce4-modemlights-plugin/trunk/po/pl.po
===================================================================
--- xfce4-modemlights-plugin/trunk/po/pl.po	                        (rev 0)
+++ xfce4-modemlights-plugin/trunk/po/pl.po	2007-11-08 08:06:53 UTC (rev 3559)
@@ -0,0 +1,94 @@
+# Polish translations for xfce4-modemlights-plugin package.
+# Copyright (C) 2005 Andreas J. Guelzow.
+# This file is distributed under the same license as
+#   the xfce4-modemlights-plugin package.
+# Piotr Maliński <admin at rk.edu.pl>, 2006.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: xfce4-modemlights-plugin 0.1.2\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2007-11-08 08:57+0100\n"
+"PO-Revision-Date: 2006-04-08 13:08+0900\n"
+"Last-Translator: Piotr Maliński <admin at rk.edu.pl>\n"
+"Language-Team: Polish <translation-team-pl at lists.sourceforge.net>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: ../panel-plugin/panel-plugin.c:183 ../panel-plugin/panel-plugin.c:330
+msgid "No connection"
+msgstr "Brak połączenia"
+
+#: ../panel-plugin/panel-plugin.c:191
+msgid "Connection Established"
+msgstr "Połączenie Nawiązane"
+
+#: ../panel-plugin/panel-plugin.c:200
+msgid "Dialing"
+msgstr "Wybieram"
+
+#: ../panel-plugin/panel-plugin.c:517
+msgid "Select lock file"
+msgstr "Wybierz plik blokady"
+
+#: ../panel-plugin/panel-plugin.c:555
+msgid ""
+"This is the device name (interface name) for the established connection, "
+"such as:\n"
+" <b>ppp0</b> \n"
+"To determine the device name, you can execute the next command before and "
+"after establishing the connection:\n"
+" <b>cat /proc/net/dev</b> \n"
+"This will show the active devices/interfaces in the first column. The new "
+"device after establishing the connection is the device/interface name "
+"required."
+msgstr ""
+
+#: ../panel-plugin/panel-plugin.c:592
+msgid "Lockfile:"
+msgstr "Plik Blokady:"
+
+#: ../panel-plugin/panel-plugin.c:604
+msgid ""
+"This is the name of the lock file created by the connection command, such "
+"as:\n"
+" <b>/var/lock/LCK..ttyS1</b> \n"
+"You can frequently find this name by checking the content of /var/lock "
+"before and after establishing the connection. The absence of that file "
+"indicates to the plugin that no connection has been established and that no "
+"dialing is in progress."
+msgstr ""
+
+#: ../panel-plugin/panel-plugin.c:641
+msgid "Select icon"
+msgstr "Wybierz ikonę"
+
+#: ../panel-plugin/panel-plugin.c:756
+msgid "_Connection Command:"
+msgstr "Komenda _Połączenia:"
+
+#: ../panel-plugin/panel-plugin.c:764
+msgid "_Disconnection Command:"
+msgstr "Komenda _Rozłączenia:"
+
+#: ../panel-plugin/panel-plugin.c:772
+msgid "De_vice:"
+msgstr "_Urządzenie:"
+
+#: ../panel-plugin/panel-plugin.c:787
+msgid "Icon (Disconnected):"
+msgstr "Ikona (rozłączone):"
+
+#: ../panel-plugin/panel-plugin.c:795
+msgid "Icon (Connecting):"
+msgstr "Ikona (łączenie):"
+
+#: ../panel-plugin/panel-plugin.c:803
+msgid "Icon (Connected):"
+msgstr "Ikona (połączone):"
+
+#: ../panel-plugin/panel-plugin.c:813
+#, fuzzy
+msgid "Modem Lights"
+msgstr "Światła Modemowe"

Added: xfce4-modemlights-plugin/trunk/po/vi.po
===================================================================
--- xfce4-modemlights-plugin/trunk/po/vi.po	                        (rev 0)
+++ xfce4-modemlights-plugin/trunk/po/vi.po	2007-11-08 08:06:53 UTC (rev 3559)
@@ -0,0 +1,95 @@
+# Vietnamese translations for xfce4-modemlights-plugin package.
+# Copyright (C) 2005 Andreas J. Guelzow.
+# This file is distributed under the same license as
+#   the xfce4-modemlights-plugin package.
+# Phan Vĩnh Thịnh <teppi at vnlinux.org>, 2006.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: xfce4-modemlights-plugin 0.1.2\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2007-11-08 08:57+0100\n"
+"PO-Revision-Date: 2006-02-19 22:51+0300\n"
+"Last-Translator: Phan Vĩnh Thịnh <teppi at vnlinux.org>\n"
+"Language-Team: Vietnamese <none at li.org>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Generator: KBabel 1.9.1\n"
+
+#: ../panel-plugin/panel-plugin.c:183 ../panel-plugin/panel-plugin.c:330
+msgid "No connection"
+msgstr "Không có kết nối"
+
+#: ../panel-plugin/panel-plugin.c:191
+msgid "Connection Established"
+msgstr "Kết nối đã thiết lập"
+
+#: ../panel-plugin/panel-plugin.c:200
+msgid "Dialing"
+msgstr "Đang gọi"
+
+#: ../panel-plugin/panel-plugin.c:517
+msgid "Select lock file"
+msgstr "Chọn tập tin khóa"
+
+#: ../panel-plugin/panel-plugin.c:555
+msgid ""
+"This is the device name (interface name) for the established connection, "
+"such as:\n"
+" <b>ppp0</b> \n"
+"To determine the device name, you can execute the next command before and "
+"after establishing the connection:\n"
+" <b>cat /proc/net/dev</b> \n"
+"This will show the active devices/interfaces in the first column. The new "
+"device after establishing the connection is the device/interface name "
+"required."
+msgstr ""
+
+#: ../panel-plugin/panel-plugin.c:592
+msgid "Lockfile:"
+msgstr "Tập tin khóa:"
+
+#: ../panel-plugin/panel-plugin.c:604
+msgid ""
+"This is the name of the lock file created by the connection command, such "
+"as:\n"
+" <b>/var/lock/LCK..ttyS1</b> \n"
+"You can frequently find this name by checking the content of /var/lock "
+"before and after establishing the connection. The absence of that file "
+"indicates to the plugin that no connection has been established and that no "
+"dialing is in progress."
+msgstr ""
+
+#: ../panel-plugin/panel-plugin.c:641
+msgid "Select icon"
+msgstr "Chọn biểu tượng"
+
+#: ../panel-plugin/panel-plugin.c:756
+msgid "_Connection Command:"
+msgstr "_Câu lệnh kết nối:"
+
+#: ../panel-plugin/panel-plugin.c:764
+msgid "_Disconnection Command:"
+msgstr "Câu lệnh _hủy kết nối:"
+
+#: ../panel-plugin/panel-plugin.c:772
+msgid "De_vice:"
+msgstr "Thiết _bị:"
+
+#: ../panel-plugin/panel-plugin.c:787
+msgid "Icon (Disconnected):"
+msgstr "Biểu tượng (chưa kết nối):"
+
+#: ../panel-plugin/panel-plugin.c:795
+msgid "Icon (Connecting):"
+msgstr "Biểu tượng (đang kết nối):"
+
+#: ../panel-plugin/panel-plugin.c:803
+msgid "Icon (Connected):"
+msgstr "Biểu tượng (đã kết nối):"
+
+#: ../panel-plugin/panel-plugin.c:813
+#, fuzzy
+msgid "Modem Lights"
+msgstr "Đèn môđem"

Added: xfce4-modemlights-plugin/trunk/po/xfce4-modemlights-plugin.pot
===================================================================
--- xfce4-modemlights-plugin/trunk/po/xfce4-modemlights-plugin.pot	                        (rev 0)
+++ xfce4-modemlights-plugin/trunk/po/xfce4-modemlights-plugin.pot	2007-11-08 08:06:53 UTC (rev 3559)
@@ -0,0 +1,93 @@
+# SOME DESCRIPTIVE TITLE.
+# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
+# This file is distributed under the same license as the PACKAGE package.
+# FIRST AUTHOR <EMAIL at ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2007-11-08 08:57+0100\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"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=CHARSET\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: ../panel-plugin/panel-plugin.c:183 ../panel-plugin/panel-plugin.c:330
+msgid "No connection"
+msgstr ""
+
+#: ../panel-plugin/panel-plugin.c:191
+msgid "Connection Established"
+msgstr ""
+
+#: ../panel-plugin/panel-plugin.c:200
+msgid "Dialing"
+msgstr ""
+
+#: ../panel-plugin/panel-plugin.c:517
+msgid "Select lock file"
+msgstr ""
+
+#: ../panel-plugin/panel-plugin.c:555
+msgid ""
+"This is the device name (interface name) for the established connection, "
+"such as:\n"
+" <b>ppp0</b> \n"
+"To determine the device name, you can execute the next command before and "
+"after establishing the connection:\n"
+" <b>cat /proc/net/dev</b> \n"
+"This will show the active devices/interfaces in the first column. The new "
+"device after establishing the connection is the device/interface name "
+"required."
+msgstr ""
+
+#: ../panel-plugin/panel-plugin.c:592
+msgid "Lockfile:"
+msgstr ""
+
+#: ../panel-plugin/panel-plugin.c:604
+msgid ""
+"This is the name of the lock file created by the connection command, such "
+"as:\n"
+" <b>/var/lock/LCK..ttyS1</b> \n"
+"You can frequently find this name by checking the content of /var/lock "
+"before and after establishing the connection. The absence of that file "
+"indicates to the plugin that no connection has been established and that no "
+"dialing is in progress."
+msgstr ""
+
+#: ../panel-plugin/panel-plugin.c:641
+msgid "Select icon"
+msgstr ""
+
+#: ../panel-plugin/panel-plugin.c:756
+msgid "_Connection Command:"
+msgstr ""
+
+#: ../panel-plugin/panel-plugin.c:764
+msgid "_Disconnection Command:"
+msgstr ""
+
+#: ../panel-plugin/panel-plugin.c:772
+msgid "De_vice:"
+msgstr ""
+
+#: ../panel-plugin/panel-plugin.c:787
+msgid "Icon (Disconnected):"
+msgstr ""
+
+#: ../panel-plugin/panel-plugin.c:795
+msgid "Icon (Connecting):"
+msgstr ""
+
+#: ../panel-plugin/panel-plugin.c:803
+msgid "Icon (Connected):"
+msgstr ""
+
+#: ../panel-plugin/panel-plugin.c:813
+msgid "Modem Lights"
+msgstr ""

Added: xfce4-modemlights-plugin/trunk/po/zh_TW.po
===================================================================
--- xfce4-modemlights-plugin/trunk/po/zh_TW.po	                        (rev 0)
+++ xfce4-modemlights-plugin/trunk/po/zh_TW.po	2007-11-08 08:06:53 UTC (rev 3559)
@@ -0,0 +1,93 @@
+# Traditional Chinese translation for xfce4-modemlights-plugin
+# Copyright (C) 2006 Andreas J. Guelzow.
+# This file is distributed under the same license as the xfce4-modemlights-plugin.
+# Cosmo Chene <cosmolax at gmail.com>, 2006.
+# 
+msgid ""
+msgstr ""
+"Project-Id-Version: xfce4-modemlights-plugin 0.1.2\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2007-11-08 08:57+0100\n"
+"PO-Revision-Date: 2006-07-28 22:19+0800\n"
+"Last-Translator: Cosmo Chene <cosmolax at gmail.com>\n"
+"Language-Team: Traditional Chinese<zh-l10n at linux.org.tw>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: ../panel-plugin/panel-plugin.c:183 ../panel-plugin/panel-plugin.c:330
+msgid "No connection"
+msgstr "未連線"
+
+#: ../panel-plugin/panel-plugin.c:191
+msgid "Connection Established"
+msgstr "已建立連線"
+
+#: ../panel-plugin/panel-plugin.c:200
+msgid "Dialing"
+msgstr "播號連線中"
+
+#: ../panel-plugin/panel-plugin.c:517
+msgid "Select lock file"
+msgstr "選擇鎖定檔"
+
+#: ../panel-plugin/panel-plugin.c:555
+msgid ""
+"This is the device name (interface name) for the established connection, "
+"such as:\n"
+" <b>ppp0</b> \n"
+"To determine the device name, you can execute the next command before and "
+"after establishing the connection:\n"
+" <b>cat /proc/net/dev</b> \n"
+"This will show the active devices/interfaces in the first column. The new "
+"device after establishing the connection is the device/interface name "
+"required."
+msgstr ""
+
+#: ../panel-plugin/panel-plugin.c:592
+msgid "Lockfile:"
+msgstr "鎖定檔:"
+
+#: ../panel-plugin/panel-plugin.c:604
+msgid ""
+"This is the name of the lock file created by the connection command, such "
+"as:\n"
+" <b>/var/lock/LCK..ttyS1</b> \n"
+"You can frequently find this name by checking the content of /var/lock "
+"before and after establishing the connection. The absence of that file "
+"indicates to the plugin that no connection has been established and that no "
+"dialing is in progress."
+msgstr ""
+
+#: ../panel-plugin/panel-plugin.c:641
+msgid "Select icon"
+msgstr "選擇圖示"
+
+#: ../panel-plugin/panel-plugin.c:756
+msgid "_Connection Command:"
+msgstr "連線指令(_C):"
+
+#: ../panel-plugin/panel-plugin.c:764
+msgid "_Disconnection Command:"
+msgstr "斷線指令(_D):"
+
+#: ../panel-plugin/panel-plugin.c:772
+msgid "De_vice:"
+msgstr "連線裝置(_V)"
+
+#: ../panel-plugin/panel-plugin.c:787
+msgid "Icon (Disconnected):"
+msgstr "Icon (已斷線):"
+
+#: ../panel-plugin/panel-plugin.c:795
+msgid "Icon (Connecting):"
+msgstr "圖示 (連線中):"
+
+#: ../panel-plugin/panel-plugin.c:803
+msgid "Icon (Connected):"
+msgstr "圖示 (已連上):"
+
+#: ../panel-plugin/panel-plugin.c:813
+#, fuzzy
+msgid "Modem Lights"
+msgstr "數據機燈號"




More information about the Goodies-commits mailing list