File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 4545 manifest-path : " data/dev.geopjr.Collision.json"
4646 cache-key : flatpak-builder-${{ github.sha }}
4747 arch : ${{ matrix.arch }}
48- repository-name : flathub-beta
49- repository-url : https://flathub.org/beta-repo/flathub-beta.flatpakrepo
Original file line number Diff line number Diff line change 11{
22 "app-id" : " dev.geopjr.Collision" ,
33 "runtime" : " org.gnome.Platform" ,
4- "runtime-version" : " 46beta " ,
4+ "runtime-version" : " 46 " ,
55 "sdk" : " org.gnome.Sdk" ,
66 "command" : " collision" ,
77 "finish-args" : [
Original file line number Diff line number Diff line change @@ -131,7 +131,12 @@ module Collision
131131 @verifyFeedback .icon_name = Collision ::Feedback .icon(result)
132132 @verifyFeedback .add_css_class(classes[:add ])
133133 @verifyFeedback .remove_css_class(classes[:remove ])
134- @verifyTextView .tooltip_text = Collision ::Feedback .title(result)
134+
135+ feedback_result = Collision ::Feedback .title(result)
136+ @verifyTextView .tooltip_text = feedback_result
137+ {% if compare_versions(" #{ Gtk ::MAJOR_VERSION } .#{ Gtk ::MINOR_VERSION } .#{ Gtk ::MICRO_VERSION } " , " 4.14.0" ) >= 0 % }
138+ @verifyTextView .announce(feedback_result, Gtk ::AccessibleAnnouncementPriority ::High )
139+ {% end % }
135140 end
136141
137142 # We want to only check the file contents
@@ -167,6 +172,9 @@ module Collision
167172 @compareBtn .add_css_class(classes[:add ])
168173 @compareBtn .remove_css_class(classes[:remove ])
169174 @compareBtnImage .tooltip_text = title
175+ {% if compare_versions(" #{ Gtk ::MAJOR_VERSION } .#{ Gtk ::MINOR_VERSION } .#{ Gtk ::MICRO_VERSION } " , " 4.14.0" ) >= 0 % }
176+ @compareBtn .announce(title, Gtk ::AccessibleAnnouncementPriority ::High )
177+ {% end % }
170178
171179 false
172180 end
You can’t perform that action at this time.
0 commit comments