New version 0.2.1:

* Fixed bug with wrong calculation of total number because of integer division.
* Show warning dialog because of initialization errors only after changes in
  configuration and not after startup.


(Old svn revision: 317)
master
Bernhard Walle 2003-10-01 19:18:57 +00:00
parent e9f7df9eec
commit 412d19db55
8 changed files with 73 additions and 58 deletions

View File

@ -1,3 +1,12 @@
2003-10-01 Bernhard Walle
* Fixed bug #972: The total value in the tooltip is now displayed with
fractional portion
* Fixed bug #962: Any errors about wrong configuration are now only
displayed in a dialog after changing configuration and not after
startup. This should help users whose network device is created after
dialing-in.
* Released 0.2.1
2003-09-13 Bernhard Walle 2003-09-13 Bernhard Walle
* Added MacOS X support since it was added in Wormulon. Thanks to Hendrik * Added MacOS X support since it was added in Wormulon. Thanks to Hendrik
Scholz for his work on Wormulon. Scholz for his work on Wormulon.

3
aclocal.m4 vendored
View File

@ -7023,6 +7023,8 @@ glib_DEFUN([GLIB_WITH_NLS],
GLIB_PATH_PROG_WITH_TEST(MSGFMT, msgfmt, GLIB_PATH_PROG_WITH_TEST(MSGFMT, msgfmt,
[test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"], no)dnl [test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"], no)dnl
if test "$MSGFMT" != "no"; then if test "$MSGFMT" != "no"; then
glib_save_LIBS="$LIBS"
LIBS="$LIBS $INTLLIBS"
AC_CHECK_FUNCS(dcgettext) AC_CHECK_FUNCS(dcgettext)
AC_PATH_PROG(GMSGFMT, gmsgfmt, $MSGFMT) AC_PATH_PROG(GMSGFMT, gmsgfmt, $MSGFMT)
GLIB_PATH_PROG_WITH_TEST(XGETTEXT, xgettext, GLIB_PATH_PROG_WITH_TEST(XGETTEXT, xgettext,
@ -7049,6 +7051,7 @@ glib_DEFUN([GLIB_WITH_NLS],
DATADIRNAME=lib DATADIRNAME=lib
;; ;;
esac]) esac])
LIBS="$glib_save_LIBS"
INSTOBJEXT=.mo INSTOBJEXT=.mo
else else
gt_cv_have_gettext=no gt_cv_have_gettext=no

5
configure vendored
View File

@ -1748,7 +1748,7 @@ fi
# Define the identity of the package. # Define the identity of the package.
PACKAGE=xfce4-netload-plugin PACKAGE=xfce4-netload-plugin
VERSION=0.2.0 VERSION=0.2.1
cat >>confdefs.h <<_ACEOF cat >>confdefs.h <<_ACEOF
@ -21536,6 +21536,8 @@ else
echo "${ECHO_T}no" >&6 echo "${ECHO_T}no" >&6
fi fi
if test "$MSGFMT" != "no"; then if test "$MSGFMT" != "no"; then
glib_save_LIBS="$LIBS"
LIBS="$LIBS $INTLLIBS"
for ac_func in dcgettext for ac_func in dcgettext
do do
@ -21821,6 +21823,7 @@ fi
esac esac
fi fi
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
LIBS="$glib_save_LIBS"
INSTOBJEXT=.mo INSTOBJEXT=.mo
else else
gt_cv_have_gettext=no gt_cv_have_gettext=no

View File

@ -9,7 +9,7 @@ AC_INIT([panel-plugin/netload.c])
AM_CONFIG_HEADER([config.h]) AM_CONFIG_HEADER([config.h])
AM_INIT_AUTOMAKE([xfce4-netload-plugin], [0.2.0]) AM_INIT_AUTOMAKE([xfce4-netload-plugin], [0.2.1])
AM_MAINTAINER_MODE AM_MAINTAINER_MODE

View File

@ -6,7 +6,7 @@
msgid "" msgid ""
msgstr "" msgstr ""
"Project-Id-Version: XFce 4\n" "Project-Id-Version: XFce 4\n"
"POT-Creation-Date: 2003-09-13 13:57+0200\n" "POT-Creation-Date: 2003-10-01 21:17+0200\n"
"PO-Revision-Date: 2003-09-06 16:21+0100\n" "PO-Revision-Date: 2003-09-06 16:21+0100\n"
"Last-Translator: Carles Mu-oz Gorriz <carlesmu@internautas.org>\n" "Last-Translator: Carles Mu-oz Gorriz <carlesmu@internautas.org>\n"
"Language-Team: ca <LL@li.org>\n" "Language-Team: ca <LL@li.org>\n"
@ -43,7 +43,7 @@ msgstr ""
"Sortint: %s kBytes/s\n" "Sortint: %s kBytes/s\n"
"Total: %s kBytes/s" "Total: %s kBytes/s"
#: panel-plugin/netload.c:521 #: panel-plugin/netload.c:522
#, c-format #, c-format
msgid "" msgid ""
"%s: Error in initalizing:\n" "%s: Error in initalizing:\n"
@ -52,50 +52,50 @@ msgstr ""
"%s: Error inicialitzant:\n" "%s: Error inicialitzant:\n"
"%s" "%s"
#: panel-plugin/netload.c:842 #: panel-plugin/netload.c:867
msgid "Select color" msgid "Select color"
msgstr "Seleccioneu el color" msgstr "Seleccioneu el color"
#: panel-plugin/netload.c:895 #: panel-plugin/netload.c:922
msgid "Bar color (incoming):" msgid "Bar color (incoming):"
msgstr "Color de la barra (entrant):" msgstr "Color de la barra (entrant):"
#: panel-plugin/netload.c:896 #: panel-plugin/netload.c:923
msgid "Bar color (outgoing):" msgid "Bar color (outgoing):"
msgstr "Color de la barra (sortint):" msgstr "Color de la barra (sortint):"
#: panel-plugin/netload.c:899 #: panel-plugin/netload.c:926
msgid "Maximum (incoming):" msgid "Maximum (incoming):"
msgstr "Màxim (entrant):" msgstr "Màxim (entrant):"
#: panel-plugin/netload.c:900 #: panel-plugin/netload.c:927
msgid "Maximum (outgoing):" msgid "Maximum (outgoing):"
msgstr "Màxim (sortint):" msgstr "Màxim (sortint):"
#: panel-plugin/netload.c:924 #: panel-plugin/netload.c:951
msgid "Text to display:" msgid "Text to display:"
msgstr "Text a mostrar:" msgstr "Text a mostrar:"
#: panel-plugin/netload.c:955 #: panel-plugin/netload.c:982
msgid "Network device:" msgid "Network device:"
msgstr "Dispositiu de xarxa:" msgstr "Dispositiu de xarxa:"
#: panel-plugin/netload.c:981 #: panel-plugin/netload.c:1008
msgid "Update interval:" msgid "Update interval:"
msgstr "Interval d'actualització:" msgstr "Interval d'actualització:"
#: panel-plugin/netload.c:992 #: panel-plugin/netload.c:1019
msgid "s" msgid "s"
msgstr "s" msgstr "s"
#: panel-plugin/netload.c:1005 #: panel-plugin/netload.c:1032
msgid "Automatic maximum" msgid "Automatic maximum"
msgstr "Màxim automatitzat" msgstr "Màxim automatitzat"
#: panel-plugin/netload.c:1037 #: panel-plugin/netload.c:1064
msgid "kByte/s" msgid "kByte/s"
msgstr "kBytes/s" msgstr "kBytes/s"
#: panel-plugin/netload.c:1125 #: panel-plugin/netload.c:1152
msgid "Netload" msgid "Netload"
msgstr "Càrrega de red" msgstr "Càrrega de red"

View File

@ -3,7 +3,7 @@
msgid "" msgid ""
msgstr "" msgstr ""
"Project-Id-Version: de\n" "Project-Id-Version: de\n"
"POT-Creation-Date: 2003-09-13 13:57+0200\n" "POT-Creation-Date: 2003-10-01 21:17+0200\n"
"PO-Revision-Date: 2003-09-06 14:25+0200\n" "PO-Revision-Date: 2003-09-06 14:25+0200\n"
"Last-Translator: Bernhard Walle <bernhard.walle@gmx.de>\n" "Last-Translator: Bernhard Walle <bernhard.walle@gmx.de>\n"
"Language-Team: Deutsch <www.xfce.org>\n" "Language-Team: Deutsch <www.xfce.org>\n"
@ -40,7 +40,7 @@ msgstr ""
"Ausgehend: %s kByte/s\n" "Ausgehend: %s kByte/s\n"
"Gesamt: %s kByte/s" "Gesamt: %s kByte/s"
#: panel-plugin/netload.c:521 #: panel-plugin/netload.c:522
#, c-format #, c-format
msgid "" msgid ""
"%s: Error in initalizing:\n" "%s: Error in initalizing:\n"
@ -49,50 +49,50 @@ msgstr ""
"%s: Fehler beim Initialisieren:\n" "%s: Fehler beim Initialisieren:\n"
"%s" "%s"
#: panel-plugin/netload.c:842 #: panel-plugin/netload.c:867
msgid "Select color" msgid "Select color"
msgstr "Farbe auswählen" msgstr "Farbe auswählen"
#: panel-plugin/netload.c:895 #: panel-plugin/netload.c:922
msgid "Bar color (incoming):" msgid "Bar color (incoming):"
msgstr "Balkenfarbe (eingehend):" msgstr "Balkenfarbe (eingehend):"
#: panel-plugin/netload.c:896 #: panel-plugin/netload.c:923
msgid "Bar color (outgoing):" msgid "Bar color (outgoing):"
msgstr "Balkenfarbe (ausgehend):" msgstr "Balkenfarbe (ausgehend):"
#: panel-plugin/netload.c:899 #: panel-plugin/netload.c:926
msgid "Maximum (incoming):" msgid "Maximum (incoming):"
msgstr "Maximum (eingehend):" msgstr "Maximum (eingehend):"
#: panel-plugin/netload.c:900 #: panel-plugin/netload.c:927
msgid "Maximum (outgoing):" msgid "Maximum (outgoing):"
msgstr "Maximum (ausgehend):" msgstr "Maximum (ausgehend):"
#: panel-plugin/netload.c:924 #: panel-plugin/netload.c:951
msgid "Text to display:" msgid "Text to display:"
msgstr "Angezeigter Text:" msgstr "Angezeigter Text:"
#: panel-plugin/netload.c:955 #: panel-plugin/netload.c:982
msgid "Network device:" msgid "Network device:"
msgstr "Netzwerkschnittstelle:" msgstr "Netzwerkschnittstelle:"
#: panel-plugin/netload.c:981 #: panel-plugin/netload.c:1008
msgid "Update interval:" msgid "Update interval:"
msgstr "Aktualisierungsintervall:" msgstr "Aktualisierungsintervall:"
#: panel-plugin/netload.c:992 #: panel-plugin/netload.c:1019
msgid "s" msgid "s"
msgstr "s" msgstr "s"
#: panel-plugin/netload.c:1005 #: panel-plugin/netload.c:1032
msgid "Automatic maximum" msgid "Automatic maximum"
msgstr "Automatisches Maximum" msgstr "Automatisches Maximum"
#: panel-plugin/netload.c:1037 #: panel-plugin/netload.c:1064
msgid "kByte/s" msgid "kByte/s"
msgstr "kByte/s" msgstr "kByte/s"
#: panel-plugin/netload.c:1125 #: panel-plugin/netload.c:1152
msgid "Netload" msgid "Netload"
msgstr "Netzlast" msgstr "Netzlast"

View File

@ -6,7 +6,7 @@
msgid "" msgid ""
msgstr "" msgstr ""
"Project-Id-Version: xfce4-netload 1.0\n" "Project-Id-Version: xfce4-netload 1.0\n"
"POT-Creation-Date: 2003-09-13 13:57+0200\n" "POT-Creation-Date: 2003-10-01 21:17+0200\n"
"PO-Revision-Date: 2003-08-15 11:08+0300\n" "PO-Revision-Date: 2003-08-15 11:08+0300\n"
"Last-Translator: Mantas <zaz@xxx.lt>\n" "Last-Translator: Mantas <zaz@xxx.lt>\n"
"Language-Team: <komp_lt@konferencijos.lt>\n" "Language-Team: <komp_lt@konferencijos.lt>\n"
@ -42,59 +42,59 @@ msgstr ""
"Siunčiami: %lld bitų/s\n" "Siunčiami: %lld bitų/s\n"
"Viso: %lld bitų/s" "Viso: %lld bitų/s"
#: panel-plugin/netload.c:521 #: panel-plugin/netload.c:522
#, c-format #, c-format
msgid "" msgid ""
"%s: Error in initalizing:\n" "%s: Error in initalizing:\n"
"%s" "%s"
msgstr "" msgstr ""
#: panel-plugin/netload.c:842 #: panel-plugin/netload.c:867
msgid "Select color" msgid "Select color"
msgstr "Pasirinkite spalvą" msgstr "Pasirinkite spalvą"
#: panel-plugin/netload.c:895 #: panel-plugin/netload.c:922
msgid "Bar color (incoming):" msgid "Bar color (incoming):"
msgstr "Juostos spalva (gaunami duomenys)" msgstr "Juostos spalva (gaunami duomenys)"
#: panel-plugin/netload.c:896 #: panel-plugin/netload.c:923
msgid "Bar color (outgoing):" msgid "Bar color (outgoing):"
msgstr "Juostos spalva (siunčiami duomenys)" msgstr "Juostos spalva (siunčiami duomenys)"
#: panel-plugin/netload.c:899 #: panel-plugin/netload.c:926
#, fuzzy #, fuzzy
msgid "Maximum (incoming):" msgid "Maximum (incoming):"
msgstr "Juostos spalva (gaunami duomenys)" msgstr "Juostos spalva (gaunami duomenys)"
#: panel-plugin/netload.c:900 #: panel-plugin/netload.c:927
#, fuzzy #, fuzzy
msgid "Maximum (outgoing):" msgid "Maximum (outgoing):"
msgstr "Juostos spalva (siunčiami duomenys)" msgstr "Juostos spalva (siunčiami duomenys)"
#: panel-plugin/netload.c:924 #: panel-plugin/netload.c:951
msgid "Text to display:" msgid "Text to display:"
msgstr "Rodomas tekstas:" msgstr "Rodomas tekstas:"
#: panel-plugin/netload.c:955 #: panel-plugin/netload.c:982
msgid "Network device:" msgid "Network device:"
msgstr "Tinklo įrenginys" msgstr "Tinklo įrenginys"
#: panel-plugin/netload.c:981 #: panel-plugin/netload.c:1008
msgid "Update interval:" msgid "Update interval:"
msgstr "" msgstr ""
#: panel-plugin/netload.c:992 #: panel-plugin/netload.c:1019
msgid "s" msgid "s"
msgstr "" msgstr ""
#: panel-plugin/netload.c:1005 #: panel-plugin/netload.c:1032
msgid "Automatic maximum" msgid "Automatic maximum"
msgstr "" msgstr ""
#: panel-plugin/netload.c:1037 #: panel-plugin/netload.c:1064
msgid "kByte/s" msgid "kByte/s"
msgstr "" msgstr ""
#: panel-plugin/netload.c:1125 #: panel-plugin/netload.c:1152
msgid "Netload" msgid "Netload"
msgstr "Tinklo apkrovimas" msgstr "Tinklo apkrovimas"

View File

@ -7,7 +7,7 @@
msgid "" msgid ""
msgstr "" msgstr ""
"Project-Id-Version: PACKAGE VERSION\n" "Project-Id-Version: PACKAGE VERSION\n"
"POT-Creation-Date: 2003-09-13 13:57+0200\n" "POT-Creation-Date: 2003-10-01 21:17+0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n" "Language-Team: LANGUAGE <LL@li.org>\n"
@ -40,57 +40,57 @@ msgid ""
"Total: %s kByte/s" "Total: %s kByte/s"
msgstr "" msgstr ""
#: panel-plugin/netload.c:521 #: panel-plugin/netload.c:522
#, c-format #, c-format
msgid "" msgid ""
"%s: Error in initalizing:\n" "%s: Error in initalizing:\n"
"%s" "%s"
msgstr "" msgstr ""
#: panel-plugin/netload.c:842 #: panel-plugin/netload.c:867
msgid "Select color" msgid "Select color"
msgstr "" msgstr ""
#: panel-plugin/netload.c:895 #: panel-plugin/netload.c:922
msgid "Bar color (incoming):" msgid "Bar color (incoming):"
msgstr "" msgstr ""
#: panel-plugin/netload.c:896 #: panel-plugin/netload.c:923
msgid "Bar color (outgoing):" msgid "Bar color (outgoing):"
msgstr "" msgstr ""
#: panel-plugin/netload.c:899 #: panel-plugin/netload.c:926
msgid "Maximum (incoming):" msgid "Maximum (incoming):"
msgstr "" msgstr ""
#: panel-plugin/netload.c:900 #: panel-plugin/netload.c:927
msgid "Maximum (outgoing):" msgid "Maximum (outgoing):"
msgstr "" msgstr ""
#: panel-plugin/netload.c:924 #: panel-plugin/netload.c:951
msgid "Text to display:" msgid "Text to display:"
msgstr "" msgstr ""
#: panel-plugin/netload.c:955 #: panel-plugin/netload.c:982
msgid "Network device:" msgid "Network device:"
msgstr "" msgstr ""
#: panel-plugin/netload.c:981 #: panel-plugin/netload.c:1008
msgid "Update interval:" msgid "Update interval:"
msgstr "" msgstr ""
#: panel-plugin/netload.c:992 #: panel-plugin/netload.c:1019
msgid "s" msgid "s"
msgstr "" msgstr ""
#: panel-plugin/netload.c:1005 #: panel-plugin/netload.c:1032
msgid "Automatic maximum" msgid "Automatic maximum"
msgstr "" msgstr ""
#: panel-plugin/netload.c:1037 #: panel-plugin/netload.c:1064
msgid "kByte/s" msgid "kByte/s"
msgstr "" msgstr ""
#: panel-plugin/netload.c:1125 #: panel-plugin/netload.c:1152
msgid "Netload" msgid "Netload"
msgstr "" msgstr ""