Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deprecate settings widgets #686

Merged
merged 2 commits into from
Jan 26, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions lib/Widgets/AbstractSettingsPage.vala
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
* AbstractSettingsPage is a {@link Gtk.ScrolledWindow} subclass with properties used
* by other Granite settings widgets.
*/
[Version (deprecated = true, deprecated_since = "7.5.0", replacement = "Switchboard.SettingsPage")]
public abstract class Granite.SettingsPage : Gtk.Box {
protected string _icon_name;
protected string _title;
Expand Down
1 change: 1 addition & 0 deletions lib/Widgets/AbstractSimpleSettingsPage.vala
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
* a content area, and an action area.
*/

[Version (deprecated = true, deprecated_since = "7.5.0", replacement = "Switchboard.SimpleSettingsPage")]
public abstract class Granite.SimpleSettingsPage : Granite.SettingsPage {
private Gtk.Label description_label;
private string _description;
Expand Down
1 change: 1 addition & 0 deletions lib/Widgets/SettingsSidebar.vala
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
* All the content for the rows comes from the child properties of a Granite.SettingsPage
* inside of the Gtk.Stack
*/
[Version (deprecated = true, deprecated_since = "7.5.0", replacement = "Switchboard.SettingsSidebar")]
public class Granite.SettingsSidebar : Gtk.Widget {
private Gtk.ListBox listbox;

Expand Down
2 changes: 1 addition & 1 deletion meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ project(
'granite-7',
'vala', 'c',
meson_version: '>= 0.56.0',
version: '7.4.0'
version: '7.5.0'
)

if meson.get_compiler('vala').version().version_compare('<0.48.0')
Expand Down