summaryrefslogtreecommitdiff
path: root/battstat
AgeCommit message (Collapse)AuthorFilesLines
2021-08-07tx: sync with transifexraveit65106-443/+868
2021-01-28Remove unnecessary casts on g_signal_connect callsrbuj3-18/+13
2021-01-16Update copyright to 2021rbuj2-2/+2
2021-01-07Don't leave any round bracket at line endrbuj1-16/+16
2021-01-07tx: sync with transifexraveit652-6/+15
2020-12-17battstat: whitespace is missingrbuj1-2/+2
2020-12-13tx:sync with transifexraveit6514-60/+304
2020-12-06remove dead function mate_panel_applet_set_background_widgetmbkma1-5/+1
2020-11-28tx: fix build warning caused by Brasilian translationsraveit651-4/+4
2020-09-03battstat: improve code-styleraveit658-1535/+1580
- tab to spaces - fix indents - add a space before brackets
2020-08-11tx: sync with transifexraveit6512-48/+100
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