Age | Commit message (Collapse) | Author | Files | Lines |
|
netspeed.c:477:15: warning: variable ‘state’ set but not used [-Wunused-but-set-variable]
477 | GtkStateType state;
| ^~~~~
netspeed.c:476:15: warning: variable ‘ra’ set but not used [-Wunused-but-set-variable]
476 | GdkRectangle ra;
| ^~
|
|
void
g_list_free_full (GList *list,
GDestroyNotify free_func);
Convenience method, which frees all the memory used
by a GList, and calls free_func on every element's
data.
https://developer.gnome.org/glib/stable/glib-Doubly-Linked-Lists.html#g-list-free-full
|
|
|
|
Note that GTK+ sets a default title of _("About %s") on the dialog
window (where %s is replaced by the name of the application, but
in order to ensure proper translation of the title, applications
should set the title property explicitly when constructing a
GtkAboutDialog
https://developer.gnome.org/gtk3/stable/GtkAboutDialog.html
|
|
|
|
This removes old icons included with the applet and instead uses icons from the current theme.
Known issues:
* Loopback interface does not have an icon, instead we use a "reload" icon to simulate it.
* PLIP/SLIP interfaces do not have proper icons, I managed to find an old PLIP icon in the hicolor theme and re-purposed it.
* Since not all icons have the same levels of scaling, I'm capping the size at 48px to keep all interfaces consistent.
* There are no icons for Wireless Quality, so I retained the existing ones for now.
|
|
This improves support for HiDPI by loading properly scaled surfaces for applets.
|
|
|
|
|
|
|
|
|
|
|
|
and require mate-panel >= 1.17
WARNING: use GTK+3 build of libmateweather for this build.
that lib is not migrated to GTK+3 only as we will possibly
use libgweather instead of it.
|
|
|
|
|
|
Previous commit writes garbage to gsettings, in result no graphs are displayed
with a new start of the applet.
Now we have rgb values in gsettings values.
|
|
|
|
this reverts http://git.mate-desktop.org/mate-netspeed/commit/?id=38d56de
Using GtkColorButton or GtkColorChooser does the same job
and we drop the dependecy to libmate-desktop
|
|
|
|
- update backend.c
|
|
|
|
|
|
|