From 501c4357042c915188dc900849e2c595ad4edf8a Mon Sep 17 00:00:00 2001 From: Christian Persch Date: Thu, 20 Oct 2005 13:12:57 +0000 Subject: Remove fullscreen and leave-fullscreen stock icons; they're available in 2005-10-20 Christian Persch * lib/ephy-stock-icons.c: (ephy_stock_icons_init): * lib/ephy-stock-icons.h: * src/ephy-fullscreen-popup.c: (ephy_fullscreen_popup_constructor): * src/ephy-toolbar.c: (ephy_toolbar_constructor): * src/ephy-window.c: Remove fullscreen and leave-fullscreen stock icons; they're available in gtk+ since 2.8. --- src/ephy-fullscreen-popup.c | 3 +-- src/ephy-toolbar.c | 2 +- src/ephy-window.c | 2 +- 3 files changed, 3 insertions(+), 4 deletions(-) (limited to 'src') diff --git a/src/ephy-fullscreen-popup.c b/src/ephy-fullscreen-popup.c index f0f8187c4..aa3608d1c 100644 --- a/src/ephy-fullscreen-popup.c +++ b/src/ephy-fullscreen-popup.c @@ -23,7 +23,6 @@ #include "ephy-fullscreen-popup.h" #include "ephy-spinner.h" -#include "ephy-stock-icons.h" #include "ephy-debug.h" #include @@ -276,7 +275,7 @@ ephy_fullscreen_popup_constructor (GType type, /* exit button */ priv->button = gtk_button_new_with_label (_("Leave Fullscreen")); - icon = gtk_image_new_from_stock (STOCK_LEAVE_FULLSCREEN, GTK_ICON_SIZE_BUTTON); + icon = gtk_image_new_from_stock (GTK_STOCK_LEAVE_FULLSCREEN, GTK_ICON_SIZE_BUTTON); gtk_button_set_image (GTK_BUTTON (priv->button), icon); /* don't show the image! see bug #307818 */ g_signal_connect (priv->button, "clicked", diff --git a/src/ephy-toolbar.c b/src/ephy-toolbar.c index 0d2ef6bbc..3b40c0b9c 100755 --- a/src/ephy-toolbar.c +++ b/src/ephy-toolbar.c @@ -570,7 +570,7 @@ ephy_toolbar_constructor (GType type, priv->sep_item = gtk_separator_tool_item_new (); gtk_toolbar_insert (gtoolbar, priv->sep_item, -1); - priv->exit_button = gtk_tool_button_new_from_stock (STOCK_LEAVE_FULLSCREEN); + priv->exit_button = gtk_tool_button_new_from_stock (GTK_STOCK_LEAVE_FULLSCREEN); gtk_tool_button_set_label (GTK_TOOL_BUTTON (priv->exit_button), _("Leave Fullscreen")); gtk_tool_item_set_is_important (priv->exit_button, TRUE); g_signal_connect (priv->exit_button, "clicked", diff --git a/src/ephy-window.c b/src/ephy-window.c index ceaaa8719..553928d42 100644 --- a/src/ephy-window.c +++ b/src/ephy-window.c @@ -294,7 +294,7 @@ static const GtkToggleActionEntry ephy_menu_toggle_entries [] = { "ViewStatusbar", NULL, N_("St_atusbar"), NULL, N_("Show or hide statusbar"), G_CALLBACK (ephy_window_view_statusbar_cb), TRUE }, - { "ViewFullscreen", STOCK_FULLSCREEN, N_("_Fullscreen"), "F11", + { "ViewFullscreen", GTK_STOCK_FULLSCREEN, N_("_Fullscreen"), "F11", N_("Browse at full screen"), G_CALLBACK (window_cmd_view_fullscreen), FALSE }, { "ViewPopupWindows", EPHY_STOCK_POPUPS, N_("Popup _Windows"), NULL, -- cgit v1.2.3