[Gnucash-changes] r13744 - gnucash/trunk - Patch from
chpe@gnome.org to use the gtk_show_about_dialog to avoid an
David Hampton
hampton at cvs.gnucash.org
Fri Apr 7 11:53:54 EDT 2006
Author: hampton
Date: 2006-04-07 11:53:52 -0400 (Fri, 07 Apr 2006)
New Revision: 13744
Trac: http://svn.gnucash.org/trac/changeset/13744
Modified:
gnucash/trunk/ChangeLog
gnucash/trunk/src/gnome-utils/gnc-main-window.c
Log:
Patch from chpe at gnome.org to use the gtk_show_about_dialog to avoid an
inconsistency in the GtkAboutDialog code. Fixes 337634.
Modified: gnucash/trunk/ChangeLog
===================================================================
--- gnucash/trunk/ChangeLog 2006-04-07 04:26:59 UTC (rev 13743)
+++ gnucash/trunk/ChangeLog 2006-04-07 15:53:52 UTC (rev 13744)
@@ -1,5 +1,9 @@
2006-04-07 David Hampton <hampton at employees.org>
+ * src/gnome-utils/gnc-main-window.c: Patch from chpe at 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,
Modified: gnucash/trunk/src/gnome-utils/gnc-main-window.c
===================================================================
--- gnucash/trunk/src/gnome-utils/gnc-main-window.c 2006-04-07 04:26:59 UTC (rev 13743)
+++ gnucash/trunk/src/gnome-utils/gnc-main-window.c 2006-04-07 15:53:52 UTC (rev 13744)
@@ -3216,7 +3216,6 @@
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 @@
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 @@
if (documenters) g_strfreev(documenters);
if (authors) g_strfreev(authors);
g_object_unref (logo);
-
- gtk_widget_show(dialog);
}
#else
static void
More information about the gnucash-changes
mailing list