[gwget] Set parent window to about dialog.
- From: David Sedeño Fernández <davidsf src gnome org>
- To: svn-commits-list gnome org
- Subject: [gwget] Set parent window to about dialog.
- Date: Sat, 4 Jul 2009 16:36:11 +0000 (UTC)
commit 64db78e03e20afeb7e4d48b2603de80cf2a1ac7c
Author: David Sedeño <david alderia com>
Date: Sat Jul 4 18:13:59 2009 +0200
Set parent window to about dialog.
ChangeLog | 1 +
src/main_window_cb.c | 2 +-
2 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index cec3db0..fb4e578 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,6 @@
2009-07-04 David Sedeño <david alderia com>
+ * src/main_window_cb.c: Set parent window to about dialog.
* data/gwget.ui, src/main_window.c: Set the rows and columns reorderable.
* data/gwget.ui: Set remove download callback.
* src/main_window.c:
diff --git a/src/main_window_cb.c b/src/main_window_cb.c
index de5e96b..0a1af14 100644
--- a/src/main_window_cb.c
+++ b/src/main_window_cb.c
@@ -183,7 +183,7 @@ on_about1_activate(GtkWidget *widget, gpointer data)
pixbuf = gdk_pixbuf_new_from_file (logo_file, NULL);
g_free (logo_file);
- gtk_show_about_dialog (NULL,
+ gtk_show_about_dialog (GTK_WINDOW (gtk_builder_get_object(builder,"main_window")),
"name", _("Gwget"),
"version", VERSION,
"copyright", "Copyright © 2004-2009 David Sedeño Fernández",
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]