[gimp/icons-wip] icons: Bug 759904
- From: Klaus Staedtler <klausstaedtler src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp/icons-wip] icons: Bug 759904
- Date: Sun, 5 Jun 2016 19:54:05 +0000 (UTC)
commit eaa3513571ce02434bcd279948d91ff0e2cc3d20
Author: klausstaedtler <staedtler-przyborski web de>
Date: Sun Jun 5 21:53:34 2016 +0200
icons: Bug 759904
patch: replace "document-save" by "gimp-save" (or GIMP_STOCK_SAVE) and "document-save-as" by
"gimp-save-as" (or GIMP_STOCK_SAVE_AS)
gimp/plug-ins/gimpressionist/presets.c: gtk_image_new_from_icon_name
("document-save",
gimp/libgimp/gimpexport.c: gtk_image_new_from_icon_name ("document-save",
gimp/app/actions/tool-options-actions.c: { "tool-options-save-preset-menu", "document-save",
gimp/app/actions/vectors-actions.c: { "vectors-export", "document-save",
gimp/app/actions/error-console-actions.c: { "error-console-save-all", "document-save-as",
gimp/app/actions/error-console-actions.c: { "error-console-save-selection", "document-save-as",
gimp/gimp/app/actions/gradient-editor-actions.c: { "gradient-editor-save-left-color", "document-save",
gimp/app/actions/gradient-editor-actions.c: { "gradient-editor-save-right-color", "document-save",
gimp/gimp/app/actions/gradients-actions.c: { "gradients-save-as-pov", "document-save-as",
gimp/gimp/app/widgets/gimptooloptionseditor.c: gimp_editor_add_button (GIMP_EDITOR (editor),
"document-save",
gimp/app/widgets/gimpdevicestatus.c: gimp_editor_add_button (GIMP_EDITOR (status), "document-save",
gimp/app/widgets/gimpsettingsbox.c: "document-save",
gimp/app/widgets/gimpsettingseditor.c: "document-save",
gimp/gimp/app/widgets/gimpdataeditor.c: "document-save",
gimp/app/dialogs/preferences-dialog.c: button = prefs_button_add ("document-save",
gimp/app/dialogs/preferences-dialog.c: button = prefs_button_add ("document-save",
gimp/app/dialogs/preferences-dialog.c: button = prefs_button_add ("document-save",
gimp/app/dialogs/preferences-dialog.c: button = prefs_button_add ("document-save",
app/actions/error-console-actions.c | 4 ++--
app/actions/gradient-editor-actions.c | 4 ++--
app/actions/gradients-actions.c | 2 +-
app/actions/tool-options-actions.c | 2 +-
app/actions/vectors-actions.c | 2 +-
app/dialogs/preferences-dialog.c | 8 ++++----
app/widgets/gimpdataeditor.c | 2 +-
app/widgets/gimpdevicestatus.c | 2 +-
app/widgets/gimpsettingsbox.c | 2 +-
app/widgets/gimpsettingseditor.c | 2 +-
app/widgets/gimptooloptionseditor.c | 2 +-
libgimp/gimpexport.c | 4 ++--
plug-ins/gimpressionist/presets.c | 2 +-
13 files changed, 19 insertions(+), 19 deletions(-)
---
diff --git a/app/actions/error-console-actions.c b/app/actions/error-console-actions.c
index a6bcb96..4446271 100644
--- a/app/actions/error-console-actions.c
+++ b/app/actions/error-console-actions.c
@@ -55,13 +55,13 @@ static const GimpActionEntry error_console_actions[] =
static const GimpEnumActionEntry error_console_save_actions[] =
{
- { "error-console-save-all", "document-save-as",
+ { "error-console-save-all", GIMP_STOCK_SAVE_AS,
NC_("error-console-action", "_Save Error Log to File..."), NULL,
NC_("error-console-action", "Write all error messages to a file"),
FALSE, FALSE,
GIMP_HELP_ERRORS_SAVE },
- { "error-console-save-selection", "document-save-as",
+ { "error-console-save-selection", GIMP_STOCK_SAVE_AS,
NC_("error-console-action", "Save S_election to File..."), NULL,
NC_("error-console-action", "Write the selected error messages to a file"),
TRUE, FALSE,
diff --git a/app/actions/gradient-editor-actions.c b/app/actions/gradient-editor-actions.c
index ea8f97c..1cbfc75 100644
--- a/app/actions/gradient-editor-actions.c
+++ b/app/actions/gradient-editor-actions.c
@@ -50,14 +50,14 @@ static const GimpActionEntry gradient_editor_actions[] =
NC_("gradient-editor-action", "Left Color Type") },
{ "gradient-editor-load-left-color", "document-revert",
NC_("gradient-editor-action", "_Load Left Color From") },
- { "gradient-editor-save-left-color", "document-save",
+ { "gradient-editor-save-left-color", GIMP_STOCK_SAVE,
NC_("gradient-editor-action", "_Save Left Color To") },
{ "gradient-editor-right-color-type", NULL,
NC_("gradient-editor-action", "Right Color Type") },
{ "gradient-editor-load-right-color", "document-revert",
NC_("gradient-editor-action", "Load Right Color Fr_om") },
- { "gradient-editor-save-right-color", "document-save",
+ { "gradient-editor-save-right-color", GIMP_STOCK_SAVE,
NC_("gradient-editor-action", "Sa_ve Right Color To") },
{ "gradient-editor-blending-func", NULL, "blending-function" },
diff --git a/app/actions/gradients-actions.c b/app/actions/gradients-actions.c
index 9f9fd31..04bafdb 100644
--- a/app/actions/gradients-actions.c
+++ b/app/actions/gradients-actions.c
@@ -68,7 +68,7 @@ static const GimpActionEntry gradients_actions[] =
G_CALLBACK (data_show_in_file_manager_cmd_callback),
GIMP_HELP_GRADIENT_SHOW_IN_FILE_MANAGER },
- { "gradients-save-as-pov", "document-save-as",
+ { "gradients-save-as-pov", GIMP_STOCK_SAVE_AS,
NC_("gradients-action", "Save as _POV-Ray..."), NULL,
NC_("gradients-action", "Save gradient as POV-Ray"),
G_CALLBACK (gradients_save_as_pov_ray_cmd_callback),
diff --git a/app/actions/tool-options-actions.c b/app/actions/tool-options-actions.c
index ae39d1a..548d98e 100644
--- a/app/actions/tool-options-actions.c
+++ b/app/actions/tool-options-actions.c
@@ -57,7 +57,7 @@ static const GimpActionEntry tool_options_actions[] =
NC_("tool-options-action", "Tool Options Menu"), NULL, NULL, NULL,
GIMP_HELP_TOOL_OPTIONS_DIALOG },
- { "tool-options-save-preset-menu", "document-save",
+ { "tool-options-save-preset-menu", GIMP_STOCK_SAVE,
NC_("tool-options-action", "_Save Tool Preset"), "", NULL, NULL,
GIMP_HELP_TOOL_OPTIONS_SAVE },
diff --git a/app/actions/vectors-actions.c b/app/actions/vectors-actions.c
index 537f1d6..174083c 100644
--- a/app/actions/vectors-actions.c
+++ b/app/actions/vectors-actions.c
@@ -142,7 +142,7 @@ static const GimpActionEntry vectors_actions[] =
G_CALLBACK (vectors_paste_cmd_callback),
GIMP_HELP_PATH_PASTE },
- { "vectors-export", "document-save",
+ { "vectors-export", GIMP_STOCK_SAVE,
NC_("vectors-action", "E_xport Path..."), "", NULL,
G_CALLBACK (vectors_export_cmd_callback),
GIMP_HELP_PATH_EXPORT },
diff --git a/app/dialogs/preferences-dialog.c b/app/dialogs/preferences-dialog.c
index dbff258..4699367 100644
--- a/app/dialogs/preferences-dialog.c
+++ b/app/dialogs/preferences-dialog.c
@@ -1529,7 +1529,7 @@ prefs_dialog_new (Gimp *gimp,
_("_Save tool options on exit"),
GTK_BOX (vbox2));
- button = prefs_button_add ("document-save",
+ button = prefs_button_add (GIMP_STOCK_SAVE,
_("Save Tool Options _Now"),
GTK_BOX (vbox2));
g_signal_connect (button, "clicked",
@@ -1715,7 +1715,7 @@ prefs_dialog_new (Gimp *gimp,
_("_Save keyboard shortcuts on exit"),
GTK_BOX (vbox2));
- button = prefs_button_add ("document-save",
+ button = prefs_button_add (GIMP_STOCK_SAVE,
_("Save Keyboard Shortcuts _Now"),
GTK_BOX (vbox2));
g_signal_connect (button, "clicked",
@@ -2256,7 +2256,7 @@ prefs_dialog_new (Gimp *gimp,
_("Open windows on the same _monitor they were open before"),
GTK_BOX (vbox2));
- button = prefs_button_add ("document-save",
+ button = prefs_button_add (GIMP_STOCK_SAVE,
_("Save Window Positions _Now"),
GTK_BOX (vbox2));
g_signal_connect (button, "clicked",
@@ -2554,7 +2554,7 @@ prefs_dialog_new (Gimp *gimp,
_("_Save input device settings on exit"),
GTK_BOX (vbox2));
- button = prefs_button_add ("document-save",
+ button = prefs_button_add (GIMP_STOCK_SAVE,
_("Save Input Device Settings _Now"),
GTK_BOX (vbox2));
g_signal_connect (button, "clicked",
diff --git a/app/widgets/gimpdataeditor.c b/app/widgets/gimpdataeditor.c
index a00c048..f1216ce 100644
--- a/app/widgets/gimpdataeditor.c
+++ b/app/widgets/gimpdataeditor.c
@@ -211,7 +211,7 @@ gimp_data_editor_constructed (GObject *object)
editor->save_button =
gimp_editor_add_button (GIMP_EDITOR (editor),
- "document-save",
+ GIMP_STOCK_SAVE,
_("Save"), NULL,
G_CALLBACK (gimp_data_editor_save_clicked),
NULL,
diff --git a/app/widgets/gimpdevicestatus.c b/app/widgets/gimpdevicestatus.c
index ec0f9c7..02f6e64 100644
--- a/app/widgets/gimpdevicestatus.c
+++ b/app/widgets/gimpdevicestatus.c
@@ -135,7 +135,7 @@ gimp_device_status_init (GimpDeviceStatus *status)
gtk_widget_show (status->vbox);
status->save_button =
- gimp_editor_add_button (GIMP_EDITOR (status), "document-save",
+ gimp_editor_add_button (GIMP_EDITOR (status), GIMP_STOCK_SAVE,
_("Save device status"), NULL,
G_CALLBACK (gimp_device_status_save_clicked),
NULL,
diff --git a/app/widgets/gimpsettingsbox.c b/app/widgets/gimpsettingsbox.c
index b37c44e..d91a5e5 100644
--- a/app/widgets/gimpsettingsbox.c
+++ b/app/widgets/gimpsettingsbox.c
@@ -321,7 +321,7 @@ gimp_settings_box_constructed (GObject *object)
private->export_item =
gimp_settings_box_menu_item_add (box,
- "document-save",
+ GIMP_STOCK_SAVE,
_("_Export Settings to File..."),
G_CALLBACK (gimp_settings_box_export_activate));
diff --git a/app/widgets/gimpsettingseditor.c b/app/widgets/gimpsettingseditor.c
index 94b9d29..30595aa 100644
--- a/app/widgets/gimpsettingseditor.c
+++ b/app/widgets/gimpsettingseditor.c
@@ -199,7 +199,7 @@ gimp_settings_editor_constructed (GObject *object)
private->export_button =
gimp_editor_add_button (GIMP_EDITOR (tree_view),
- "document-save",
+ GIMP_STOCK_SAVE,
_("Export the selected settings to a file"),
NULL,
G_CALLBACK (gimp_settings_editor_export_clicked),
diff --git a/app/widgets/gimptooloptionseditor.c b/app/widgets/gimptooloptionseditor.c
index da37b2d..19fb081 100644
--- a/app/widgets/gimptooloptionseditor.c
+++ b/app/widgets/gimptooloptionseditor.c
@@ -198,7 +198,7 @@ gimp_tool_options_editor_constructed (GObject *object)
G_OBJECT_CLASS (parent_class)->constructed (object);
editor->p->save_button =
- gimp_editor_add_button (GIMP_EDITOR (editor), "document-save",
+ gimp_editor_add_button (GIMP_EDITOR (editor), GIMP_STOCK_SAVE,
_("Save Tool Preset..."),
GIMP_HELP_TOOL_OPTIONS_SAVE,
G_CALLBACK (gimp_tool_options_editor_save_clicked),
diff --git a/libgimp/gimpexport.c b/libgimp/gimpexport.c
index 8634812..2fc31e3 100644
--- a/libgimp/gimpexport.c
+++ b/libgimp/gimpexport.c
@@ -451,7 +451,7 @@ confirm_save_dialog (const gchar *message,
gtk_container_set_border_width (GTK_CONTAINER (hbox), 12);
gtk_widget_show (hbox);
- image = gtk_image_new_from_icon_name ("dialog-warning",
+ image = gtk_image_new_from_icon_name ("gimp-warning",
GTK_ICON_SIZE_DIALOG);
gtk_misc_set_alignment (GTK_MISC (image), 0.5, 0.0);
gtk_box_pack_start (GTK_BOX (hbox), image, FALSE, FALSE, 0);
@@ -1012,7 +1012,7 @@ gimp_export_dialog_new (const gchar *format_name,
button = gimp_dialog_add_button (GIMP_DIALOG (dialog),
_("_Export"), GTK_RESPONSE_OK);
gtk_button_set_image (GTK_BUTTON (button),
- gtk_image_new_from_icon_name ("document-save",
+ gtk_image_new_from_icon_name ("gimp-save",
GTK_ICON_SIZE_BUTTON));
gtk_dialog_set_alternative_button_order (GTK_DIALOG (dialog),
diff --git a/plug-ins/gimpressionist/presets.c b/plug-ins/gimpressionist/presets.c
index 0d4685b..052a8c2 100644
--- a/plug-ins/gimpressionist/presets.c
+++ b/plug-ins/gimpressionist/presets.c
@@ -1029,7 +1029,7 @@ create_presetpage (GtkNotebook *notebook)
presetsavebutton = tmpw = gtk_button_new_with_label ( _("Save Current..."));
gtk_button_set_image (GTK_BUTTON (presetsavebutton),
- gtk_image_new_from_icon_name ("document-save",
+ gtk_image_new_from_icon_name ("gimp-save",
GTK_ICON_SIZE_BUTTON));
gtk_box_pack_start (GTK_BOX (box1), tmpw, FALSE, FALSE, 0);
gtk_widget_show (tmpw);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]