~fabrixxm/confy

c775548f6662300b3643421bcef2f6958a215e5e — Sebastian Crane 12 days ago 9a5d0e1
Move 'star event' button to end of event widget

Typically, primary actions are near the left of the screen and secondary
actions are to the right [...] Since starring an event is secondary to
this action, [...] make sense to move the 'toggle starred' button
to the right of the event widget.

- Use self.add() rather than self.add_prefix(); this adds the toggle button to the end of the
  event widget rather than the beginning
- Add Sebastian Crane to the list of authors in the about window
3 files changed, 4 insertions(+), 3 deletions(-)

M CHANGELOG
M src/widgets.py
M src/window.py
M CHANGELOG => CHANGELOG +2 -1
@@ 1,7 1,8 @@
# CHANGELOG

## [unreleased]

### Changed
- Move 'star event' button to end of event widget (seabass)

## [0.5.5] - 2020-04-06
### Added

M src/widgets.py => src/widgets.py +1 -1
@@ 111,7 111,7 @@ class EventActionRow(Handy.ActionRow):
        icon_name = "starred-symbolic" if obj.starred else "non-starred-symbolic" 
        self.toggle_btn = Gtk.Button.new_from_icon_name(icon_name, Gtk.IconSize.BUTTON)
        self.toggle_btn.connect("clicked", self.toggle_starred)
        self.add_prefix(self.toggle_btn)
        self.add(self.toggle_btn)

        Gio.Application.get_default().connect(
            "tick", lambda *_: self.queue_draw()

M src/window.py => src/window.py +1 -1
@@ 684,7 684,7 @@ class ConfyWindow(Gtk.ApplicationWindow):
            version=APP_VERSION,
            copyright="© 2020 Fabio Comuni",
            website="https://confy.kirgroup.net/",
            authors=["Fabio Comuni", "Evangelos Ribeiro Tzaras"],
            authors=["Fabio Comuni", "Evangelos Ribeiro Tzaras", "Sebastian Crane"],
            comments=_("Conference schedules viewer"),
            license_type=Gtk.License.GPL_3_0
        ).show()