summaryrefslogtreecommitdiff
path: root/netspeed/src
AgeCommit message (Collapse)AuthorFilesLines
2020-04-16Remove unused-variable warningsrbuj1-2/+0
2020-04-08build: Use WARN_CFLAGS variablerbuj1-4/+9
2020-03-04netspeed: don't define MATELOCALEDIRmonsta1-1/+0
it's already defined in configure.ac for all applets
2020-01-10Update copyright to 2020raveit651-1/+1
2019-09-13netspeed: remove -Wunused-but-set-variable warningrbuj1-7/+0
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; | ^~
2019-04-14Use g_list_free_full() convenience functionrbuj1-2/+1
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
2019-03-20Make translatable copyright info in about dialogrbuj1-6/+3
2019-03-20Ensure proper translation of the about dialog titlerbuj1-3/+4
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
2018-12-08Support git.mk to generate .gitignoreWu Xiaotian1-0/+2
2018-05-12netspeed: Use theme icons instead of embeddedVictor Kareh1-101/+111
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.
2018-05-12Convert applet icons from pixbuf to surfacesVictor Kareh1-38/+66
This improves support for HiDPI by loading properly scaled surfaces for applets.
2018-02-09avoid deprecated GtkStockPablo Barciela1-8/+8
2018-02-04require GTK+ 3.22 and GLib 2.50monsta1-42/+0
2018-01-09update copyright year to 2018monsta1-1/+1
2017-10-05netspeed: update copyright yearmonsta1-1/+1
2017-08-05netspeed: don't use deprecated gtk_show_uriraveit651-0/+9
2016-11-22move to GTK+3 (>= 3.14), drop GTK+2 code and --with-gtk build optionmonsta1-164/+23
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.
2016-11-22fix some indent and a couple of typosmonsta1-28/+28
2016-08-31GTK+-3 netspeed: port GtkTable to GtkGridraveit651-0/+42
2016-08-01GTK+-3 netspeed: write valid rgb color values to gsettingsraveit651-13/+28
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.
2016-07-31GTK+-3 netspeed: port to GtkColorChooser and GdkRGBAraveit651-1/+48
2016-07-31netspeed: use GtkColorButton instead of MateColorButtonraveit651-9/+8
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
2016-07-31netspeed: use GtkAbout and update copyrightraveit651-3/+7
2016-05-12Use default routeAlejandro Perez1-1/+1
- update backend.c
2016-01-27GTK3: fix previous GtkMisc deprecations fix commitWolfgang Ulbrich1-46/+44
2015-12-17netspeed: remove duplicate #define's - leftovers from original repomonsta1-4/+0
2015-12-14merge netspeed applet from mate-netspeed repomonsta4-0/+2255