xfce4-sensors-plugin merge requestshttps://gitlab.xfce.org/panel-plugins/xfce4-sensors-plugin/-/merge_requests2022-01-31T05:48:14Zhttps://gitlab.xfce.org/panel-plugins/xfce4-sensors-plugin/-/merge_requests/66Fix localization issues2022-01-31T05:48:14ZGhost UserFix localization issuesList of changes:
- Use locale-independent floats in configuration files
- Sync xfce4++ with [xfce4-cpufreq-plugin](https://gitlab.xfce.org/panel-plugins/xfce4-cpufreq-plugin), which fixes issue https://gitlab.xfce.org/panel-plugins/xfce...List of changes:
- Use locale-independent floats in configuration files
- Sync xfce4++ with [xfce4-cpufreq-plugin](https://gitlab.xfce.org/panel-plugins/xfce4-cpufreq-plugin), which fixes issue https://gitlab.xfce.org/panel-plugins/xfce4-cpufreq-plugin/-/issues/16v1.4.3https://gitlab.xfce.org/panel-plugins/xfce4-sensors-plugin/-/merge_requests/64Fix crash in hddtemp codepath with a SATA SSD drive; increase HDD/GPU tempera...2021-11-11T01:22:28ZGhost UserFix crash in hddtemp codepath with a SATA SSD drive; increase HDD/GPU temperature range by 10℃List of changes:
- Fix crash in hddtemp codepath with a SATA SSD drive. This adds support for cases in which the drive's temperature isn't being reported by hddtemp, such as: `/dev/sdd: Samsung SSD 850 PRO 256G @: no sensor`
- Increase...List of changes:
- Fix crash in hddtemp codepath with a SATA SSD drive. This adds support for cases in which the drive's temperature isn't being reported by hddtemp, such as: `/dev/sdd: Samsung SSD 850 PRO 256G @: no sensor`
- Increase default temperature ranges of HDDs and NVIDIA GPUs by 10℃
- Remove timer in order to deallocate memory at program termination. This change is only intended to check that t_sensors_dialog destructor is being invoked when it is supposed to be invoked when running `"G_MESSAGES_DEBUG=all ./xfce4-sensors"` in a terminal.
- NVIDIA: Close X11 display via the destructor of a static variable. This is a tiny change that fixes a currently unimportant memory leak in `main.cc`.
- Reformat source code of the `initialize_hddtemp()` function
Closes: panel-plugins/xfce4-sensors-plugin#27v1.4.2https://gitlab.xfce.org/panel-plugins/xfce4-sensors-plugin/-/merge_requests/63Remove default values from RC configuration files2021-11-10T01:48:28ZGhost UserRemove default values from RC configuration filesThis simplifies updates over time. That is: users who are using default values will automatically receive the updated values when switching from `xfce4-sensors-plugin` version `N` to version `N+1`.
Changes:
- Remove `sensors_init_defau...This simplifies updates over time. That is: users who are using default values will automatically receive the updated values when switching from `xfce4-sensors-plugin` version `N` to version `N+1`.
Changes:
- Remove `sensors_init_default_values()` -> Add `t_sensors` constructor
- Specify default values in 1 place (`t_sensors` constructor), instead of 2 places (`sensors-interface-common.cc`, `configuration.cc`)
- Add `xfce4::Rc::write_default_...` functions
- Add support for floating-point values (32-bit) to `xfce4::Rc`
- Add `parse_float()` and `parse_double()`
Fixed issues:
- Save the current width&height values (not the stale values) to RC file
- `Rc::read_entry()` fallback code-path
See also: https://gitlab.xfce.org/panel-plugins/xfce4-sensors-plugin/-/issues/26v1.4.2https://gitlab.xfce.org/panel-plugins/xfce4-sensors-plugin/-/merge_requests/62Suppress title after the user adds the 1st sensor2021-11-08T20:58:46ZGhost UserSuppress title after the user adds the 1st sensorThe updated behavior takes effect only when a new instance of this plugin is added to a panel. Configurations of existing instances are not fixed by this patch because the RC configuration file already/always contains the `Show_Title` it...The updated behavior takes effect only when a new instance of this plugin is added to a panel. Configurations of existing instances are not fixed by this patch because the RC configuration file already/always contains the `Show_Title` item irrespective of its default value.
Closes: https://gitlab.xfce.org/panel-plugins/xfce4-sensors-plugin/-/issues/26v1.4.2https://gitlab.xfce.org/panel-plugins/xfce4-sensors-plugin/-/merge_requests/27Update automatic coloring of progress bars2021-07-21T18:41:28ZGhost UserUpdate automatic coloring of progress barsList of changes:
- The number of colors is simplified (from 4 down to 3) to match GTK's level-bar offsets
- The option "Show colored bars" has been renamed to "Automatic bar colors"
- The option "Automatic bar colors" now has a tooltip
...List of changes:
- The number of colors is simplified (from 4 down to 3) to match GTK's level-bar offsets
- The option "Show colored bars" has been renamed to "Automatic bar colors"
- The option "Automatic bar colors" now has a tooltip
- CSS style is sent to GTK only if it differs from the current CSS style
![Screenshot_20210721_201310](/uploads/61709ed6dfbb419abee084f71dc75e30/Screenshot_20210721_201310.png)
Closes: https://gitlab.xfce.org/panel-plugins/xfce4-sensors-plugin/-/issues/4v1.4.0https://gitlab.xfce.org/panel-plugins/xfce4-sensors-plugin/-/merge_requests/24Corrections to the number of rows when displaying sensor data as text2021-07-20T21:25:33ZGhost UserCorrections to the number of rows when displaying sensor data as textThis patch removes arbitrary constants from the code determining the number of rows when showing sensor data as text. The text now tries not to overflow the drawing area available to the plugin, even if the user configures the plugin to ...This patch removes arbitrary constants from the code determining the number of rows when showing sensor data as text. The text now tries not to overflow the drawing area available to the plugin, even if the user configures the plugin to show an excessive number of rows.v1.4.0https://gitlab.xfce.org/panel-plugins/xfce4-sensors-plugin/-/merge_requests/21Layout sensors when cover-all-rows is toggled2021-07-20T12:55:24ZGhost UserLayout sensors when cover-all-rows is toggledThis resizes the sensors widget immediately, instead of waiting several seconds for a timer expiration.This resizes the sensors widget immediately, instead of waiting several seconds for a timer expiration.v1.4.0https://gitlab.xfce.org/panel-plugins/xfce4-sensors-plugin/-/merge_requests/13Patchset 2021.42021-04-01T00:48:10ZGhost UserPatchset 2021.4This merge request contains 4 patches:
1. Remove unused `options.dialog` files
2. Surround declarations with `G_BEGIN_DECLS` and `G_END_DECLS`
3. **Move text inside the tachometer:**
This patch slightly improves readability of ta...This merge request contains 4 patches:
1. Remove unused `options.dialog` files
2. Surround declarations with `G_BEGIN_DECLS` and `G_END_DECLS`
3. **Move text inside the tachometer:**
This patch slightly improves readability of tachometer texts by putting the baseline of the text 1 pixel above the center of the tachometer circle.
Before: ![Screenshot_20210331_234548](/uploads/fcfbdaca41dd98de30d4ba308fcb3508/Screenshot_20210331_234548.png)
After: ![Screenshot_20210331_234604](/uploads/1b621f29bac65a2a67ed1d3eb92a5e4f/Screenshot_20210331_234604.png)
Closes: panel-plugins/xfce4-sensors-plugin#20
4. **Enable automatic switching of colors based on light or dark UI theme:**
The colors in the configuration dialog can now be set to empty strings, in which case the color of the text or of the bar will be set according to the current UI style.
Remaining issues to be fixed:
- There seems to be an interference between Gtk CSS providers applied to a bar if its color is an empty string
- There is currently no help text nor a tooltip telling the user that the color can be set to an empty string
![Screenshot_20210401_003517](/uploads/6a05b1827593397a53223cb2444866b0/Screenshot_20210401_003517.png)v1.4.0