Compare commits

...

2 Commits

Author SHA1 Message Date
0fceaf7728 Bump Wuffs
All checks were successful
Alpine 3.21 Success
Arch Linux Success
Arch Linux AUR Success
Debian Bookworm Success
Fedora 39 Success
OpenBSD 7.8 Success
openSUSE 15.5 Success
2025-11-02 02:09:28 +01:00
c46fc73c34 Prefill the 'Enter location' dialog 2025-11-02 02:09:28 +01:00
2 changed files with 8 additions and 1 deletions

View File

@@ -537,6 +537,13 @@ on_show_enter_location(
g_signal_connect(entry, "changed", g_signal_connect(entry, "changed",
G_CALLBACK(on_enter_location_changed), self); G_CALLBACK(on_enter_location_changed), self);
GFile *location = fiv_io_model_get_location(self->model);
if (location) {
gchar *parse_name = g_file_get_parse_name(location);
gtk_entry_set_text(GTK_ENTRY(entry), parse_name);
g_free(parse_name);
}
// Can't have it ellipsized and word-wrapped at the same time. // Can't have it ellipsized and word-wrapped at the same time.
GtkWidget *protocols = gtk_label_new(""); GtkWidget *protocols = gtk_label_new("");
gtk_label_set_ellipsize(GTK_LABEL(protocols), PANGO_ELLIPSIZE_END); gtk_label_set_ellipsize(GTK_LABEL(protocols), PANGO_ELLIPSIZE_END);