summaryrefslogtreecommitdiff
path: root/battstat
AgeCommit message (Collapse)AuthorFilesLines
2023-07-17Allow building all applets in or out of processlukefromdc4-21/+56
*Use --enable-in-process selector for in-process builds *Accessx-status: mark as incompatable with wayland *Accessx-status: Fix in-process runtime warning *Stickynote, Geyes: style fixes
2023-07-17Battstat: Port to in-process for wayland compatabilitylukefromdc4-23/+14
*This gives wayland users a functional battery monitor on at least linux
2023-06-21battstat: Use libtool to build libapmColomban Wendling2-3/+3
Apparently there is a build failure on some hosts because the build library didn't have the proper PIC settings, see #651. Using libtool fixes it as it is able to build true shared objects.
2022-11-09tx: sync with transifexmbkma28-166/+238
2022-08-08Use dashes instead of underscores in signal namesrbuj1-2/+2
2022-03-23battstat: present is bistate, charging and acline_status are tristaterbuj2-16/+22
2022-03-23battstat/battstat-upower.h: missing error_dialogrbuj1-0/+1
2022-03-23battstat/power-management.c: use gboolean for pm_initialised, using_upowerrbuj2-10/+10
2022-03-23battstat: implicit conversion changes signedness: 'gboolean' to 'guint'rbuj1-2/+2
2022-03-22Fix some -Wfloat-conversion warningsrbuj2-5/+9
2021-11-21Remove whitespaces before #ifdef, and #endifrbuj1-8/+8
2021-11-21Use a blank line at mostrbuj5-14/+0
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