Mike Massonnet
fbda085f4e
Revert "Do not enforce max length for text/device entries (bug #9869 )"
...
This reverts commit 215438c9e6
.
2014-11-22 18:03:32 +01:00
Mike Massonnet
4be032a9bd
Add option Show values as bits (bug #9932 )
2014-11-16 12:00:14 +01:00
Mike Massonnet
8fb438ce45
Add bufBullshit value in commandline test program
2014-11-15 23:56:43 +01:00
Mike Massonnet
2e2d905b28
Add argument as_bits to format_byte_humanreadable function
2014-11-15 23:56:43 +01:00
Mike Massonnet
4a5dea3435
Fix unit_names index
2014-11-15 23:00:15 +01:00
Mike Massonnet
d6d8e31dac
Revive commandline.c test program
2014-11-15 22:59:30 +01:00
Mike Massonnet
e27c703757
Fix plugin installation path
2014-11-02 17:46:09 +01:00
Mike Massonnet
1a73b511b8
Build plugin as a module
2014-11-02 16:26:08 +01:00
Mike Massonnet
be4078b027
Reset correct orientation of box_bars
...
Follow-up from commit 23ec87473e
2014-11-02 15:28:16 +01:00
Mike Massonnet
c7b9a893a3
Only round to 0 digits for KiB/s values (bug #11152 )
2014-11-02 15:23:49 +01:00
Mike Massonnet
23ec87473e
Pack progress bars inside event box and hide/show (bug #10258 )
...
After switching the option to show/hide the progress bars, the right click loses its
signal to display the panel context menu. Fixed by packing the progress bars inside
an event box.
2014-11-02 15:07:28 +01:00
Mike Massonnet
215438c9e6
Do not enforce max length for text/device entries (bug #9869 )
2014-11-02 13:47:19 +01:00
Mike Massonnet
f206729df5
Fix stringsize - 1 (bug #9172 )
2014-11-02 13:26:19 +01:00
Mike Massonnet
a73a3041bc
Fix first startup when no configuration file exist
...
The plugin was invisible because it failed to open the RC file.
2012-07-15 17:18:54 +02:00
Mike Massonnet
d4afbebbb0
Fix compilation warnings
2012-07-15 16:43:49 +02:00
Mike Massonnet
dd0c73ff94
Bug 8842: Update monitor labels sizes gracefully
...
New label class XnlpMonitorLabel that sets the requisition size
dynamically, in order to avoid flickering in the panel.
This class is only useful for labels that change periodically.
When the 10 last changes requested a smaller size than the actual
it will adapt to this new size.
2012-07-15 14:44:14 +02:00
Mike Massonnet
005d94bf49
Use 2px padding around labels
2012-07-15 14:44:14 +02:00
Mike Massonnet
0e7c2b2b11
Bug 9089: Rectify tooltip information
...
The exchanged data is not always per second, therefore
the code now displays the interval and values in bytes.
2012-07-14 19:52:58 +02:00
Mike Massonnet
7434a7f1fb
Bug 8941: Support new panel mode Deskbar
...
Bumped dependency to Xfce Panel 4.9, and replaced Orientation code
against Mode.
Properly support three modes Horizontal, Vertical, and Deskbar by
respecting the Panel HIG. Fixes also bug 8959, code sets 1px border
width for very small panels, 2px otherwise.
Use pixel fixed width (60px) instead of width_chars for labels, because
in vertical mode the size is incorrect.
Fix 9073, custom colors wasn't working for the progress bars, this has
been fixed while rearranging the code.
2012-07-14 18:41:31 +02:00
Mike Massonnet
1d664b8316
Bug 7481: Drop if_ppp headers
...
The code included net/if_ppp.h headers, but the code doesn't
use any function from this header. FreeBSD doesn't ship if_ppp.h
anymore and it broke compilation.
2012-07-13 13:13:35 +02:00
Mike Massonnet
80826ee11e
Fix comment in setup_monitor
2012-06-01 17:09:07 +02:00
Mike Massonnet
1fef9b7e93
Don't setup monitor in set-size signal handler
2012-06-01 15:05:03 +02:00
Mike Massonnet
32dd79fd87
Drop useless container packing
...
global->monitor->box is the only widget packed inside global->box, since
this is useless monitor->box has been dropped and everything is directly
packed inside global->box.
Part of bug #8937 .
2012-06-01 13:58:39 +02:00
Mike Massonnet
e098eaa220
Bug 8917: Reorganize code in monitor_new, setup_monitor and monitor_set_orientation
...
The current state is a bit messy. Widget creation is spread over
various functions. With this change, only monitor_new creates the widgets,
while setup_monitor controls which widgets will be shown, and
monitor_set_orientation will deal with the orientation of the
widgets.
2012-05-29 23:07:46 +02:00
Mike Massonnet
b6efbf1286
Bug 8915: Keep colorized values after orientation change
2012-05-28 21:32:04 +02:00
Mike Massonnet
b5a375218d
Bug 8914: Fix widget visibility on orientation change
2012-05-28 21:20:25 +02:00
Mike Massonnet
a331712b49
Never display B/s values in panel, start with KiB/s
2012-01-13 12:01:55 +01:00
Mike Massonnet
083f8b0952
Drop gettext call on "%s"
2012-01-08 15:54:25 +01:00
Mike Massonnet
c1918ac3e7
Adapt width chars to new length of string in panel
2012-01-08 15:40:49 +01:00
Mike Massonnet
cdaaa14f91
Rename kByte/s against KiB/s
2012-01-08 15:34:48 +01:00
Mike Massonnet
bbe956fe55
Reduce size of labels in panel
...
- Don't show the decimals
- Don't show per second suffix
2012-01-08 15:31:58 +01:00
Mike Massonnet
a6733f8e82
Fix include path for libxfce4panel
2012-01-08 15:31:58 +01:00
Mike Massonnet
73b342b34c
Fix typo in string
2012-01-08 15:31:58 +01:00
Harald Judt
e7f63558e4
Bug 8280: Format units automatically per Byte/KiB/MiB/GiB
2012-01-08 14:08:20 +01:00
Mike Massonnet
e9b3ee629e
Fix commit 11313a: Set label with mnemonics and attach to action widgets
2012-01-07 16:40:38 +01:00
Yves-Alexis Perez
6751c3da27
Bug 7360: Fix two calls to snprintf()
2012-01-07 15:56:26 +01:00
Christoph J. Thompson
e683d98fea
Bug 7083: Port from libxfcegui4 to libxfce4ui
2012-01-07 15:53:08 +01:00
Mike Massonnet
11313a0907
Add menmonics for all options
2012-01-07 15:46:11 +01:00
Mike Massonnet
a80dde35b0
Fix strings
2012-01-07 15:17:53 +01:00
Harald Judt
b7bcbc63af
Bug 7804: Add option to colorize rx/tx labels
...
Attachment 4076
2012-01-07 15:03:52 +01:00
Harald Judt
3b82675256
Bug 7804: Fix vertical alignment for tx-label
...
Attachment 4075
2012-01-07 15:03:47 +01:00
Harald Judt
31496db1f8
Bug 7804: Replace checkboxes against combobox
...
Attachment 4072
Merge "show values"/"show bars" inside one combobox with three
combinations.
2012-01-07 15:03:21 +01:00
Ivan Romanov
e884da8531
Bug 7804: Add option "Show values"
...
Attachment 4047
- include a new option in the settings dialog to show values
- rx/tx is shown respectively on the left/right of the bars
- include a new option to hide the bars
2012-01-07 15:02:34 +01:00
Florian Rivoal
4d48b67b71
Adjust the border size to match other plugins
...
Fixes bug #7344 .
2011-02-26 19:53:40 +09:00
Florian Rivoal
f1c7c550d7
Update the license
...
Clarify that wormulon is under GPL2 or later, and, after agreeing witn
Bernhard Walle, relicense xfce4-netload-plugin under GPL2 or later,
instead of GPL2 strictly.
2010-12-08 11:00:54 +09:00
Florian Rivoal
8bab222cea
Clean up
...
Update copyright notices, rename the configure.in.in into
configure.ac.in, upgrade autogen.sh, and INSTAL, and remove svn fluff in
comments.
2010-12-08 01:25:04 +09:00
Florian Rivoal
351f937baf
Add netload's own icon
...
xfce4-netload-plugin now has its own unique icon. Thanks to Simon
Steinbeiss <simon.steinbeiss@elfenbeinturm.at> for making it.
Fixes bug #6864
2010-12-08 01:24:24 +09:00
Florian Rivoal
343303d7ea
Upgrade from GtkTooltips to GtkTooltip
...
The former was deprecated, and caused problems in some cases.
Fixes bug #5177 .
2010-11-12 10:32:47 +09:00
Florian Rivoal
5454e32347
Fix bar colors for some theme engines
...
Apply the patch proposed in bug 1889 by Brian J. Tarricone.
2010-10-15 20:27:09 +09:00
Florian Rivoal
0f806d5a5a
Fix buffer overflow
...
Apply the patch from bug 6026, correcting a typo that causes overflows.
2010-10-13 10:07:04 +09:00
Florian Rivoal
cd6830349d
Add support for GNU/kFreeBSD
...
Change the ifdefery to use existing code to support GNU/kFreeBSD.
Fixes bug 3043.
2010-10-13 10:07:04 +09:00
Alex Dedul
3d15b6fb40
Fix compatibility with Xfce 4.7+
...
Make the dependency on libxfcegui4 explicit, instead of relying on some
other component to link to it for us.
Fixes bug 6466.
2010-10-13 10:06:36 +09:00
Bernhard Walle
8296940f4b
- size fixes by Rodrigo Castro <rodrigo.castro@mezzano.com.br>
...
(Old svn revision: 2838)
2007-06-16 10:33:48 +00:00
Mike Massonnet
81d2a31cdd
* panel-plugin/netload.c(monitor_create_options): use xfce titled
...
dialog for the options.
* *.po, *.pot: make update-po
(Old svn revision: 2297)
2007-01-05 01:15:52 +00:00
Mike Massonnet
83c94ff23a
Avoid the plugin to enlarge the panel
...
(Old svn revision: 2285)
2006-12-30 16:31:11 +00:00
Bernhard Walle
31403e75d8
ChangeLog, panel-plugin/net.{c,h}, panel-plugin/netload.c:
...
- Not reporting errors if the interface has no IP address yet, thanks to
Mathy Vanvoorden <matje@lanzone.be> (fixed #1158 )
(Old svn revision: 2249)
2006-12-17 21:11:54 +00:00
Bernhard Walle
3ca61bba76
panel-plugin/net.{c,h}, panel-plugin/os.h:
...
- added code for DragonFly BSD, thanks to Bob Bagwill <bob@bagwill.com>
(fixed #1456 )
(Old svn revision: 2247)
2006-12-17 19:44:57 +00:00
Masse Nicolas
5be17a3036
update with version from Jasper - now compatible with Xfce-4.4
...
(Old svn revision: 1361)
2006-04-25 20:26:28 +00:00
Bernhard Walle
e8a307595d
- applied patch from Debian: don't use libgtop any more, so remove it
...
from the Makefile (thanks to Rudy Godoy and Martin Michlmayr
(Old svn revision: 1197)
2006-03-22 16:08:33 +00:00
Bernhard Walle
ea900c3647
ChangeLog, panel-plugin/netload.c:
...
* Fixed crash (gtk_rc_style_unref() only valid if the rc was created with
gtk_rc_style_new())
* Fixed bug that causes an invalid displayed string if no device name was set.
(Old svn revision: 772)
2005-08-21 10:11:03 +00:00
Bernhard Walle
7b2ca15079
2005-08-21 Bernhard Walle
...
* Fixed memory leak (thanks to Brian J. Tarricone)
* Custom bar colors now also work with special Gtk theme engine where
the previous code doesn't work (thanks to Brian J. Tarricone)
* Released 0.3.3.
(Old svn revision: 771)
2005-08-21 09:03:16 +00:00
Bernhard Walle
22959322fb
* Fixed error output if not in debug mode ( #4707 )
...
* Increased version number to 0.3.3.
(Old svn revision: 756)
2005-07-31 22:54:22 +00:00
Bernhard Walle
75dd6d9340
Fixed memory leak ( #971 ).
...
New version.
(Old svn revision: 351)
2005-05-17 18:42:52 +00:00
Bernhard Walle
cf3e10adc6
Close the socket
...
(Old svn revision: 340)
2005-02-04 18:14:41 +00:00
Bernhard Walle
65af5a9649
Implemented display of IP address, minor code cleanup
...
(Old svn revision: 337)
2005-02-04 18:12:01 +00:00
Bernhard Walle
50731da8d5
Removed generated file
...
(Old svn revision: 332)
2005-01-13 20:25:37 +00:00
Bernhard Walle
6288deec59
Right size for Xfce 4.2
...
(Old svn revision: 331)
2005-01-10 13:44:18 +00:00
Bernhard Walle
ad6d9f7ab1
New version 0.2.3: Make it thread save for recent developement versions of Xfce
...
(Old svn revision: 329)
2004-08-01 09:16:58 +00:00
Jasper Huijsmans
ba3e48bad4
Add Ukranian translations
...
(Old svn revision: 322)
2003-11-03 17:40:57 +00:00
Bernhard Walle
e9f7df9eec
* 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: 316)
2003-10-01 19:16:03 +00:00
Bernhard Walle
6c59586f2e
Added support for MacOS X
...
(Old svn revision: 313)
2003-09-13 12:30:49 +00:00
Bernhard Walle
6140e1bbd0
New version 0.2.0pre6
...
Added GUI warning if the plugin initialization failed and corrected "ms" to "s" (seconds)
(Old svn revision: 309)
2003-09-06 12:37:20 +00:00
Bernhard Walle
eaaaa9c2e3
New version 0.2.0pre5
...
Fixed problems on all operating systems that require initialization and removed
superfluous call of init_netload() function.
(Old svn revision: 307)
2003-08-31 12:54:36 +00:00
Bernhard Walle
36f8ddc12a
Initial import
...
(Old svn revision: 306)
2003-08-31 12:45:25 +00:00
Bernhard Walle
92edb043e9
Fixed small bug with update timeout
...
(Old svn revision: 305)
2003-08-28 19:38:38 +00:00
Bernhard Walle
5fe22a5340
New version 0.2.0pre4
...
Fixed compile problem on NetBSD and OpenBSD
(Old svn revision: 303)
2003-08-27 18:26:50 +00:00
Bernhard Walle
bee2164e55
New version 0.2.0pre3
...
Fixed a small bug, implemented configurable update interval and improved automatic maximum.
(Old svn revision: 300)
2003-08-26 20:34:46 +00:00
Bernhard Walle
bf777a0384
New version 0.2.0pre2
...
Support more than one instance of the plugin
(Old svn revision: 298)
2003-08-25 21:08:58 +00:00
Bernhard Walle
fbca674e03
New version 0.2.0pre1
...
(Old svn revision: 296)
2003-08-24 20:07:08 +00:00
Bernhard Walle
1407a73ebb
Change netcode based on wormulon
...
(Old svn revision: 295)
2003-08-24 20:05:32 +00:00
Bernhard Walle
a0405c9463
Fixed bugs, added configuration option for maximum and changed a bit other
...
(Old svn revision: 294)
2003-08-24 20:05:10 +00:00
Bernhard Walle
5f8d057d39
Inital add -- thousands separator for printf
...
(Old svn revision: 293)
2003-08-24 20:04:23 +00:00
Bernhard Walle
39c7c55760
* Added libgtop2 support
...
* Changed comment to GPL
* Better organize of code (init and close function)
(Old svn revision: 286)
2003-08-17 18:55:46 +00:00
Bernhard Walle
b7fe0b709a
Initial revision
...
(Old svn revision: 275)
2003-08-13 18:14:27 +00:00