summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormonsta <[email protected]>2016-01-20 11:42:54 +0300
committermonsta <[email protected]>2016-01-20 12:11:31 +0300
commit6e47412b9cff37f1446f0b1f4a388e126dc73c78 (patch)
treecbd7e63899331de1c894b6d4775236a8ceef0ba2
parentbc0ff5afa554f358ec2b395673bd1a915536eeb1 (diff)
downloadmate-terminal-6e47412b9cff37f1446f0b1f4a388e126dc73c78.tar.bz2
mate-terminal-6e47412b9cff37f1446f0b1f4a388e126dc73c78.tar.xz
use icon names instead of stock items in both GTK+ builds
-rw-r--r--src/profile-editor.c4
-rw-r--r--src/terminal-tab-label.c2
2 files changed, 3 insertions, 3 deletions
diff --git a/src/profile-editor.c b/src/profile-editor.c
index e89daff..873dd11 100644
--- a/src/profile-editor.c
+++ b/src/profile-editor.c
@@ -501,13 +501,13 @@ custom_command_entry_changed_cb (GtkEntry *entry)
if (g_shell_parse_argv (command, NULL, NULL, &error))
{
- gtk_entry_set_icon_from_stock (entry, GTK_PACK_END, NULL);
+ gtk_entry_set_icon_from_icon_name (entry, GTK_PACK_END, NULL);
}
else
{
char *tooltip;
- gtk_entry_set_icon_from_stock (entry, GTK_PACK_END, GTK_STOCK_DIALOG_WARNING);
+ gtk_entry_set_icon_from_icon_name (entry, GTK_PACK_END, "dialog-warning");
tooltip = g_strdup_printf (_("Error parsing command: %s"), error->message);
gtk_entry_set_icon_tooltip_text (entry, GTK_PACK_END, tooltip);
diff --git a/src/terminal-tab-label.c b/src/terminal-tab-label.c
index 84745c3..930429a 100644
--- a/src/terminal-tab-label.c
+++ b/src/terminal-tab-label.c
@@ -156,7 +156,7 @@ terminal_tab_label_constructor (GType type,
gtk_widget_set_name (close_button, "mate-terminal-tab-close-button");
gtk_widget_set_tooltip_text (close_button, _("Close tab"));
- image = gtk_image_new_from_stock (GTK_STOCK_CLOSE, GTK_ICON_SIZE_MENU);
+ image = gtk_image_new_from_icon_name ("window-close", GTK_ICON_SIZE_MENU);
gtk_container_add (GTK_CONTAINER (close_button), image);
gtk_box_pack_end (GTK_BOX (hbox), close_button, FALSE, FALSE, 0);