Skip to content

DisplayWidget: animate with Granite.Symbol - #238

Open
danirabbit wants to merge 6 commits into
mainfrom
danirabbit/granite-symbol
Open

DisplayWidget: animate with Granite.Symbol#238
danirabbit wants to merge 6 commits into
mainfrom
danirabbit/granite-symbol

Conversation

@danirabbit

@danirabbit danirabbit commented Aug 19, 2026

Copy link
Copy Markdown
Member
Kooha-2026-08-18-18-47-04.mp4

@danirabbit danirabbit added this to OS 9 Aug 19, 2026
@danirabbit danirabbit moved this to In progress in OS 9 Aug 19, 2026
@danirabbit
danirabbit marked this pull request as ready for review August 19, 2026 01:48
@danirabbit
danirabbit requested review from a team August 19, 2026 01:48
@danirabbit danirabbit moved this from In progress to Needs Review in OS 9 Aug 19, 2026
Comment thread src/Widgets/Symbol.vala
public const string ACTIVE = "active";
}

public class Granite.Symbol : Granite.Bin {

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there any reason you used Granite namespace here although this file is not part of Granite?

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If this can be a generic widget then I guess we should really move this to Granite instead of creating Granite.Symbol classes in many repositories.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah my idea was just to prototype this here and then move it to Granite before releasing. I can change the namespace before merging here if it looks okay :)

Comment thread meson.build
'src/Widgets/Device.vala',
'src/Widgets/DisplayWidget.vala',
'src/Widgets/PopoverWidget.vala',
'src' / 'Widgets' / 'Symbol.vala',

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think we need to use / (i.e. join_path()) if we don't have any variables; just 'src/Widgets/Symbol.vala', should fine.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Needs Review

Development

Successfully merging this pull request may close these issues.

2 participants