Commit b79e7544 authored by klausstaedtler's avatar klausstaedtler Committed by Jehan

icons: Bug 759904

add
gimp-open

patch: replace "document-open" by "gimp-open" (or GIMP_STOCK_OPEN)

gimp/plug-ins/imagemap/imap_browse.c:   icon = gtk_image_new_from_icon_name ("document-open", GTK_ICON_SIZE_BUTTON);
gimp/libgimpwidgets/gimpfileentry.c:  image = gtk_image_new_from_icon_name ("document-open", GTK_ICON_SIZE_BUTTON);
gimp/app/actions/text-editor-actions.c:  { "text-editor-load", "document-open",
gimp/app/actions/vectors-actions.c:  { "vectors-import", "document-open",
gimp/app/actions/patterns-actions.c:  { "patterns-open-as-image", "document-open",
gimp/app/actions/documents-actions.c:  { "documents-open", "document-open",
gimp/app/actions/brushes-actions.c:  { "brushes-open-as-image", "document-open",
gimp/app/actions/text-tool-actions.c:  { "text-tool-load", "document-open",
gimp/app/actions/file-actions.c:      entries[i].icon_name      = "document-open";
gimp/app/widgets/gimpsettingsbox.c:                                     "document-open",
gimp/app/widgets/gimpsettingseditor.c:                            "document-open",

patch
gimpicons.c
gimpicons.h
parent 0ae2422c
......@@ -43,7 +43,7 @@ static const GimpActionEntry brushes_actions[] =
NC_("brushes-action", "Brushes Menu"), NULL, NULL, NULL,
GIMP_HELP_BRUSH_DIALOG },
{ "brushes-open-as-image", "document-open",
{ "brushes-open-as-image", GIMP_STOCK_OPEN,
NC_("brushes-action", "_Open Brush as Image"), NULL,
NC_("brushes-action", "Open brush as image"),
G_CALLBACK (data_open_as_image_cmd_callback),
......
......@@ -42,7 +42,7 @@ static const GimpActionEntry documents_actions[] =
NC_("documents-action", "Documents Menu"), NULL, NULL, NULL,
GIMP_HELP_DOCUMENT_DIALOG },
{ "documents-open", "document-open",
{ "documents-open", GIMP_STOCK_OPEN,
NC_("documents-action", "_Open Image"), NULL,
NC_("documents-action", "Open the selected entry"),
G_CALLBACK (documents_open_cmd_callback),
......
......@@ -198,7 +198,7 @@ file_actions_setup (GimpActionGroup *group)
{
entries[i].name = g_strdup_printf ("file-open-recent-%02d",
i + 1);
entries[i].icon_name = "document-open";
entries[i].icon_name = "gimp-open";
entries[i].label = entries[i].name;
entries[i].tooltip = NULL;
entries[i].value = i;
......
......@@ -43,7 +43,7 @@ static const GimpActionEntry patterns_actions[] =
NC_("patterns-action", "Patterns Menu"), NULL, NULL, NULL,
GIMP_HELP_PATTERN_DIALOG },
{ "patterns-open-as-image", "document-open",
{ "patterns-open-as-image", GIMP_STOCK_OPEN,
NC_("patterns-action", "_Open Pattern as Image"), NULL,
NC_("patterns-action", "Open this pattern as an image"),
G_CALLBACK (data_open_as_image_cmd_callback),
......
......@@ -40,7 +40,7 @@ static const GimpActionEntry text_editor_actions[] =
"Text Editor Toolbar", NULL, NULL, NULL,
GIMP_HELP_TEXT_EDITOR_DIALOG },
{ "text-editor-load", "document-open",
{ "text-editor-load", GIMP_STOCK_OPEN,
NC_("text-editor-action", "Open"), NULL,
NC_("text-editor-action", "Load text from file"),
G_CALLBACK (text_editor_load_cmd_callback),
......
......@@ -74,7 +74,7 @@ static const GimpActionEntry text_tool_actions[] =
G_CALLBACK (text_tool_delete_cmd_callback),
NULL },
{ "text-tool-load", "document-open",
{ "text-tool-load", GIMP_STOCK_OPEN,
NC_("text-tool-action", "_Open text file..."), NULL, NULL,
G_CALLBACK (text_tool_load_cmd_callback),
NULL },
......
......@@ -147,7 +147,7 @@ static const GimpActionEntry vectors_actions[] =
G_CALLBACK (vectors_export_cmd_callback),
GIMP_HELP_PATH_EXPORT },
{ "vectors-import", "document-open",
{ "vectors-import", GIMP_STOCK_OPEN,
NC_("vectors-action", "I_mport Path..."), "", NULL,
G_CALLBACK (vectors_import_cmd_callback),
GIMP_HELP_PATH_IMPORT }
......
......@@ -315,7 +315,7 @@ gimp_settings_box_constructed (GObject *object)
private->import_item =
gimp_settings_box_menu_item_add (box,
"document-open",
GIMP_STOCK_OPEN,
_("_Import Settings from File..."),
G_CALLBACK (gimp_settings_box_import_activate));
......
......@@ -190,7 +190,7 @@ gimp_settings_editor_constructed (GObject *object)
private->import_button =
gimp_editor_add_button (GIMP_EDITOR (tree_view),
"document-open",
GIMP_STOCK_OPEN,
_("Import settings from a file"),
NULL,
G_CALLBACK (gimp_settings_editor_import_clicked),
......
This diff is collapsed.
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
id="svg7384"
height="16"
width="16"
version="1.1"
inkscape:version="0.92pre1 unknown"
sodipodi:docname="gimp-open.svg"
viewBox="0 0 16 16">
<defs
id="defs10" />
<sodipodi:namedview
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1"
objecttolerance="10"
gridtolerance="10"
guidetolerance="10"
inkscape:pageopacity="0"
inkscape:pageshadow="2"
inkscape:window-width="1920"
inkscape:window-height="1016"
inkscape:document-units="px"
id="namedview8"
showgrid="true"
inkscape:zoom="27.78125"
inkscape:cx="8"
inkscape:cy="8.9538808"
inkscape:window-x="0"
inkscape:window-y="27"
inkscape:window-maximized="1"
inkscape:current-layer="svg7384">
<inkscape:grid
type="xygrid"
id="grid4233" />
</sodipodi:namedview>
<metadata
id="metadata90">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
<dc:title>Gnome Symbolic Icon Theme</dc:title>
</cc:Work>
</rdf:RDF>
</metadata>
<title
id="title9167">Gnome Symbolic Icon Theme</title>
<g
id="layer12"
transform="matrix(1,0,0,0.99995334,-160,-645.96911)">
<path
id="rect3845-5-8"
style="fill:#bebebe"
d="m 160.53,651 c -0.28913,0 -0.53125,0.2421 -0.53125,0.5313 v 9.9375 c 0,0.2985 0.23264,0.5312 0.53125,0.5312 h 13.812 c 0.2986,0 0.53125,-0.2326 0.53125,-0.5312 l 1.125,-4.9159 c 0,-0.2891 -0.24212,-0.5312 -0.53125,-0.5312 h -11.594 l -0.875,3.4783 c 0,0.277 -0.223,0.5 -0.5,0.5 -0.277,0 -0.5,-0.223 -0.5,-0.5 v -4.9966 c 0,-0.277 0.223,-0.5 0.5,-0.5 h 0.46615 V 651 Z"
inkscape:connector-curvature="0" />
<path
id="path1234-3"
style="color:#000000;text-indent:0;text-transform:none;fill:#bebebe"
d="m 164.81,645.99963 c -0.4584,0.0875 -0.82072,0.5334 -0.8125,1 v 7 H 165 v -7.00033 h 4.9975 v 4.00019 H 174 v 3.00014 h 0.9975 v -3.4375 c 0.006,-0.2641 -0.0976,-0.529 -0.28125,-0.7188 l -3.5625,-3.5624 c -0.18978,-0.1837 -0.45469,-0.28737 -0.71875,-0.28125 h -5.4375 c -0.0312,-10e-4 -0.0625,-10e-4 -0.0937,0 -0.0312,-10e-4 -0.0625,-10e-4 -0.0937,0 z"
inkscape:connector-curvature="0"
sodipodi:nodetypes="cccccccccccccccccc" />
</g>
</svg>
......@@ -109,6 +109,7 @@ scalable_images = \
scalable/gimp-move-to-screen.svg \
scalable/gimp-navigation.svg \
scalable/gimp-next.svg \
scalable/gimp-open.svg \
scalable/gimp-paste-as-new.svg \
scalable/gimp-paste-into.svg \
scalable/gimp-path.svg \
......@@ -522,6 +523,7 @@ icons16_images = \
16/gimp-move-to-screen.png \
16/gimp-navigation.png \
16/gimp-next.png \
16/gimp-open.png \
16/gimp-paste-as-new.png \
16/gimp-paste-into.png \
16/gimp-path-delete.png \
......
......@@ -153,7 +153,7 @@ gimp_file_entry_init (GimpFileEntry *entry)
gtk_box_pack_end (GTK_BOX (entry), entry->browse_button, FALSE, FALSE, 0);
gtk_widget_show (entry->browse_button);
image = gtk_image_new_from_icon_name ("document-open", GTK_ICON_SIZE_BUTTON);
image = gtk_image_new_from_icon_name ("gimp-open", GTK_ICON_SIZE_BUTTON);
gtk_container_add (GTK_CONTAINER (entry->browse_button), image);
gtk_widget_show (image);
......
......@@ -69,6 +69,7 @@ static const GtkStockItem gimp_stock_items[] =
{ GIMP_STOCK_VISIBLE, N_("Visible"), 0, 0, LIBGIMP_DOMAIN },
{ GIMP_STOCK_NEXT, N_("Ne_xt"), 0, 0, LIBGIMP_DOMAIN },
{ GIMP_STOCK_PREVIOUS, N_("Pre_vious"), 0, 0, LIBGIMP_DOMAIN },
{ GIMP_STOCK_OPEN, N_("_Open"), 0, 0, LIBGIMP_DOMAIN },
{ GIMP_STOCK_SAVE, N_("_Save"), 0, 0, LIBGIMP_DOMAIN },
{ GIMP_STOCK_SAVE_AS, N_("Save as"), 0, 0, LIBGIMP_DOMAIN },
{ GIMP_STOCK_CANCEL, N_("_Cancel"), 0, 0, LIBGIMP_DOMAIN },
......
......@@ -44,6 +44,7 @@ G_BEGIN_DECLS
#define GIMP_STOCK_VISIBLE "gimp-visible"
#define GIMP_STOCK_NEXT "gimp-next"
#define GIMP_STOCK_PREVIOUS "gimp-previous"
#define GIMP_STOCK_OPEN "gimp-open"
#define GIMP_STOCK_SAVE "gimp-save"
#define GIMP_STOCK_SAVE_AS "gimp-save-as"
#define GIMP_STOCK_CANCEL "gimp-cancel"
......
......@@ -140,7 +140,7 @@ browse_widget_new (const gchar *name)
gtk_widget_show (browse->file);
browse->button = button = gtk_button_new ();
icon = gtk_image_new_from_icon_name ("document-open", GTK_ICON_SIZE_BUTTON);
icon = gtk_image_new_from_icon_name ("gimp-open", GTK_ICON_SIZE_BUTTON);
gtk_container_add (GTK_CONTAINER (button), icon);
gtk_widget_show (icon);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment