Skip to content

Commit

Permalink
add attributions
Browse files Browse the repository at this point in the history
  • Loading branch information
vhdirk committed Jan 29, 2024
1 parent 767e4cb commit eb9173f
Show file tree
Hide file tree
Showing 4 changed files with 28 additions and 26 deletions.
25 changes: 6 additions & 19 deletions src/tile/style_switcher/style_switcher.rs
Original file line number Diff line number Diff line change
@@ -1,25 +1,12 @@
/// This icon is work derived from BlackBox
/// https://gitlab.gnome.org/raggesilver/blackbox/-/blob/3264dba83b0d9a6aad28694fa8b1cc139b69d523/src/widgets/StyleSwitcher.vala
///
/// Copyright 2022 Paulo Queiroz
///
/// BlackBox is licensed GNU GPLv3
use glib::Properties;
use gtk::subclass::prelude::*;
use gtk::{prelude::*, CompositeTemplate};
/// This file is work derived from Black Box
///
/// Copyright 2023 Paulo Queiroz <[email protected]>
///
/// This program is free software: you can redistribute it and/or modify
/// it under the terms of the GNU General Public License as published by
/// the Free Software Foundation, either version 3 of the License, or
/// (at your option) any later version.
///
/// This program is distributed in the hope that it will be useful,
/// but WITHOUT ANY WARRANTY; without even the implied warranty of
/// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
/// GNU General Public License for more details.
///
/// You should have received a copy of the GNU General Public License
/// along with this program. If not, see <http://www.gnu.org/licenses/>.
///
/// SPDX-License-Identifier: GPL-3.0-or-later
///
use std::cell::RefCell;
use tracing::*;

Expand Down
7 changes: 7 additions & 0 deletions src/tile/style_switcher/style_switcher.ui
Original file line number Diff line number Diff line change
@@ -1,4 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
This icon is work derived from BlackBox
https://gitlab.gnome.org/raggesilver/blackbox/-/blob/3264dba83b0d9a6aad28694fa8b1cc139b69d523/src/widgets/StyleSwitcher.vala
Copyright 2022 Paulo Queiroz
BlackBox is licensed GNU GPLv3
-->
<interface>
<requires lib="gtk" version="4.0" />
<template class="TileStyleSwitcher" parent="GtkWidget">
Expand Down
15 changes: 8 additions & 7 deletions src/tile/zoom_controls/zoom_controls.rs
Original file line number Diff line number Diff line change
@@ -1,14 +1,15 @@
use adw::prelude::BinExt;
/// This file is work derived from Prompt
/// https://gitlab.gnome.org/chergert/prompt/-/blob/c279d3dbe78a126d4de732b3383aa3e8be3bafdb/src/prompt-window.c
///
/// Copyright 2023 Christian Hergert <[email protected]>
/// Prompt is licensed GNU GPLv3
use adw::subclass::prelude::*;
use glib::{prelude::*, subclass::Signal};
use glib::{ObjectExt, Properties};
use gtk::glib;
use glib::subclass::Signal;
use glib::{self, ObjectExt, Properties};
use gtk::prelude::*;
use gtk::CompositeTemplate;
use once_cell::sync::Lazy;
use std::cell::{Cell, RefCell};
use std::path::PathBuf;
use tracing::info;
use std::cell::Cell;

#[derive(Debug, Default, CompositeTemplate, Properties)]
#[template(resource = "/io/github/vhdirk/Tile/gtk/zoom_controls.ui")]
Expand Down
7 changes: 7 additions & 0 deletions src/tile/zoom_controls/zoom_controls.ui
Original file line number Diff line number Diff line change
@@ -1,4 +1,11 @@
<?xml version='1.0' encoding='UTF-8'?>
<!--
This file is work derived from Prompt
https://gitlab.gnome.org/chergert/prompt/-/blob/c279d3dbe78a126d4de732b3383aa3e8be3bafdb/src/prompt-window.c
Copyright 2023 Christian Hergert<[email protected]>
Prompt is licensed GNU GPLv3
-->
<interface>
<requires lib="gtk" version="4.10" />
<requires lib="libadwaita" version="1.4" />
Expand Down

0 comments on commit eb9173f

Please sign in to comment.