Skip to content

Commit

Permalink
possible fix for applications.py docs not building???
Browse files Browse the repository at this point in the history
  • Loading branch information
linkfrg committed Jul 28, 2024
1 parent 70ce6f2 commit 6893a29
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions docs/installation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ Building from source
- gtk4-layer-shell
- pygobject
- pycairo
- libpulse (if using PipeWire, install ``pipewire-pulse``)

.. code-block:: bash
Expand Down
2 changes: 1 addition & 1 deletion ignis/services/options.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ def __load_data(self) -> dict:
for i in data.keys():
self.__data[i] = Option(name=i, value=data[i])

except Exception:
except FileNotFoundError:
with open(OPTIONS_FILE, "w") as file:
json.dump(empty, file)

Expand Down
1 change: 1 addition & 0 deletions ignis/widgets/picture.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ class Picture(Gtk.Picture, BaseWidget):
- **"contain"**: Scale the content to fit the allocation, while taking its aspect ratio in consideration..
- **"cover"**: Cover the entire allocation, while taking the content aspect ratio in consideration.
- **"scale_down"**: The content is scaled down to fit the allocation, if needed, otherwise its original size is used.
For more info, see `Gtk.ContentFit <https://lazka.github.io/pgi-docs/Gtk-4.0/enums.html#Gtk.ContentFit>`_
.. code-block:: python
Expand Down

0 comments on commit 6893a29

Please sign in to comment.