Skip to content

Commit

Permalink
Add descriptive icons for this Slider
Browse files Browse the repository at this point in the history
  • Loading branch information
lainsce committed Jan 30, 2024
1 parent f0f26a0 commit e1a9388
Show file tree
Hide file tree
Showing 4 changed files with 92 additions and 1 deletion.
44 changes: 44 additions & 0 deletions data/icons/hicolor/scalable/actions/no-round-symbolic.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
44 changes: 44 additions & 0 deletions data/icons/hicolor/scalable/actions/round-symbolic.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 2 additions & 0 deletions data/settings.gresources.xml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@
<file alias="kiri-l.svg">assets/kiri-l.svg</file>
</gresource>
<gresource prefix="/com/fyralabs/Fusebox/icons">
<file alias="scalable/actions/no-round-symbolic.svg">icons/hicolor/scalable/actions/no-round-symbolic.svg</file>
<file alias="scalable/actions/round-symbolic.svg">icons/hicolor/scalable/actions/round-symbolic.svg</file>
<file alias="scalable/actions/default-scroll-symbolic.svg">icons/hicolor/scalable/actions/default-scroll-symbolic.svg</file>
<file alias="scalable/actions/natural-scroll-symbolic.svg">icons/hicolor/scalable/actions/natural-scroll-symbolic.svg</file>
<file alias="scalable/actions/default-touch-scroll-symbolic.svg">icons/hicolor/scalable/actions/default-touch-scroll-symbolic.svg</file>
Expand Down
3 changes: 2 additions & 1 deletion fuses/appearance/AppearanceView.vala
Original file line number Diff line number Diff line change
Expand Up @@ -398,8 +398,9 @@ public class AppearanceView : Gtk.Box {
roundness_scale.scale.adjustment = roundness_adjustment;
roundness_scale.scale.draw_value = true;
roundness_scale.scale.value_pos = Gtk.PositionType.LEFT;
roundness_scale.stop_indicator_visibility = true;
roundness_scale.add_mark (1.0, null);
roundness_scale.left_icon = "no-round-symbolic";
roundness_scale.right_icon = "round-symbolic";

var roundness_control_box = new Gtk.Box (Gtk.Orientation.HORIZONTAL, 12);
roundness_control_box.append (roundness_scale);
Expand Down

0 comments on commit e1a9388

Please sign in to comment.