yutent
6fd4378a1b
change icons
2022-08-23 17:28:45 +08:00
yutent
521b3ac230
rename to speed
2022-08-23 12:02:44 +08:00
yutent
e7f7212a69
fixed
2022-08-23 11:20:35 +08:00
yutent
710e15b018
update
2022-08-23 11:03:59 +08:00
yutent
5c6b6b0655
rename to xfce4-netload-plugin
2022-08-22 16:28:56 +08:00
yutent
26f21d097e
remove other os
2022-08-22 16:20:34 +08:00
yutent
bfdda2fde9
remove other os
2022-08-22 16:12:54 +08:00
Avinash Sonawane
509b2c5ca5
Check if ip_address string is non-empty
2021-08-09 15:31:30 +05:30
Avinash Sonawane
c22bdad624
Free memory only after last reference
...
Found by: scan-build
2021-08-09 15:31:30 +05:30
Gaël Bonithon
07c54643bd
Reset source id to prevent double free
...
Fixes in particular a GLib-CRITICAL when closing the prefs dialog.
2021-05-05 19:24:48 +00:00
Simon Steinbeiss
daf8435a95
Improve progressbar look
...
Otherwise the selected-bg-color of the theme will be used for the border
of the progressbar, making it sorta awkward-looking.
2021-03-10 16:32:19 +01:00
Simon Steinbeiss
5cedef35c5
Add "About" dialog
2021-03-10 16:31:53 +01:00
Simon Steinbeiss
bd012459a5
Add help button to properties dialog
2021-03-10 16:31:08 +01:00
Simon Steinbeiss
876dfd10a7
Add new icons and switch to rDNS naming
2021-03-10 16:30:12 +01:00
Gaël Bonithon
f7f50e1e03
Fix compilation warnings
2021-02-01 23:08:53 +01:00
Olaf Hering
d3da808568
Fix missing-prototypes
...
utils.c:38:15: error: no previous prototype for 'min_array' [-Werror=missing-prototypes]
utils.c:55:15: error: no previous prototype for 'max_array' [-Werror=missing-prototypes]
utils.c:73:7: error: no previous prototype for 'format_byte_humanreadable' [-Werror=missing-prototypes]
Signed-off-by: Olaf Hering <olaf@aepfle.de>
2021-02-01 23:07:33 +01:00
Olaf Hering
7a4820a3f8
Remove GSourceFunc casts
...
Convert the callback into a real GSourceFunc.
Signed-off-by: Olaf Hering <olaf@aepfle.de>
2021-02-01 23:06:11 +01:00
Brian J. Tarricone
34f4441815
Populate a combo box with known network interfaces
...
Use getifaddrs() to enumerate all addresses associated with all network
interfaces, discarding duplicate interface names, and sorting. For OSes
where getifaddrs() is not available, an interface name can still be
manually typed in.
2020-11-16 21:59:08 +01:00
Landry Breuil
5bfad35280
remove unused wormulon files
...
would have avoided confusion, see #16
2020-07-22 21:02:54 +02:00
Theo Buehler
6192f5b356
Fix type for media_list on OpenBSD
...
The `SIOCGIFMEDIA` ioctl was changed in OpenBSD to take a `uint64_t` for
`ifm_ulist` in [this OpenBSD commit][1]. The current code results in a
buffer overflow.
Resolves #16
[1]: f2a0e42315
2020-07-17 10:59:03 +02:00
Sean Davis
114fae2c17
Preferences: Improve spacing (bug #14672 )
...
Signed-off-by: Sean Davis <smd.seandavis@gmail.com>
2018-09-22 15:30:56 -04:00
Landry Breuil
5829523b18
Fix stats on some openbsd drivers (bug #13853 )
...
some driver names are not null-ended (re, nfe?), leading to failing
comparisons. On top of this the comparison was wrong.
Simpler patch than the one provided by Ed Hynan, thanks for the detailed bug
report and thorough analysis.
2017-11-29 09:59:02 +01:00
Skunnyk
39066554e8
Fix Pre-defined Compiler Macros
...
- Use #if defined() instead of ifdef. This should fix freebsd/kfreebsd detection/build
2017-11-02 23:18:42 +01:00
Skunnyk
5098cf7266
Revert "Reduce jitter displaying of up/down load values"
...
This reverts commit f854511df3
.
Merged by mistake.
2017-11-02 23:14:12 +01:00
Romain B
d96739a24a
Merge branch 'master' of git://git.xfce.org/panel-plugins/xfce4-netload-plugin
2017-11-02 22:56:26 +01:00
Landry Breuil
9e2ab3d7ae
set a name on the 'text to display' widget so that it can be styled ( closes #13906 )
2017-10-18 21:45:47 +02:00
Sergey Alyoshin
f041b22794
Add default label text to translation
...
- Fix bug #11330
2017-06-09 12:29:06 +02:00
Guido Berhoerster
17ba2f635b
Fix array out of bounds write
...
- Fix bug #11328
2017-06-09 12:28:58 +02:00
Adam Borowski
cd5428b773
Remove sys/sysctl.h on linux platform
...
This include is useless and can be removed.
This syscall has been strongly deprecated for ages and the plugin doesn't use it any more. On old architectures, this include is benign as long as it's unused, on new ones (such as x32) it results in a build failure.
Fix bug #11477
2017-06-09 12:28:48 +02:00
Neo
f854511df3
Reduce jitter displaying of up/down load values
...
- This way the plugin does not jitter in the panel due to non fixed area for displayed up/download number
- Fix bug #12957
2017-06-08 11:20:19 +02:00
Sergey Alyoshin
8e23bbcb6a
Add default label text to translation
2017-06-08 11:13:53 +02:00
Guido Berhoerster
011a2ca9ee
Fix array out of bounds write
...
Fix #11328
2017-06-08 11:01:34 +02:00
Adam Borowski
3c94964347
Remove sys/sysctl.h on linux platform
...
This include is useless and can be removed.
This syscall has been strongly deprecated for ages and the plugin doesn't use it any more. On old architectures, this include is benign as long as it's unused, on new ones (such as x32) it results in a build failure.
Fix bug #11477
2017-06-06 23:25:29 +02:00
Landry Breuil
0902fcbb7d
Print debug msg with the new value *after* setting the value
2017-02-09 20:15:49 +01:00
Landry Breuil
c21537cd4b
No need to call setup_monitor three times in monitor_apply_options()
2017-02-09 20:13:46 +01:00
Landry Breuil
d7639056d9
Now that color is set only when it changes, no need to forcedly set it when mode changes.
2017-02-09 20:13:15 +01:00
Landry Breuil
551ac2c8b8
Rework label css handling
...
Move it to XnlpMonitorLabel object.
2017-01-06 23:04:11 +01:00
Landry Breuil
0b7a0f4344
Drop unused var
2017-01-06 23:04:00 +01:00
Landry Breuil
57fb955ab7
Rework pbar css handling
...
Create provider right after creating the widget and directly apply sizing css.
Apply only color css when needed via set_progressbar_csscolor()
2017-01-06 23:02:48 +01:00
Landry Breuil
ef926747b4
Apply css on the correct widget class for Gtk 3.16/3.18
2017-01-06 23:01:16 +01:00
Landry Breuil
3e169650ce
Set progressbar minimal width and height depending on the orientation (#12941,#12949)
2016-12-24 23:44:03 +01:00
Landry Breuil
b2e899fabb
Reapply css style upon mode change to ensure sizing is applied
2016-12-24 23:43:29 +01:00
Harald Judt
a0480b5fad
Fix progress bar grow direction in deskbar and vertical modes
2016-08-08 10:50:45 +02:00
Landry Breuil
d35e3a59a6
set progressbar minimal width/height to 4px so that it looks like with gtk+2
2016-06-19 14:58:43 +02:00
Landry Breuil
937a6aefff
global.h was removed
2016-06-05 16:53:41 +02:00
Simon Steinbeiss
658f7b4747
Replace _size_request with _get_preferred_size
2016-05-14 23:08:10 +02:00
Landry Breuil
d776f762f2
Use color: inherit to reset label color to its default, thanks knome for the hint!
2016-05-14 16:22:59 +02:00
Landry Breuil
423ec0cb64
Use a GtkColorButton instead of rolling our own dialog
2016-05-14 15:52:08 +02:00
Landry Breuil
2b415579b4
Drop GtkDrawingArea, we're going to use a GtkColorButton instead of rolling our own
2016-05-14 15:51:30 +02:00
Landry Breuil
b487211512
Use GtkBox instead of GtkHBox
2016-05-14 15:47:00 +02:00