snapd-desktop-integration:main

Last commit made on 2024-12-17
Get this branch:
git clone -b main https://git.launchpad.net/snapd-desktop-integration

Branch merges

Branch information

Name:
main
Repository:
lp:snapd-desktop-integration

Recent commits

ac4d94d... by Sergio Costas

Refactor window with progress dialogs (#99)

* Refactored all the window progress code

This PR moves the GTK window and dock progress bars management
into their own classes, letting the `SdiRefreshMonitor` object
to process the events from snapd and just send signals with the
changes, signals that are connected to the new
`SdiProgressWindow` and `SdiProgressDock` objects, which are
responsible of creating a window if needed, update the progress
bars in each element, and close a window, for the former object,
and update the progress bar in the dock for the later.

This separation simplifies the code and, along with #97, allows
to isolate the event management code, which will allow to create
unitary tests for the process.

* Update tests/test-sdi-progress-dock.c

Co-authored-by: Marco Trevisan <mail@3v1n0.net>

* Update tests/test-sdi-progress-dock.c

Ok

Co-authored-by: Marco Trevisan <mail@3v1n0.net>

---------

Co-authored-by: Marco Trevisan <mail@3v1n0.net>

4689a61... by Marco Trevisan (TreviƱo)

Merge pull request #119 from sergio-costas/fix-missing-state-for-cancel

Add missing state

a5a514c... by Sergio Costas

Coverage support for unitary tests (#122)

* First coverage support for unitary tests

* Upload coverage as an artifact

* Added support for coverage in theme change test

* Don't install tests

Also, don't install the binary if coverage is enabled

* Disable installation if coverage is enabled

This is a security measure, to avoid to accidentally install
system-wide binaries with coverage code inside.

* Add coverage support to the theme-change test

* Remove empty test

8b8c727... by Sergio Costas

Use weston to test theme changes in CI (#123)

148461e... by Sergio Costas

Fix NULL text in progress bar (#120)

* Fix NULL text in progress bar

When no text is specified for a progress bar, NULL is passed
to gtk_progress_bar_set_text(). Unfortunately, this shows the
text (NULL) instead of leaving it blank.

This patch fixes this.

* Better check

4cd075f... by Sergio Costas

Add missing state

The 'Abort' state is also used when an operation has been
cancelled.

e3af6b3... by Sergio Costas

Add meson_version to meson.build (#118)

Adds a check to ensure that at least meson 0.64.0 or later is
used, since it is required for fs.copyfile.

f1bbc5a... by Sergio Costas

Update mock-snapd to the last version (#117)

2424c88... by Sergio Costas

Add last mock snapd 2 (#116)

* Add last changes in mock-snapd

This PR just merges the last changes in mock-snapd from
snapd-glib.

50bee6d... by Sergio Costas

Fix memory leak in unitary test (#115)

* Forgot to free the block itsel.

* Use g_slice_free