summaryrefslogtreecommitdiff
path: root/plugins/gtk+
diff options
context:
space:
mode:
authorJuan Pablo Ugarte <juanpablougarte@gmail.com>2020-07-29 20:09:05 -0300
committerJuan Pablo Ugarte <juanpablougarte@gmail.com>2020-07-29 20:09:53 -0300
commitb0dcd15387744803b2768a8631854007c032647b (patch)
tree1a8897253c60b39a77be57c9351c74f51ccade51 /plugins/gtk+
parent33fa9a707a2c33fdd65c96817755842d1547d378 (diff)
downloadglade-b0dcd15387744803b2768a8631854007c032647b.tar.gz
Use symbolic icon names.
Diffstat (limited to 'plugins/gtk+')
-rw-r--r--plugins/gtk+/glade-accels.c2
-rw-r--r--plugins/gtk+/glade-attributes.c2
-rw-r--r--plugins/gtk+/glade-model-data.c2
-rw-r--r--plugins/gtk+/glade-string-list.c2
-rw-r--r--plugins/gtk+/gtk+.xml90
5 files changed, 49 insertions, 49 deletions
diff --git a/plugins/gtk+/glade-accels.c b/plugins/gtk+/glade-accels.c
index f28c47c4..994e846b 100644
--- a/plugins/gtk+/glade-accels.c
+++ b/plugins/gtk+/glade-accels.c
@@ -599,7 +599,7 @@ glade_eprop_accel_create_input (GladeEditorProperty * eprop)
gtk_editable_set_editable (GTK_EDITABLE (eprop_accel->entry), FALSE);
gtk_entry_set_icon_from_icon_name (GTK_ENTRY (eprop_accel->entry),
GTK_ENTRY_ICON_SECONDARY,
- "gtk-edit");
+ "document-edit-symbolic");
g_signal_connect_swapped (eprop_accel->entry, "icon-release",
G_CALLBACK (glade_eprop_accel_show_dialog), eprop);
diff --git a/plugins/gtk+/glade-attributes.c b/plugins/gtk+/glade-attributes.c
index fe02980c..a3b560ce 100644
--- a/plugins/gtk+/glade-attributes.c
+++ b/plugins/gtk+/glade-attributes.c
@@ -927,7 +927,7 @@ glade_eprop_attrs_view (GladeEditorProperty *eprop)
/* Icon renderer */
renderer = glade_cell_renderer_icon_new ();
- g_object_set (G_OBJECT (renderer), "icon-name", "gtk-edit", NULL);
+ g_object_set (G_OBJECT (renderer), "icon-name", "document-edit-symbolic", NULL);
gtk_tree_view_column_pack_start (column, renderer, FALSE);
gtk_tree_view_column_set_attributes (column, renderer,
"activatable", COLUMN_BUTTON_ACTIVE,
diff --git a/plugins/gtk+/glade-model-data.c b/plugins/gtk+/glade-model-data.c
index 9936f0c0..82788c41 100644
--- a/plugins/gtk+/glade-model-data.c
+++ b/plugins/gtk+/glade-model-data.c
@@ -954,7 +954,7 @@ eprop_model_generate_column (GladeEditorProperty *eprop,
g_object_set (G_OBJECT (icon_renderer),
"activatable", TRUE,
- "icon-name", "gtk-edit",
+ "icon-name", "document-edit-symbolic",
NULL);
gtk_tree_view_column_pack_start (column, icon_renderer, FALSE);
diff --git a/plugins/gtk+/glade-string-list.c b/plugins/gtk+/glade-string-list.c
index 8a50b48b..2dd2e1c5 100644
--- a/plugins/gtk+/glade-string-list.c
+++ b/plugins/gtk+/glade-string-list.c
@@ -708,7 +708,7 @@ glade_eprop_string_list_create_input (GladeEditorProperty *eprop)
/* i18n icon renderer */
renderer = glade_cell_renderer_icon_new ();
- g_object_set (G_OBJECT (renderer), "icon-name", "gtk-edit", NULL);
+ g_object_set (G_OBJECT (renderer), "icon-name", "document-edit-symbolic", NULL);
g_signal_connect (G_OBJECT (renderer), "activate",
G_CALLBACK (i18n_icon_activate), eprop);
diff --git a/plugins/gtk+/gtk+.xml b/plugins/gtk+/gtk+.xml
index 72b30df5..bd194641 100644
--- a/plugins/gtk+/gtk+.xml
+++ b/plugins/gtk+/gtk+.xml
@@ -35,10 +35,10 @@
</signals>
<actions>
- <action id="preview" name="Preview snapshot" stock="system-run" important="True"/>
- <action id="edit_separate" name="Edit Separately" stock="gtk-edit"/>
- <action id="remove_parent" name="Remove Parent" stock="list-remove"/>
- <action id="add_parent" name="Add Parent" stock="list-add">
+ <action id="preview" name="Preview snapshot" stock="system-run-symbolic" important="True"/>
+ <action id="edit_separate" name="Edit Separately" stock="document-edit-symbolic"/>
+ <action id="remove_parent" name="Remove Parent" stock="list-remove-symbolic"/>
+ <action id="add_parent" name="Add Parent" stock="list-add-symbolic">
<action id="alignment" name="Alignment"/>
<action id="viewport" name="Viewport"/>
<action id="eventbox" name="Event Box"/>
@@ -52,8 +52,8 @@
<action id="stack" name="Stack"/>
</action>
<action id="sizegroup_add" name="Add to Size Group"/>
- <action id="clear_properties" name="Clear properties" stock="edit-clear"/>
- <action id="read_documentation" name="Read documentation" stock="glade-devhelp" important="True"/>
+ <action id="clear_properties" name="Clear properties" stock="edit-clear-symbolic"/>
+ <action id="read_documentation" name="Read documentation" stock="system-help-symbolic" important="True"/>
</actions>
<properties>
@@ -660,9 +660,9 @@
<special-child-type>type</special-child-type>
<packing-actions>
- <action id="insert_before" name="Insert Before" stock="list-add"/>
- <action id="insert_after" name="Insert After" stock="list-add"/>
- <action id="remove_slot" name="Remove Slot" stock="list-remove"/>
+ <action id="insert_before" name="Insert Before" stock="list-add-symbolic"/>
+ <action id="insert_after" name="Insert After" stock="list-add-symbolic"/>
+ <action id="remove_slot" name="Remove Slot" stock="list-remove-symbolic"/>
</packing-actions>
<properties>
@@ -1000,7 +1000,7 @@
<special-child-type>submenu</special-child-type>
<actions>
- <action id="launch_editor" name="Edit&#8230;" stock="gtk-edit" important="True"/>
+ <action id="launch_editor" name="Edit&#8230;" stock="document-edit-symbolic" important="True"/>
</actions>
<properties>
<property id="accel-path" since="2.14"/>
@@ -1073,7 +1073,7 @@
<post-create-function>glade_gtk_menu_bar_post_create</post-create-function>
<!-- menubar is a container you can't add placeholders to it -->
<actions>
- <action id="launch_editor" name="Edit&#8230;" stock="gtk-edit" important="True"/>
+ <action id="launch_editor" name="Edit&#8230;" stock="document-edit-symbolic" important="True"/>
</actions>
<properties>
<property id="child-pack-direction">
@@ -1107,7 +1107,7 @@
<write-widget-function>glade_gtk_toolbar_write_widget</write-widget-function>
<actions>
- <action id="launch_editor" name="Edit&#8230;" stock="gtk-edit" important="True"/>
+ <action id="launch_editor" name="Edit&#8230;" stock="document-edit-symbolic" important="True"/>
</actions>
<properties>
<property id="icon-size-set" since="2.10" disabled="True"/>
@@ -1189,7 +1189,7 @@
<action-activate-function>glade_gtk_tool_palette_action_activate</action-activate-function>
<actions>
- <action id="launch_editor" name="Edit&#8230;" stock="gtk-edit" important="True"/>
+ <action id="launch_editor" name="Edit&#8230;" stock="document-edit-symbolic" important="True"/>
</actions>
<properties>
<property id="icon-size-set" disabled="True"/>
@@ -2125,7 +2125,7 @@
<child-get-property-function>glade_gtk_cell_layout_get_child_property</child-get-property-function>
<actions>
- <action id="launch_editor" name="Edit&#8230;" stock="gtk-edit" important="True"/>
+ <action id="launch_editor" name="Edit&#8230;" stock="document-edit-symbolic" important="True"/>
</actions>
<internal-children>
@@ -2354,16 +2354,16 @@
<child-action-activate-function>glade_gtk_table_child_action_activate</child-action-activate-function>
<packing-actions>
- <action id="insert_row" name="Insert Row" stock="list-add">
+ <action id="insert_row" name="Insert Row" stock="list-add-symbolic">
<action id="before" name="Before"/>
<action id="after" name="After"/>
</action>
- <action id="insert_column" name="Insert Column" stock="list-add">
+ <action id="insert_column" name="Insert Column" stock="list-add-symbolic">
<action id="before" name="Before"/>
<action id="after" name="After"/>
</action>
- <action id="remove_row" name="Remove Row" stock="list-remove"/>
- <action id="remove_column" name="Remove Column" stock="list-remove"/>
+ <action id="remove_row" name="Remove Row" stock="list-remove-symbolic"/>
+ <action id="remove_column" name="Remove Column" stock="list-remove-symbolic"/>
</packing-actions>
<properties>
@@ -2406,16 +2406,16 @@
<write-widget-function>glade_gtk_grid_write_widget</write-widget-function>
<packing-actions>
- <action id="insert_row" name="Insert Row" stock="list-add">
+ <action id="insert_row" name="Insert Row" stock="list-add-symbolic">
<action id="before" name="Before"/>
<action id="after" name="After"/>
</action>
- <action id="insert_column" name="Insert Column" stock="list-add">
+ <action id="insert_column" name="Insert Column" stock="list-add-symbolic">
<action id="before" name="Before"/>
<action id="after" name="After"/>
</action>
- <action id="remove_row" name="Remove Row" stock="list-remove"/>
- <action id="remove_column" name="Remove Column" stock="list-remove"/>
+ <action id="remove_row" name="Remove Row" stock="list-remove-symbolic"/>
+ <action id="remove_column" name="Remove Column" stock="list-remove-symbolic"/>
</packing-actions>
<properties>
@@ -2502,9 +2502,9 @@
</signals>
<packing-actions>
- <action id="insert_page_before" name="Insert Page Before" stock="list-add"/>
- <action id="insert_page_after" name="Insert Page After" stock="list-add"/>
- <action id="remove_page" name="Remove Page" stock="list-remove"/>
+ <action id="insert_page_before" name="Insert Page Before" stock="list-add-symbolic"/>
+ <action id="insert_page_after" name="Insert Page After" stock="list-add-symbolic"/>
+ <action id="remove_page" name="Remove Page" stock="list-remove-symbolic"/>
</packing-actions>
<properties>
@@ -2587,10 +2587,10 @@
<property id="pack-type" transfer-on-paste="True" />
</packing-properties>
<packing-actions>
- <action id="remove_slot" name="Remove Slot" stock="gtk-remove"/>
+ <action id="remove_slot" name="Remove Slot" stock="list-remove-symbolic"/>
</packing-actions>
<actions>
- <action id="add_slot" name="Add Slot" stock="gtk-add"/>
+ <action id="add_slot" name="Add Slot" stock="list-add-symbolic"/>
</actions>
</glade-widget-class>
@@ -2606,9 +2606,9 @@
<child-set-property-function>glade_gtk_stack_set_child_property</child-set-property-function>
<verify-function>glade_gtk_stack_verify_property</verify-function>
<packing-actions>
- <action id="insert_page_before" name="Insert Page Before" stock="list-add"/>
- <action id="insert_page_after" name="Insert Page After" stock="list-add"/>
- <action id="remove_page" name="Remove Page" stock="list-remove"/>
+ <action id="insert_page_before" name="Insert Page Before" stock="list-add-symbolic"/>
+ <action id="insert_page_after" name="Insert Page After" stock="list-add-symbolic"/>
+ <action id="remove_page" name="Remove Page" stock="list-remove-symbolic"/>
</packing-actions>
<properties>
<property id="pages" name="Number of pages" save="False" default="1" custom-layout="True">
@@ -2739,12 +2739,12 @@
<special-child-type>type</special-child-type>
<actions>
- <action id="add_row" name="Add Row" stock="list-add" important="True"/>
+ <action id="add_row" name="Add Row" stock="list-add-symbolic" important="True"/>
</actions>
<packing-actions>
- <action id="insert_before" name="Insert Before" stock="list-add"/>
- <action id="insert_after" name="Insert After" stock="list-add"/>
+ <action id="insert_before" name="Insert Before" stock="list-add-symbolic"/>
+ <action id="insert_after" name="Insert After" stock="list-add-symbolic"/>
</packing-actions>
<properties>
@@ -2807,12 +2807,12 @@
<child-get-property-function>glade_gtk_flowbox_get_child_property</child-get-property-function>
<actions>
- <action id="add_child" name="Add Child" stock="list-add" important="True"/>
+ <action id="add_child" name="Add Child" stock="list-add-symbolic" important="True"/>
</actions>
<packing-actions>
- <action id="insert_before" name="Insert Before" stock="list-add"/>
- <action id="insert_after" name="Insert After" stock="list-add"/>
+ <action id="insert_before" name="Insert Before" stock="list-add-symbolic"/>
+ <action id="insert_after" name="Insert After" stock="list-add-symbolic"/>
</packing-actions>
<properties>
@@ -2901,7 +2901,7 @@
<!-- We do not want glade_gtk_container_post_create be executed -->
<post-create-function>empty</post-create-function>
<actions>
- <action id="launch_editor" name="Edit&#8230;" stock="gtk-edit" important="True"/>
+ <action id="launch_editor" name="Edit&#8230;" stock="document-edit-symbolic" important="True"/>
</actions>
<properties>
<property id="accel-group" since="2.14"/>
@@ -3802,7 +3802,7 @@
<action-activate-function>glade_gtk_action_action_activate</action-activate-function>
<create-editable-function>glade_gtk_action_create_editable</create-editable-function>
<actions>
- <action id="launch_editor" name="Edit&#8230;" stock="gtk-edit" important="True"/>
+ <action id="launch_editor" name="Edit&#8230;" stock="document-edit-symbolic" important="True"/>
</actions>
<properties>
@@ -3877,7 +3877,7 @@
<write-child-function>glade_gtk_action_group_write_child</write-child-function>
<action-activate-function>glade_gtk_action_action_activate</action-activate-function>
<actions>
- <action id="launch_editor" name="Edit&#8230;" stock="gtk-edit" important="True"/>
+ <action id="launch_editor" name="Edit&#8230;" stock="document-edit-symbolic" important="True"/>
</actions>
</glade-widget-class>
@@ -3893,7 +3893,7 @@
<child-get-property-function>glade_gtk_cell_layout_get_child_property</child-get-property-function>
<actions>
- <action id="launch_editor" name="Edit&#8230;" stock="gtk-edit" important="True"/>
+ <action id="launch_editor" name="Edit&#8230;" stock="document-edit-symbolic" important="True"/>
</actions>
<signals>
<signal id="no-matches" since="3.14"/>
@@ -3998,7 +3998,7 @@
<action-activate-function>glade_gtk_treeview_action_activate</action-activate-function>
<actions>
- <action id="launch_editor" name="Edit&#8230;" stock="gtk-edit" important="True"/>
+ <action id="launch_editor" name="Edit&#8230;" stock="document-edit-symbolic" important="True"/>
</actions>
<internal-children>
@@ -4068,7 +4068,7 @@
<child-get-property-function>glade_gtk_cell_layout_get_child_property</child-get-property-function>
<actions>
- <action id="launch_editor" name="Edit&#8230;" stock="gtk-edit" important="True"/>
+ <action id="launch_editor" name="Edit&#8230;" stock="document-edit-symbolic" important="True"/>
</actions>
<properties>
@@ -4121,7 +4121,7 @@
<child-get-property-function>glade_gtk_cell_layout_get_child_property</child-get-property-function>
<actions>
- <action id="launch_editor" name="Edit&#8230;" stock="gtk-edit" important="True"/>
+ <action id="launch_editor" name="Edit&#8230;" stock="document-edit-symbolic" important="True"/>
</actions>
<properties>
@@ -4179,7 +4179,7 @@
<action-activate-function>glade_gtk_cell_renderer_action_activate</action-activate-function>
<actions>
- <action id="launch_editor" name="Edit&#8230;" stock="gtk-edit" important="True"/>
+ <action id="launch_editor" name="Edit&#8230;" stock="document-edit-symbolic" important="True"/>
</actions>
<properties>
@@ -5563,7 +5563,7 @@
<special-child-type>tag</special-child-type>
<actions>
- <action id="launch_editor" name="Edit&#8230;" stock="gtk-edit" important="True"/>
+ <action id="launch_editor" name="Edit&#8230;" stock="document-edit-symbolic" important="True"/>
</actions>
</glade-widget-class>