summaryrefslogtreecommitdiff
path: root/battstat
AgeCommit message (Collapse)AuthorFilesLines
3 daysDon't set default icon if build as in-processHEADmasterBalló György1-2/+1
Setting the default icon name causes that it's applied globally to all newly opened windows in the process, not just for the applet's windows, so it cannot be used if the applets are built as in-process.
3 daysbattstat: Fix reopening preferences after closing the windowBalló György1-0/+3
Handle the delete-event to hide the preferences dialog instead of destroying it when the window is closed using the title bar's close button. This allows the existing dialog to be presented again when the preferences are opened.
2026-04-29fix invalid po filesOlivier Schneider1-1/+1
2026-04-29remove empty po filesOlivier Schneider26-20020/+0
2026-04-29remove invalid po filesOlivier Schneider8-6164/+0
2026-04-29retrieve last transifex translationsOlivier Schneider102-1915/+46054
2026-04-29weblate migrationOlivier Schneider1-784/+0
2024-02-21tx: sync with transifexraveit6511-197/+338
2023-09-16tx: fix warning in ja,id,fr,tr,ko and sr translationsraveit652-8/+10
2023-08-23tx: pull with transifexraveit65107-175/+1150
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