summaryrefslogtreecommitdiff
path: root/battstat
AgeCommit message (Collapse)AuthorFilesLines
2020-08-11Remove -Wtype-limits warningsrbuj1-3/+3
2020-08-07battstat: Rewrite preference dialog from scratchrbuj9-750/+807
To manage the settings stored by GSettings. The preference dialog is a subclass of GtkDialog, and the ui file is a template. There is more info available in the "GTK+ Overview" chapter of "GTK+ 3 Reference Manual": "Building applications - A preference dialog" https://developer.gnome.org/gtk3/stable/ch01s04.html
2020-08-07battstat: invalidScanfArgType_int cppcheck warnings (/proc/apm)rbuj2-7/+7
2020-07-29battstat: Fix memory leakrbuj1-0/+1
2020-07-29battstat: Reduce the dynamically allocated memoryrbuj1-14/+11
2020-07-29battstat: Free only dynamically allocated memoryrbuj1-1/+1
2020-07-17battstat: warning about boolean algebra reported by cppcheckrbuj1-1/+1
2020-07-15Remove unused variable warning reported by cppcheckrbuj2-6/+5
2020-07-14battstat: bump upower required version and drop legacy coderaveit651-16/+0
2020-07-14batstatt: fix deprecated up_client_get_devicesraveit651-2/+2
The previous code would have leaked all the UpDevice objects because no free function was set on the returned GPtrArray. With depending on upower-glib 0.99.8 get_devices() was deprecated and get_devices2() was introduced, we can simply switch to get_devices2() which does set a free function on the returned GPtrArray, stopping the leak.
2020-07-13Guard block is missingrbuj1-0/+5
2020-06-25sync with transifexraveit65106-403/+603
2020-05-21build: Remove MATEDESKTOP_CFLAGS and MATEDESKTOP_LIBSrbuj1-2/+0
2020-04-16Remove unused-variable warningsrbuj1-15/+6
2020-04-08build: Use WARN_CFLAGS variablerbuj1-3/+4
2020-03-02tx: pull with fixed translations of pt and pt_BRraveit651-16/+134
2020-02-10tx: sync with transifexraveit651-4/+4
2020-01-21tx: sync with transifexraveit65105-521/+960
2020-01-10Update copyright to 2020raveit652-2/+2
2020-01-09migrate from intltools to gettextWu Xiaotian5-23/+25
2019-12-04avoid redundant redeclarationsPablo Barciela1-3/+0
2019-06-16Update FSF addressLaurent Napias10-11/+11
2019-06-16tx: sync with transifexraveit65105-18465/+17928
2019-04-14Fix use-after-free clang warningrbuj1-2/+2
battstat_applet.c:755:3: warning: Use of memory after it is freed static_global_teardown (battstat); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stickynotes.c:674:24: warning: Use of memory after it is freed stickynotes->notes = g_list_remove(stickynotes->notes, note); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2019-03-23help: update copyrightraveit651-1/+1
2019-03-20Help: Use XInclude instead of ENTITY for legal.xmlrbuj1-5/+1
The ENTITY is expanded in i18n process, and legal.xml file is never read.
2019-03-20Make translatable documenters in about dialogrbuj1-0/+7
2019-03-20Make translatable copyright info in about dialogrbuj1-6/+3
2019-03-20Ensure proper translation of the about dialog titlerbuj1-0/+1
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
2019-03-17tx: sync with transifexrbuj9-29/+45
2019-02-25tx: sync with transifexraveit6510-26/+34
2019-01-27tx: sync with transifexraveit6514-94/+275
2018-11-17sync with transifexraveit65117-7852/+89567
2018-10-06Use make functions for HELP_LINGUASrbuj1-1/+5
2018-10-03Use orderedlist to describe the steps to add the applet to a panelrbuj1-6/+29
2018-10-03Manual: Fix Add to Panel dialog titlerbuj1-1/+1
2018-10-02Manual: OK -> Add (Add to Panel dialog)rbuj1-1/+1
2018-10-02Add/Update Catalan screenshotsrbuj3-0/+0
2018-09-28Fix spelling and grammar mistakesrbuj1-1/+1
2018-05-12battstat: Load theme icons instead of pixmapsVictor Kareh7-1331/+63
Also remove the outdated option for expanded view.
2018-05-12Convert applet icons from pixbuf to surfacesVictor Kareh1-0/+1
This improves support for HiDPI by loading properly scaled surfaces for applets.
2018-02-09avoid deprecated GtkStockPablo Barciela1-5/+5
2018-02-04require GTK+ 3.22 and GLib 2.50monsta1-4/+0
2018-01-09update copyright year to 2018monsta1-1/+1
2017-12-29Fix build warnings: ignoring return value of ‘fgets’,Pablo Barciela1-8/+26
declared with attribute warn_unused_result
2017-10-05update copyright year in other appletsmonsta1-1/+1
2017-08-05battstat: don't use deprecated gtk_show_uriraveit651-0/+4
2017-03-23Possible fix for https://github.com/mate-desktop/mate-applets/issues/225 fix ↵Scott Balneaves1-0/+5
GError memory leak
2016-11-22move to GTK+3 (>= 3.14), drop GTK+2 code and --with-gtk build optionmonsta3-108/+4
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-08-31GTK+-3 battstat: port GtkTable to GtkGridraveit652-0/+89