diff options
author | David Bordoley <bordoley@msu.edu> | 2003-03-25 04:08:08 +0800 |
---|---|---|
committer | Dave Bordoley <Bordoley@src.gnome.org> | 2003-03-25 04:08:08 +0800 |
commit | 53a85cd93b24a7fd98a7ae205fd9e20a4d54e71a (patch) | |
tree | b4192302efea2200304e148e7ae8345c3dea01da /src/window-commands.c | |
parent | 63b600e23ba36103cc5d28b2314c2d885577bc56 (diff) | |
download | gsoc2013-epiphany-53a85cd93b24a7fd98a7ae205fd9e20a4d54e71a.tar gsoc2013-epiphany-53a85cd93b24a7fd98a7ae205fd9e20a4d54e71a.tar.gz gsoc2013-epiphany-53a85cd93b24a7fd98a7ae205fd9e20a4d54e71a.tar.bz2 gsoc2013-epiphany-53a85cd93b24a7fd98a7ae205fd9e20a4d54e71a.tar.lz gsoc2013-epiphany-53a85cd93b24a7fd98a7ae205fd9e20a4d54e71a.tar.xz gsoc2013-epiphany-53a85cd93b24a7fd98a7ae205fd9e20a4d54e71a.tar.zst gsoc2013-epiphany-53a85cd93b24a7fd98a7ae205fd9e20a4d54e71a.zip |
New epiphany-bookmark-page stock image. I'm not at all attached to this
2003-03-24 David Bordoley <bordoley@msu.edu>
* data/art/epiphany-bookmark-page.png: (New file):
* data/art/Makefile.am:
* lib/ephy-stock-icons.c:
* lib/ephy-stock-icons.h:
New epiphany-bookmark-page stock image. I'm not at all attached to this icon,
if you can make a better one, please do :)
* data/glade/epiphany.glade:
Change button ordering to [clear][cancel][jump to].
* embed/find-dialog.c:
Use GTK_STOCK_FIND for the window border icon.
* embed/print-dialog.c:
Use GTK_STOCK_PRINT for the window border icon.
* src/bookmarks/ephy-new-bookmark.c:
Use EPHY_STOCK_BOOKMARK_PAGE for the window icon.
s/add bookmark/new bookmark for the window title.
* src/bookmarks/ephy-bookmark-properties.c: (set_window_icon),
(update_window_title):
New functions. Dynamically set the property window title base on the
bookmark title. Use the favicon icon if available for the window icon, otherwise use
GTK_STOCK_PROPERTIES.
* src/window-commands.c:
Use GNOME_STOCK_ABOUT for the about window icon.
* src/prefs-dialog.c:
USE GTK_STOCK_PREFERENCES for the window icon.
* src/history-dialog.c:
Use epiphany-history.png for the window border icon.
* src/ephy-window.c:
Use EPHY_STOCK_BOOKMARK_PAGE for the boomark page/link menu items.
Diffstat (limited to 'src/window-commands.c')
-rw-r--r-- | src/window-commands.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/window-commands.c b/src/window-commands.c index 3da431353..2891160a6 100644 --- a/src/window-commands.c +++ b/src/window-commands.c @@ -38,6 +38,7 @@ #include <libgnomevfs/gnome-vfs-utils.h> #include <bonobo/bonobo-i18n.h> #include <libgnomeui/gnome-about.h> +#include <libgnomeui/gnome-stock-icons.h> #include <libgnome/gnome-help.h> #include <gtk/gtkmessagedialog.h> #include <gtk/gtkeditable.h> @@ -673,6 +674,7 @@ window_cmd_help_about (EggAction *action, EphyWindow *window) { static GtkWidget *about = NULL; + GdkPixbuf *icon; static gchar *authors[] = { "Marco Pesenti Gritti <mpeseng@tin.it>", @@ -704,6 +706,14 @@ window_cmd_help_about (EggAction *action, gtk_window_set_transient_for (GTK_WINDOW (about), GTK_WINDOW (window)); + + icon = gtk_widget_render_icon (about, + GNOME_STOCK_ABOUT, + GTK_ICON_SIZE_MENU, + NULL); + gtk_window_set_icon (GTK_WINDOW (about), icon); + g_object_unref(icon); + g_object_add_weak_pointer (G_OBJECT (about), (gpointer *)&about); gtk_widget_show (about); } |