general: Rename to Loupe

Sets the codename, binary name, and app ID name to Loupe.
The user-visible name is still Image Viewer.
This commit is contained in:
Christopher Davis 2021-09-28 17:44:26 -07:00
parent 9833c1edc0
commit cced598239
25 changed files with 76 additions and 76 deletions

View file

@ -46,7 +46,7 @@ mod imp {
// we'd need to have a `new()` function in the
// `impl ObjectSubclass for $TYPE` section.
#[derive(Default, Debug, CompositeTemplate)]
#[template(resource = "/org/gnome/ImageViewer/gtk/window.ui")]
#[template(resource = "/org/gnome/Loupe/gtk/window.ui")]
pub struct IvWindow {
// Template children are used with the
// TemplateChild<T> wrapper, where T is the
@ -121,7 +121,7 @@ mod imp {
.set_icon_name(Some(&format!("{}-symbolic", config::APP_ID)));
// Set help overlay
let builder = gtk::Builder::from_resource("/org/gnome/ImageViewer/gtk/help_overlay.ui");
let builder = gtk::Builder::from_resource("/org/gnome/Loupe/gtk/help_overlay.ui");
let help_overlay = builder.object("help_overlay").unwrap();
obj.set_help_overlay(Some(&help_overlay));