general: Change user-facing name to Image Viewer
This is part of the move to Core. Part-of: <https://gitlab.gnome.org/GNOME/loupe/-/merge_requests/256>
This commit is contained in:
parent
dba63ac6fe
commit
186401fb57
23 changed files with 41 additions and 41 deletions
|
|
@ -1,5 +1,5 @@
|
||||||
<!--
|
<!--
|
||||||
Thanks for getting in touch with the Loupe project
|
Thanks for getting in touch with the Image Viewer (Loupe) project
|
||||||
|
|
||||||
Please select one of the issue templates above.
|
Please select one of the issue templates above.
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
<!--
|
<!--
|
||||||
Thanks for suggesting a feature
|
Thanks for suggesting a feature
|
||||||
|
|
||||||
Please focus on the benefit that the feature should bring. Not on how it should be implemented or designed. Preferably, you describe what you actually wanted to do and why, when you noticed that Loupe is lacking the feature.
|
Please focus on the benefit that the feature should bring. Not on how it should be implemented or designed. Preferably, you describe what you actually wanted to do and why, when you noticed that Image Viewer is lacking the feature.
|
||||||
-->
|
-->
|
||||||
|
|
|
||||||
|
|
@ -3,5 +3,5 @@ Thanks for reporting an issue
|
||||||
|
|
||||||
In addition to describing the issue, we kindly ask you to also paste the information from the following dialog:
|
In addition to describing the issue, we kindly ask you to also paste the information from the following dialog:
|
||||||
|
|
||||||
“About Loupe” → “Troubleshooting” → “Debugging Information”
|
“About Image Viewer” → “Troubleshooting” → “Debugging Information”
|
||||||
-->
|
-->
|
||||||
|
|
|
||||||
12
README.md
12
README.md
|
|
@ -1,8 +1,8 @@
|
||||||
# Loupe
|
# Image Viewer (Loupe)
|
||||||
|
|
||||||
An image viewer application written with GTK 4, Libadwaita and Rust.
|
An image viewer application written with GTK 4, Libadwaita and Rust.
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
## Installing
|
## Installing
|
||||||
|
|
||||||
|
|
@ -18,7 +18,7 @@ Bundles will not be automatically updated after installation.
|
||||||
## Features
|
## Features
|
||||||
|
|
||||||
- Fast GPU accelerated image rendering with tiled rendering for SVGs
|
- Fast GPU accelerated image rendering with tiled rendering for SVGs
|
||||||
- Extendable and sandboxed (expect SVG) image decoding with
|
- Extendable and sandboxed (expect SVG) image decoding
|
||||||
- Support for more than 15 image formats by default
|
- Support for more than 15 image formats by default
|
||||||
- Extensive support for touchpad and touchscreen gestures
|
- Extensive support for touchpad and touchscreen gestures
|
||||||
- Accessible presentation of the most important metadata
|
- Accessible presentation of the most important metadata
|
||||||
|
|
@ -26,7 +26,7 @@ Bundles will not be automatically updated after installation.
|
||||||
|
|
||||||
## Supported Formats
|
## Supported Formats
|
||||||
|
|
||||||
Loupe uses [glycin](https://gitlab.gnome.org/sophie-h/glycin) for loading images. You can check [glycin's README](https://gitlab.gnome.org/sophie-h/glycin#supported-image-formats) for more details about the formats supported by the default loaders. However, glycin supports adding loaders for additional formats. Therefore, the supported formats on your system may vary and might be changed by installing or removing glycin loaders.
|
Image Viewer uses [glycin](https://gitlab.gnome.org/sophie-h/glycin) for loading images. You can check [glycin's README](https://gitlab.gnome.org/sophie-h/glycin#supported-image-formats) for more details about the formats supported by the default loaders. However, glycin supports adding loaders for additional formats. Therefore, the supported formats on your system may vary and might be changed by installing or removing glycin loaders.
|
||||||
|
|
||||||
## Building
|
## Building
|
||||||
|
|
||||||
|
|
@ -48,7 +48,7 @@ used GNOME Builder to build it, clicking the bar at the top window will
|
||||||
open a submenu with "Export Bundle". This will create a flatpak bundle,
|
open a submenu with "Export Bundle". This will create a flatpak bundle,
|
||||||
which can be installed on any system that supports flatpak.
|
which can be installed on any system that supports flatpak.
|
||||||
|
|
||||||
**In order for the Loupe flatpak to be able to read the directory images are installed in, you must install a bundle.**
|
**In order for the Image Viewer flatpak to be able to read the directory images are installed in, you must install a bundle.**
|
||||||
Once you have a bundle installed, development builds will work properly.
|
Once you have a bundle installed, development builds will work properly.
|
||||||
|
|
||||||
## Contributing
|
## Contributing
|
||||||
|
|
@ -57,5 +57,5 @@ Once you have a bundle installed, development builds will work properly.
|
||||||
|
|
||||||
### Conduct
|
### Conduct
|
||||||
|
|
||||||
Loupe operates under the GNOME Code Of Conduct. See the full
|
Image Viewer operates under the GNOME Code Of Conduct. See the full
|
||||||
text of the Code Of Conduct [here](CODE_OF_CONDUCT.md).
|
text of the Code Of Conduct [here](CODE_OF_CONDUCT.md).
|
||||||
|
|
|
||||||
|
|
@ -51,7 +51,7 @@
|
||||||
<attribute name="action">win.show-help-overlay</attribute>
|
<attribute name="action">win.show-help-overlay</attribute>
|
||||||
</item>
|
</item>
|
||||||
<item>
|
<item>
|
||||||
<attribute name="label" translatable="yes">_About Loupe</attribute>
|
<attribute name="label" translatable="yes">_About Image Viewer</attribute>
|
||||||
<attribute name="action">app.about</attribute>
|
<attribute name="action">app.about</attribute>
|
||||||
</item>
|
</item>
|
||||||
</section>
|
</section>
|
||||||
|
|
@ -61,7 +61,7 @@
|
||||||
<property name="default-height">498</property>
|
<property name="default-height">498</property>
|
||||||
<property name="width-request">360</property>
|
<property name="width-request">360</property>
|
||||||
<property name="height-request">360</property>
|
<property name="height-request">360</property>
|
||||||
<property name="title" translatable="yes">Loupe</property>
|
<property name="title" translatable="yes">Image Viewer</property>
|
||||||
<signal name="notify::fullscreened" handler="on_fullscreened" swapped="yes"/>
|
<signal name="notify::fullscreened" handler="on_fullscreened" swapped="yes"/>
|
||||||
<binding name="title">
|
<binding name="title">
|
||||||
<closure type="gchararray" function="window_title">
|
<closure type="gchararray" function="window_title">
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
[Desktop Entry]
|
[Desktop Entry]
|
||||||
Name=Loupe
|
Name=Image Viewer
|
||||||
Exec=loupe %U
|
Exec=loupe %U
|
||||||
Icon=@APP_ID@
|
Icon=@APP_ID@
|
||||||
DBusActivatable=true
|
DBusActivatable=true
|
||||||
|
|
@ -7,5 +7,5 @@ Terminal=false
|
||||||
Type=Application
|
Type=Application
|
||||||
Categories=GNOME;GTK;Graphics;2DGraphics;RasterGraphics;Viewer;
|
Categories=GNOME;GTK;Graphics;2DGraphics;RasterGraphics;Viewer;
|
||||||
MimeType=@MIME_TYPES@
|
MimeType=@MIME_TYPES@
|
||||||
Keywords=Picture;Slideshow;Graphics;Image Viewer;
|
Keywords=Picture;Slideshow;Graphics;Loupe;
|
||||||
StartupNotify=true
|
StartupNotify=true
|
||||||
|
|
|
||||||
|
|
@ -3,7 +3,7 @@
|
||||||
<id>@APP_ID@.desktop</id>
|
<id>@APP_ID@.desktop</id>
|
||||||
<metadata_license>CC0-1.0</metadata_license>
|
<metadata_license>CC0-1.0</metadata_license>
|
||||||
<project_license>GPL-3.0-or-later</project_license>
|
<project_license>GPL-3.0-or-later</project_license>
|
||||||
<name>Loupe</name>
|
<name>Image Viewer</name>
|
||||||
<developer_name>The Loupe Team</developer_name>
|
<developer_name>The Loupe Team</developer_name>
|
||||||
<summary>View images</summary>
|
<summary>View images</summary>
|
||||||
<description>
|
<description>
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,7 @@
|
||||||
|
|
||||||
@desc View detailed properties of the selected image.
|
@desc View detailed properties of the selected image.
|
||||||
|
|
||||||
Loupe allows users to view an image's properties. All images will have the following
|
Image Viewer allows users to view an image's properties. All images will have the following
|
||||||
basic properties:
|
basic properties:
|
||||||
|
|
||||||
* Image size
|
* Image size
|
||||||
|
|
|
||||||
|
|
@ -1,11 +1,11 @@
|
||||||
= $media[type="image" its:translate="no" src="figures/org.gnome.Loupe.svg" height="48px" width="48px"] Loupe Image Viewer
|
= $media[type="image" its:translate="no" src="figures/org.gnome.Loupe.svg" height="48px" width="48px"] Image Viewer (Loupe)
|
||||||
[guide]
|
[guide]
|
||||||
|
|
||||||
@desc Browse through your images and inspect their metadata.
|
@desc Browse through your images and inspect their metadata.
|
||||||
|
|
||||||
== Introduction
|
== Introduction
|
||||||
|
|
||||||
Loupe is an image viewer that supports modern image formats. It provides:
|
Iamge Viewer is an image viewer that supports modern image formats. It provides:
|
||||||
|
|
||||||
* Fast GPU accelerated image rendering with tiled rendering for SVGs
|
* Fast GPU accelerated image rendering with tiled rendering for SVGs
|
||||||
* Extendable and sandboxed raster image decoding
|
* Extendable and sandboxed raster image decoding
|
||||||
|
|
|
||||||
|
|
@ -8,13 +8,13 @@
|
||||||
|
|
||||||
=== From The File Chooser
|
=== From The File Chooser
|
||||||
|
|
||||||
Loupe allows users to pick images with the file chooser at any time.
|
Image Viewer allows users to pick images with the file chooser at any time.
|
||||||
|
|
||||||
[steps]
|
[steps]
|
||||||
* Click the $gui(Open Files…) button, the $gui[style="menuitem"](Open…) menu item, or press $keyseq($key(Ctrl)$key(O)). The $gui(Open Image) file dialog will appear.
|
* Click the $gui(Open Files…) button, the $gui[style="menuitem"](Open…) menu item, or press $keyseq($key(Ctrl)$key(O)). The $gui(Open Image) file dialog will appear.
|
||||||
* Select the image you want to open, then click $gui(Open).
|
* Select the image you want to open, then click $gui(Open).
|
||||||
|
|
||||||
Loupe will open with the selected image showing, and the other images in the directory can be reached by browsing.
|
Image Viewer will open with the selected image showing, and the other images in the directory can be reached by browsing.
|
||||||
|
|
||||||
=== From The File Manager
|
=== From The File Manager
|
||||||
|
|
||||||
|
|
@ -23,12 +23,12 @@ Users can also open images in Loupe directly from their file manager.
|
||||||
[steps]
|
[steps]
|
||||||
* Open your preferred file manager application.
|
* Open your preferred file manager application.
|
||||||
* Navigate to the image you want to view in Loupe.
|
* Navigate to the image you want to view in Loupe.
|
||||||
* If Loupe is set as your default image viewer, use the file manager's function for opening files.
|
* If Image Viewer is set as your default image viewer, use the file manager's function for opening files.
|
||||||
* If Loupe is not your default image viewer, you will need to select $gui(Open With…) or similar in the file manager, and pick Loupe.
|
* If Image Viewer is not your default image viewer, you will need to select $gui(Open With…) or similar in the file manager, and pick Image Viewer.
|
||||||
|
|
||||||
=== Drag & Drop
|
=== Drag & Drop
|
||||||
|
|
||||||
Loupe also accepts local image files dragged from other applications.
|
Image Viewer also accepts local image files dragged from other applications.
|
||||||
|
|
||||||
[steps]
|
[steps]
|
||||||
* In the source application, begin dragging the image.
|
* In the source application, begin dragging the image.
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,7 @@
|
||||||
[topic]
|
[topic]
|
||||||
@link[guide >index#additional-features]
|
@link[guide >index#additional-features]
|
||||||
|
|
||||||
@desc Learn how to send, copy, and drag images from Loupe to other apps.
|
@desc Learn how to send, copy, and drag images from Image Viewer to other apps.
|
||||||
|
|
||||||
== "Open With…" Action
|
== "Open With…" Action
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,7 @@
|
||||||
[topic]
|
[topic]
|
||||||
@link[guide >index#technical-information]
|
@link[guide >index#technical-information]
|
||||||
|
|
||||||
Loupe uses $link[href=https://gitlab.gnome.org/sophie-h/glycin](glycin) for
|
Image Viewer uses $link[href=https://gitlab.gnome.org/sophie-h/glycin](glycin) for
|
||||||
loading images. You can check $link[href=https://gitlab.gnome.org/sophie-h/glycin#supported-image-formats](glycin's README)
|
loading images. You can check $link[href=https://gitlab.gnome.org/sophie-h/glycin#supported-image-formats](glycin's README)
|
||||||
for more details about the formats supported by the default loaders and the features
|
for more details about the formats supported by the default loaders and the features
|
||||||
provided by each format.
|
provided by each format.
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,7 @@
|
||||||
[topic]
|
[topic]
|
||||||
@link[guide >index#additional-features]
|
@link[guide >index#additional-features]
|
||||||
|
|
||||||
@desc Move unwanted images to the trash directly from Loupe.
|
@desc Move unwanted images to the trash directly from Image Viewer.
|
||||||
|
|
||||||
If a user wants to remove an image, they can press the $gui(Move To Trash)
|
If a user wants to remove an image, they can press the $gui(Move To Trash)
|
||||||
($media[type="image" src="figures/user-trash-symbolic.svg"](user-trash-symbolic))
|
($media[type="image" src="figures/user-trash-symbolic.svg"](user-trash-symbolic))
|
||||||
|
|
|
||||||
|
|
@ -43,6 +43,6 @@ Touchpad and touchscreen users can also use a two-finger rotate gesture.
|
||||||
|
|
||||||
== Fullscreen
|
== Fullscreen
|
||||||
|
|
||||||
Loupe has a simple fullscreen mode. Users can toggle fullscreen mode by pressing the $gui(Toggle Fullscreen)
|
Image Viewer has a simple fullscreen mode. Users can toggle fullscreen mode by pressing the $gui(Toggle Fullscreen)
|
||||||
($media[type="image" src="figures/view-fullscreen-symbolic.svg"](view-fullscreen-symbolic) / $media[type="image" src="figures/view-restore-symbolic.svg"](view-restore-symbolic)) button.
|
($media[type="image" src="figures/view-fullscreen-symbolic.svg"](view-fullscreen-symbolic) / $media[type="image" src="figures/view-restore-symbolic.svg"](view-restore-symbolic)) button.
|
||||||
Keyboard users can also use $key(F11) to toggle fullscreen mode.
|
Keyboard users can also use $key(F11) to toggle fullscreen mode.
|
||||||
|
|
@ -11,7 +11,7 @@
|
||||||
<desc>View detailed properties of the selected image.</desc>
|
<desc>View detailed properties of the selected image.</desc>
|
||||||
</info>
|
</info>
|
||||||
<title>Image Properties</title>
|
<title>Image Properties</title>
|
||||||
<p>Loupe allows users to view an image's properties. All images will have the following
|
<p>Image Viewer allows users to view an image's properties. All images will have the following
|
||||||
basic properties:</p>
|
basic properties:</p>
|
||||||
<list>
|
<list>
|
||||||
<item>
|
<item>
|
||||||
|
|
|
||||||
|
|
@ -9,10 +9,10 @@
|
||||||
<info>
|
<info>
|
||||||
<desc>Browse through your images and inspect their metadata.</desc>
|
<desc>Browse through your images and inspect their metadata.</desc>
|
||||||
</info>
|
</info>
|
||||||
<title><media type="image" its:translate="no" src="figures/org.gnome.Loupe.svg" height="48px" width="48px"/> Loupe Image Viewer</title>
|
<title><media type="image" its:translate="no" src="figures/org.gnome.Loupe.svg" height="48px" width="48px"/> Image Viewer (Loupe)</title>
|
||||||
<section>
|
<section>
|
||||||
<title>Introduction</title>
|
<title>Introduction</title>
|
||||||
<p>Loupe is an image viewer that supports modern image formats. It provides:</p>
|
<p>Iamge Viewer is an image viewer that supports modern image formats. It provides:</p>
|
||||||
<list>
|
<list>
|
||||||
<item>
|
<item>
|
||||||
<p>Fast GPU accelerated image rendering with tiled rendering for SVGs</p>
|
<p>Fast GPU accelerated image rendering with tiled rendering for SVGs</p>
|
||||||
|
|
|
||||||
|
|
@ -15,7 +15,7 @@
|
||||||
<title>Opening Files</title>
|
<title>Opening Files</title>
|
||||||
<section>
|
<section>
|
||||||
<title>From The File Chooser</title>
|
<title>From The File Chooser</title>
|
||||||
<p>Loupe allows users to pick images with the file chooser at any time.</p>
|
<p>Image Viewer allows users to pick images with the file chooser at any time.</p>
|
||||||
<steps>
|
<steps>
|
||||||
<item>
|
<item>
|
||||||
<p>Click the <gui>Open Files…</gui> button, the <gui style="menuitem">Open…</gui> menu item, or press <keyseq><key>Ctrl</key><key>O</key></keyseq>. The <gui>Open Image</gui> file dialog will appear.</p>
|
<p>Click the <gui>Open Files…</gui> button, the <gui style="menuitem">Open…</gui> menu item, or press <keyseq><key>Ctrl</key><key>O</key></keyseq>. The <gui>Open Image</gui> file dialog will appear.</p>
|
||||||
|
|
@ -24,7 +24,7 @@
|
||||||
<p>Select the image you want to open, then click <gui>Open</gui>.</p>
|
<p>Select the image you want to open, then click <gui>Open</gui>.</p>
|
||||||
</item>
|
</item>
|
||||||
</steps>
|
</steps>
|
||||||
<p>Loupe will open with the selected image showing, and the other images in the directory can be reached by browsing.</p>
|
<p>Image Viewer will open with the selected image showing, and the other images in the directory can be reached by browsing.</p>
|
||||||
</section>
|
</section>
|
||||||
<section>
|
<section>
|
||||||
<title>From The File Manager</title>
|
<title>From The File Manager</title>
|
||||||
|
|
@ -37,16 +37,16 @@
|
||||||
<p>Navigate to the image you want to view in Loupe.</p>
|
<p>Navigate to the image you want to view in Loupe.</p>
|
||||||
</item>
|
</item>
|
||||||
<item>
|
<item>
|
||||||
<p>If Loupe is set as your default image viewer, use the file manager's function for opening files.</p>
|
<p>If Image Viewer is set as your default image viewer, use the file manager's function for opening files.</p>
|
||||||
</item>
|
</item>
|
||||||
<item>
|
<item>
|
||||||
<p>If Loupe is not your default image viewer, you will need to select <gui>Open With…</gui> or similar in the file manager, and pick Loupe.</p>
|
<p>If Image Viewer is not your default image viewer, you will need to select <gui>Open With…</gui> or similar in the file manager, and pick Image Viewer.</p>
|
||||||
</item>
|
</item>
|
||||||
</steps>
|
</steps>
|
||||||
</section>
|
</section>
|
||||||
<section>
|
<section>
|
||||||
<title>Drag & Drop</title>
|
<title>Drag & Drop</title>
|
||||||
<p>Loupe also accepts local image files dragged from other applications.</p>
|
<p>Image Viewer also accepts local image files dragged from other applications.</p>
|
||||||
<steps>
|
<steps>
|
||||||
<item>
|
<item>
|
||||||
<p>In the source application, begin dragging the image.</p>
|
<p>In the source application, begin dragging the image.</p>
|
||||||
|
|
|
||||||
|
|
@ -8,7 +8,7 @@
|
||||||
<page xmlns="http://projectmallard.org/1.0/" type="topic" id="sending-to-other-apps">
|
<page xmlns="http://projectmallard.org/1.0/" type="topic" id="sending-to-other-apps">
|
||||||
<info>
|
<info>
|
||||||
<link type="guide" xref="index#additional-features"/>
|
<link type="guide" xref="index#additional-features"/>
|
||||||
<desc>Learn how to send, copy, and drag images from Loupe to other apps.</desc>
|
<desc>Learn how to send, copy, and drag images from Image Viewer to other apps.</desc>
|
||||||
</info>
|
</info>
|
||||||
<title>Sending Images To Other Apps</title>
|
<title>Sending Images To Other Apps</title>
|
||||||
<section>
|
<section>
|
||||||
|
|
|
||||||
|
|
@ -10,7 +10,7 @@
|
||||||
<link type="guide" xref="index#technical-information"/>
|
<link type="guide" xref="index#technical-information"/>
|
||||||
</info>
|
</info>
|
||||||
<title>Supported Image Formats</title>
|
<title>Supported Image Formats</title>
|
||||||
<p>Loupe uses <link href="https://gitlab.gnome.org/sophie-h/glycin">glycin</link> for
|
<p>Image Viewer uses <link href="https://gitlab.gnome.org/sophie-h/glycin">glycin</link> for
|
||||||
loading images. You can check <link href="https://gitlab.gnome.org/sophie-h/glycin#supported-image-formats">glycin's README</link>
|
loading images. You can check <link href="https://gitlab.gnome.org/sophie-h/glycin#supported-image-formats">glycin's README</link>
|
||||||
for more details about the formats supported by the default loaders and the features
|
for more details about the formats supported by the default loaders and the features
|
||||||
provided by each format.</p>
|
provided by each format.</p>
|
||||||
|
|
|
||||||
|
|
@ -8,7 +8,7 @@
|
||||||
<page xmlns="http://projectmallard.org/1.0/" type="topic" id="trashing-images">
|
<page xmlns="http://projectmallard.org/1.0/" type="topic" id="trashing-images">
|
||||||
<info>
|
<info>
|
||||||
<link type="guide" xref="index#additional-features"/>
|
<link type="guide" xref="index#additional-features"/>
|
||||||
<desc>Move unwanted images to the trash directly from Loupe.</desc>
|
<desc>Move unwanted images to the trash directly from Image Viewer.</desc>
|
||||||
</info>
|
</info>
|
||||||
<title>Moving Images to Trash</title>
|
<title>Moving Images to Trash</title>
|
||||||
<p>If a user wants to remove an image, they can press the <gui>Move To Trash</gui>
|
<p>If a user wants to remove an image, they can press the <gui>Move To Trash</gui>
|
||||||
|
|
|
||||||
|
|
@ -73,7 +73,7 @@
|
||||||
</section>
|
</section>
|
||||||
<section>
|
<section>
|
||||||
<title>Fullscreen</title>
|
<title>Fullscreen</title>
|
||||||
<p>Loupe has a simple fullscreen mode. Users can toggle fullscreen mode by pressing the <gui>Toggle Fullscreen</gui>
|
<p>Image Viewer has a simple fullscreen mode. Users can toggle fullscreen mode by pressing the <gui>Toggle Fullscreen</gui>
|
||||||
(<media type="image" src="figures/view-fullscreen-symbolic.svg">view-fullscreen-symbolic</media> / <media type="image" src="figures/view-restore-symbolic.svg">view-restore-symbolic</media>) button.
|
(<media type="image" src="figures/view-fullscreen-symbolic.svg">view-fullscreen-symbolic</media> / <media type="image" src="figures/view-restore-symbolic.svg">view-restore-symbolic</media>) button.
|
||||||
Keyboard users can also use <key>F11</key> to toggle fullscreen mode.</p>
|
Keyboard users can also use <key>F11</key> to toggle fullscreen mode.</p>
|
||||||
</section>
|
</section>
|
||||||
|
|
|
||||||
|
|
@ -24,7 +24,7 @@ pub async fn window() -> adw::AboutWindow {
|
||||||
// an object and set all relevant properties very
|
// an object and set all relevant properties very
|
||||||
// easily in a way that's idiomatic to Rust.
|
// easily in a way that's idiomatic to Rust.
|
||||||
adw::AboutWindow::builder()
|
adw::AboutWindow::builder()
|
||||||
.application_name(gettext("Loupe"))
|
.application_name(gettext("Image Viewer"))
|
||||||
.application_icon(config::APP_ID)
|
.application_icon(config::APP_ID)
|
||||||
.version(config::VERSION)
|
.version(config::VERSION)
|
||||||
.developer_name(gettext("The Loupe Team"))
|
.developer_name(gettext("The Loupe Team"))
|
||||||
|
|
|
||||||
|
|
@ -862,13 +862,13 @@ impl LpWindow {
|
||||||
fn window_title(&self, file: Option<&gio::File>) -> String {
|
fn window_title(&self, file: Option<&gio::File>) -> String {
|
||||||
// ensure that templates are initialized
|
// ensure that templates are initialized
|
||||||
if file.is_none() {
|
if file.is_none() {
|
||||||
gettext("Loupe")
|
gettext("Image Viewer")
|
||||||
} else {
|
} else {
|
||||||
self.imp()
|
self.imp()
|
||||||
.image_view
|
.image_view
|
||||||
.current_file()
|
.current_file()
|
||||||
.and_then(|f| util::get_file_display_name(&f)) // If the file exists, get display name
|
.and_then(|f| util::get_file_display_name(&f)) // If the file exists, get display name
|
||||||
.unwrap_or_else(|| gettext("Loupe")) // Return that or the default if there's nothing
|
.unwrap_or_else(|| gettext("Image Viewer")) // Return that or the default if there's nothing
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue