Patch from chpe@gnome.org to use the gtk_show_about_dialog to avoid an

inconsistency in the GtkAboutDialog code. Fixes 337634.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13744 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
David Hampton
2006-04-07 15:53:52 +00:00
parent dcf55d0a40
commit f17cbc8281
2 changed files with 6 additions and 5 deletions

View File

@@ -1,5 +1,9 @@
2006-04-07 David Hampton <hampton@employees.org>
* src/gnome-utils/gnc-main-window.c: Patch from chpe@gnome.org to
use the gtk_show_about_dialog to avoid an inconsistency in the
GtkAboutDialog code. Fixes 337634.
* src/backend/file/io-gncxml-v2.c: The cvs version of libxml2
refuses to write attribute tags that don't have valid namespaces.
Since gnucash writes the root node of the XML data file by hand,

View File

@@ -3216,7 +3216,6 @@ gnc_main_window_cmd_help_about (GtkAction *action, GncMainWindow *window)
const gchar *copyright = "© 1998-2005 Linas Vepstas";
gchar **authors, **documenters, *license;
GdkPixbuf *logo;
GtkWidget *dialog;
logo = gnc_gnome_get_gdkpixbuf ("appicon.png");
@@ -3224,8 +3223,8 @@ gnc_main_window_cmd_help_about (GtkAction *action, GncMainWindow *window)
documenters = get_file_strsplit("doc/DOCUMENTERS");
license = get_file("doc/LICENSE");
dialog = gtk_about_dialog_new();
g_object_set (G_OBJECT(dialog),
gtk_show_about_dialog
(GTK_WINDOW (window),
"authors", authors,
"documenters", documenters,
"comments", message,
@@ -3242,8 +3241,6 @@ gnc_main_window_cmd_help_about (GtkAction *action, GncMainWindow *window)
if (documenters) g_strfreev(documenters);
if (authors) g_strfreev(authors);
g_object_unref (logo);
gtk_widget_show(dialog);
}
#else
static void