[gthumb] use a 128x128 icon in the about dialog



commit 6f2233fc7708e84cf4aca54db32fd9341bca8ad8
Author: Paolo Bacchilega <paobac src gnome org>
Date:   Sun Aug 15 12:48:26 2010 +0200

    use a 128x128 icon in the about dialog

 gthumb/gth-browser-actions-callbacks.c |   10 +++++++++-
 1 files changed, 9 insertions(+), 1 deletions(-)
---
diff --git a/gthumb/gth-browser-actions-callbacks.c b/gthumb/gth-browser-actions-callbacks.c
index f045764..17fc608 100644
--- a/gthumb/gth-browser-actions-callbacks.c
+++ b/gthumb/gth-browser-actions-callbacks.c
@@ -378,12 +378,19 @@ gth_browser_activate_action_help_about (GtkAction *action,
 		N_("You should have received a copy of the GNU General Public License "
 		"along with gthumb.  If not, see http://www.gnu.org/licenses/.";)
 	};
+	GdkPixbuf *logo;
 
 	license_text = g_strconcat (_(license[0]), "\n\n",
 				    _(license[1]), "\n\n",
 				    _(license[2]),
 				    NULL);
 
+	logo = gtk_icon_theme_load_icon (gtk_icon_theme_get_for_screen (gtk_widget_get_screen (GTK_WIDGET (window))),
+					 "gthumb",
+					 128,
+					 0,
+					 NULL);
+
 	gtk_show_about_dialog (GTK_WINDOW (window),
 			       "version", VERSION,
 			       "copyright", "Copyright \xc2\xa9 2001-2010 Free Software Foundation, Inc.",
@@ -391,12 +398,13 @@ gth_browser_activate_action_help_about (GtkAction *action,
 			       "authors", authors,
 			       "documenters", documenters,
 			       "translator-credits", _("translator_credits"),
-			       "logo-icon-name", "gthumb",
 			       "license", license_text,
 			       "wrap-license", TRUE,
 			       "website", "http://live.gnome.org/gthumb";,
+			       "logo", logo,
 			       NULL);
 
+	_g_object_unref (logo);
 	g_free (license_text);
 }
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]