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:
Linas Vepstas
2001-01-22 05:24:17 +00:00
parent 10ac3c6fd7
commit d0f68de965
2 changed files with 3 additions and 2 deletions

View File

@@ -326,7 +326,8 @@ gnc_help_window_print_cb(GtkWidget * w, gpointer data) {
static void
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);
}

View File

@@ -471,7 +471,7 @@ gnc_refresh_main_window_title (void)
book = gncGetCurrentBook ();
filename = gnc_book_get_file_path (book);
filename = gnc_book_get_url (book);
if ((filename == NULL) || (*filename == '\0'))
filename = _("Untitled");