mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
print url not filename in window title
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3517 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
@@ -326,7 +326,8 @@ gnc_help_window_print_cb(GtkWidget * w, gpointer data) {
|
|||||||
|
|
||||||
static void
|
static void
|
||||||
item_destroy_cb(GtkListItem * li, gpointer user_data) {
|
item_destroy_cb(GtkListItem * li, gpointer user_data) {
|
||||||
g_free(gtk_object_get_user_data(GTK_OBJECT(li)));
|
gpointer x = gtk_object_get_user_data(GTK_OBJECT(li));
|
||||||
|
g_free(x);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -471,7 +471,7 @@ gnc_refresh_main_window_title (void)
|
|||||||
|
|
||||||
book = gncGetCurrentBook ();
|
book = gncGetCurrentBook ();
|
||||||
|
|
||||||
filename = gnc_book_get_file_path (book);
|
filename = gnc_book_get_url (book);
|
||||||
|
|
||||||
if ((filename == NULL) || (*filename == '\0'))
|
if ((filename == NULL) || (*filename == '\0'))
|
||||||
filename = _("Untitled");
|
filename = _("Untitled");
|
||||||
|
|||||||
Reference in New Issue
Block a user