diff options
author | Christian Persch <chpe@cvs.gnome.org> | 2003-12-14 06:04:03 +0800 |
---|---|---|
committer | Christian Persch <chpe@src.gnome.org> | 2003-12-14 06:04:03 +0800 |
commit | 0dfeadba7950238d8f31b8a7fd1135e014d133b3 (patch) | |
tree | e456e492e9714ef9e2ee89ce8972295ae3aabfe4 | |
parent | 28d91fc5baa0120da19eb59513c9118898ee2396 (diff) | |
download | gsoc2013-epiphany-0dfeadba7950238d8f31b8a7fd1135e014d133b3.tar.gz gsoc2013-epiphany-0dfeadba7950238d8f31b8a7fd1135e014d133b3.tar.zst gsoc2013-epiphany-0dfeadba7950238d8f31b8a7fd1135e014d133b3.zip |
Use stock icon for print setup.
2003-12-13 Christian Persch <chpe@cvs.gnome.org>
* embed/print-dialog.c: (ephy_print_setup_dialog_new):
* lib/ephy-stock-icons.c: (ephy_stock_icons_init):
* lib/ephy-stock-icons.h:
* src/ephy-window.c:
Use stock icon for print setup.
-rw-r--r-- | ChangeLog | 9 | ||||
-rwxr-xr-x | embed/print-dialog.c | 3 | ||||
-rw-r--r-- | lib/ephy-stock-icons.c | 3 | ||||
-rw-r--r-- | lib/ephy-stock-icons.h | 1 | ||||
-rw-r--r-- | src/ephy-window.c | 2 |
5 files changed, 15 insertions, 3 deletions
@@ -1,5 +1,14 @@ 2003-12-13 Christian Persch <chpe@cvs.gnome.org> + * embed/print-dialog.c: (ephy_print_setup_dialog_new): + * lib/ephy-stock-icons.c: (ephy_stock_icons_init): + * lib/ephy-stock-icons.h: + * src/ephy-window.c: + + Use stock icon for print setup. + +2003-12-13 Christian Persch <chpe@cvs.gnome.org> + * lib/widgets/ephy-spinner.c: (ephy_spinner_init): Use g_signal_connect_object so the signal isn't emitted for a dead diff --git a/embed/print-dialog.c b/embed/print-dialog.c index 89306f732..0f90947c1 100755 --- a/embed/print-dialog.c +++ b/embed/print-dialog.c @@ -22,6 +22,7 @@ #include "print-dialog.h" #include "ephy-embed-dialog.h" #include "ephy-file-chooser.h" +#include "ephy-stock-icons.h" #include "eel-gconf-extensions.h" #include "ephy-debug.h" @@ -348,7 +349,7 @@ ephy_print_setup_dialog_new (void) window = ephy_dialog_get_control (dialog, setup_props[SETUP_WINDOW_PROP].id); icon = gtk_widget_render_icon (window, - GTK_STOCK_PROPERTIES, + STOCK_PRINT_SETUP, GTK_ICON_SIZE_MENU, "print_setup_dialog"); gtk_window_set_icon (GTK_WINDOW (window), icon); diff --git a/lib/ephy-stock-icons.c b/lib/ephy-stock-icons.c index b88a49788..21d4b170c 100644 --- a/lib/ephy-stock-icons.c +++ b/lib/ephy-stock-icons.c @@ -40,7 +40,8 @@ ephy_stock_icons_init (void) STOCK_FULLSCREEN, STOCK_VIEW_SOURCE, STOCK_SEND_MAIL, - STOCK_ADD_BOOKMARK + STOCK_ADD_BOOKMARK, + STOCK_PRINT_SETUP }; static const char *items[] = diff --git a/lib/ephy-stock-icons.h b/lib/ephy-stock-icons.h index baac2b0c5..dcf01e279 100644 --- a/lib/ephy-stock-icons.h +++ b/lib/ephy-stock-icons.h @@ -35,6 +35,7 @@ G_BEGIN_DECLS #define STOCK_VIEW_SOURCE "stock_view-html-source" #define STOCK_SEND_MAIL "stock_mail_send" #define STOCK_ADD_BOOKMARK "stock_add-bookmark" +#define STOCK_PRINT_SETUP "stock_print-setup" void ephy_stock_icons_init (void); diff --git a/src/ephy-window.c b/src/ephy-window.c index f4054ffb3..1a9289150 100644 --- a/src/ephy-window.c +++ b/src/ephy-window.c @@ -92,7 +92,7 @@ static GtkActionEntry ephy_menu_entries [] = { { "FileSaveAs", GTK_STOCK_SAVE_AS, N_("Save _As..."), "<shift><control>S", N_("Save the current page"), G_CALLBACK (window_cmd_file_save_as) }, - { "FilePrintSetup", NULL, N_("Print Set_up..."), NULL, + { "FilePrintSetup", STOCK_PRINT_SETUP, N_("Print Set_up..."), NULL, N_("Setup the page settings for printing"), G_CALLBACK (window_cmd_file_print_setup) }, { "FilePrintPreview", GTK_STOCK_PRINT_PREVIEW, N_("Print Pre_view"),"<control><shift>P", |