aboutsummaryrefslogtreecommitdiffstats
path: root/src/window-commands.c
diff options
context:
space:
mode:
authorXan Lopez <xan@src.gnome.org>2003-04-27 05:56:59 +0800
committerXan Lopez <xan@src.gnome.org>2003-04-27 05:56:59 +0800
commit9605e12bd4a9238f989e6f1c662781b848555cac (patch)
tree7118681f00f21504dd05224e566382991359fe3b /src/window-commands.c
parent2441e42e4d988862eb7112d2c6dd00ec790d8285 (diff)
downloadgsoc2013-epiphany-9605e12bd4a9238f989e6f1c662781b848555cac.tar
gsoc2013-epiphany-9605e12bd4a9238f989e6f1c662781b848555cac.tar.gz
gsoc2013-epiphany-9605e12bd4a9238f989e6f1c662781b848555cac.tar.bz2
gsoc2013-epiphany-9605e12bd4a9238f989e6f1c662781b848555cac.tar.lz
gsoc2013-epiphany-9605e12bd4a9238f989e6f1c662781b848555cac.tar.xz
gsoc2013-epiphany-9605e12bd4a9238f989e6f1c662781b848555cac.tar.zst
gsoc2013-epiphany-9605e12bd4a9238f989e6f1c662781b848555cac.zip
Use epiphany logo in about window.
Use epiphany logo in about window.
Diffstat (limited to 'src/window-commands.c')
-rw-r--r--src/window-commands.c12
1 files changed, 11 insertions, 1 deletions
diff --git a/src/window-commands.c b/src/window-commands.c
index 032ce0775..04eb2bebb 100644
--- a/src/window-commands.c
+++ b/src/window-commands.c
@@ -48,6 +48,7 @@
#include <libgnomeui/gnome-about.h>
#include <libgnomeui/gnome-stock-icons.h>
#include <libgnome/gnome-help.h>
+#include <libgnome/gnome-program.h>
#include <gtk/gtkmessagedialog.h>
#include <gtk/gtkeditable.h>
@@ -711,6 +712,8 @@ window_cmd_help_about (EggAction *action,
{
static GtkWidget *about = NULL;
GdkPixbuf *icon;
+ const char *icon_path;
+ GdkPixbuf *logo;
static gchar *authors[] = {
"Marco Pesenti Gritti <mpeseng@tin.it>",
@@ -732,6 +735,11 @@ window_cmd_help_about (EggAction *action,
return;
}
+ icon_path = gnome_program_locate_file (NULL, GNOME_FILE_DOMAIN_APP_PIXMAP,
+ "epiphany.png", TRUE, NULL);
+ logo = gdk_pixbuf_new_from_file (icon_path, NULL);
+ g_return_if_fail (logo != NULL);
+
about = gnome_about_new(
"Epiphany", VERSION,
"Copyright \xc2\xa9 2002-2003 Marco Pesenti Gritti",
@@ -739,7 +747,9 @@ window_cmd_help_about (EggAction *action,
(const char **)authors,
(const char **)documenters,
strcmp (translator_credits, "translator_credits") != 0 ? translator_credits : NULL,
- NULL);
+ logo);
+
+ g_object_unref (logo);
gtk_window_set_transient_for (GTK_WINDOW (about),
GTK_WINDOW (window));