[Xfce4-commits] [xfce/thunar] 01/01: Silence GtkStock for disconnect icon deprecation
noreply at xfce.org
noreply at xfce.org
Wed Jun 6 03:36:45 CEST 2018
This is an automated email from the git hooks/post-receive script.
a n d r e p u s h e d a c o m m i t t o b r a n c h m a s t e r
in repository xfce/thunar.
commit e8ccd6fae59d4b93177786252aa65b8ad4efbe93
Author: Andre Miranda <andreldm at xfce.org>
Date: Tue Jun 5 22:35:29 2018 -0300
Silence GtkStock for disconnect icon deprecation
After the release we decide whether to drop this icon
or add a custom one.
---
thunar/thunar-shortcuts-view.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/thunar/thunar-shortcuts-view.c b/thunar/thunar-shortcuts-view.c
index c570a41..9859c87 100644
--- a/thunar/thunar-shortcuts-view.c
+++ b/thunar/thunar-shortcuts-view.c
@@ -1208,8 +1208,9 @@ G_GNUC_END_IGNORE_DEPRECATIONS
gtk_menu_shell_append (GTK_MENU_SHELL (menu), item);
gtk_widget_show (item);
- image = gtk_image_new_from_stock (GTK_STOCK_DISCONNECT, GTK_ICON_SIZE_MENU);
G_GNUC_BEGIN_IGNORE_DEPRECATIONS
+ /* TODO: Drop this icon or add a custom one as above (shortcut) */
+ image = gtk_image_new_from_stock (GTK_STOCK_DISCONNECT, GTK_ICON_SIZE_MENU);
gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (item), image);
G_GNUC_END_IGNORE_DEPRECATIONS
break;
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Xfce4-commits
mailing list