update screenshot to fix #26

This commit is contained in:
Khaleel Al-Adhami
2023-11-05 18:58:35 -05:00
parent c607648886
commit c36f7b1a76
9 changed files with 15 additions and 14 deletions

View File

@@ -24,7 +24,7 @@ You may also be able to obtain Impression from your distribution's package manag
Write disk images onto your drives with ease. Select an image, insert your drive, and you're good to go! Impression is a useful tool for both avid distro-hoppers and casual computer users. See [Press](PRESS.md) for content mentioning Impression from various writers, content creators, etc.
<img src="data/resources/screenshots/0.png" alt="Main screen with a chosen ISO and one USB memory">
<img src="data/resources/screenshots/3.png" alt="Main screen with a chosen ISO and one USB memory">
## Contributing
Issues and merge requests are more than welcome. However, please take the following into consideration:

View File

@@ -49,8 +49,12 @@
<screenshots>
<screenshot type="default">
<image>https://gitlab.com/adhami3310/Impression/-/raw/main/data/resources/screenshots/3.png</image>
<caption>Screen with a choice of a local image or internet download</caption>
</screenshot>
<screenshot>
<image>https://gitlab.com/adhami3310/Impression/-/raw/main/data/resources/screenshots/0.png</image>
<caption>Main screen with a chosen ISO and available USB memories</caption>
<caption>Screen with a chosen ISO and available USB memories</caption>
</screenshot>
<screenshot>
<image>https://gitlab.com/adhami3310/Impression/-/raw/main/data/resources/screenshots/1.png</image>
@@ -76,7 +80,7 @@
<content_rating type="oars-1.1" />
<releases>
<release version="3.0" date="XXXX-XX-XX">
<release version="3.0" date="2023-11-05">
<description translatable="no">
<p>This release of Impression brings even more convenience and power to your fingertips:</p>
<ul>

View File

@@ -41,7 +41,7 @@ template $AppWindow : Adw.ApplicationWindow {
spacing: 12;
Adw.PreferencesPage {
Adw.PreferencesGroup {
Image app_icon {
Image {
icon-name: "io.gitlab.adhami3310.Impression";
styles ["app_icon"]
@@ -271,7 +271,7 @@ template $AppWindow : Adw.ApplicationWindow {
StackPage {
name: "no_devices";
child:
Adw.StatusPage no_devices_status {
Adw.StatusPage {
icon-name: "io.gitlab.adhami3310.Impression";
title: _("No Drives");
description: _("Insert a drive to write to");

View File

@@ -12,6 +12,10 @@ install_data(
join_paths(scalable_dir, ('@0@.svg').format(application_id)),
install_dir: join_paths(get_option('datadir'), scalable_dir)
)
install_data(
join_paths(scalable_dir, ('@0@.svg').format(base_id)),
install_dir: join_paths(get_option('datadir'), scalable_dir)
)
message(join_paths(pkgdatadir, 'icons', scalable_dir))

Binary file not shown.

Before

Width:  |  Height:  |  Size: 29 KiB

After

Width:  |  Height:  |  Size: 28 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 18 KiB

After

Width:  |  Height:  |  Size: 18 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 24 KiB

After

Width:  |  Height:  |  Size: 24 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 32 KiB

View File

@@ -37,7 +37,7 @@ mod imp {
sync::atomic::AtomicBool,
};
use crate::config::APP_ID;
use crate::config::{APP_ID, PROFILE};
use super::*;
@@ -58,8 +58,6 @@ mod imp {
#[template_child]
pub navigation: TemplateChild<adw::NavigationView>,
#[template_child]
pub app_icon: TemplateChild<gtk::Image>,
#[template_child]
pub open_image_button: TemplateChild<adw::ActionRow>,
#[template_child]
pub available_devices_list: TemplateChild<gtk::ListBox>,
@@ -88,8 +86,6 @@ mod imp {
#[template_child]
pub distros: TemplateChild<gtk::Box>,
#[template_child]
pub no_devices_status: TemplateChild<adw::StatusPage>,
#[template_child]
pub amd_distros: TemplateChild<gtk::ListBox>,
#[template_child]
pub arm_distros: TemplateChild<gtk::ListBox>,
@@ -125,13 +121,10 @@ mod imp {
fn constructed(&self) {
self.parent_constructed();
if APP_ID.ends_with("Devel") {
if PROFILE == "Devel" {
self.obj().add_css_class("devel");
}
self.app_icon.set_icon_name(Some(APP_ID));
self.no_devices_status.set_icon_name(Some(APP_ID));
let obj = self.obj();
obj.load_window_size();
obj.setup_gactions();