[Xfce4-commits] [xfce/exo] 01/01: Drop non-standard gnome-fs-bookmark and gnome-mime-application-x-executable icons

noreply at xfce.org noreply at xfce.org
Mon Jul 3 02:14:56 CEST 2017


This is an automated email from the git hooks/post-receive script.

b   l   u   e   s   a   b   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/exo.

commit 24a27170604dba7c9e518ce6d0884bb0b5fe819b
Author: Sean Davis <smd.seandavis at gmail.com>
Date:   Sun Jul 2 20:14:49 2017 -0400

    Drop non-standard gnome-fs-bookmark and gnome-mime-application-x-executable icons
---
 exo-desktop-item-edit/main.c    | 2 +-
 exo-helper/exo-helper-chooser.c | 4 ----
 2 files changed, 1 insertion(+), 5 deletions(-)

diff --git a/exo-desktop-item-edit/main.c b/exo-desktop-item-edit/main.c
index 5e3eb06..54581f7 100644
--- a/exo-desktop-item-edit/main.c
+++ b/exo-desktop-item-edit/main.c
@@ -246,7 +246,7 @@ main (int argc, char **argv)
       if (exo_str_is_equal (opt_type, G_KEY_FILE_DESKTOP_TYPE_LINK))
         {
           g_key_file_set_value (key_file, G_KEY_FILE_DESKTOP_GROUP,
-                                G_KEY_FILE_DESKTOP_KEY_ICON, STR_FB (opt_icon, "gnome-fs-bookmark"));
+                                G_KEY_FILE_DESKTOP_KEY_ICON, STR_FB (opt_icon, "bookmark-new"));
           g_key_file_set_value (key_file, G_KEY_FILE_DESKTOP_GROUP,
                                 G_KEY_FILE_DESKTOP_KEY_URL, STR_FB (opt_url, ""));
 
diff --git a/exo-helper/exo-helper-chooser.c b/exo-helper/exo-helper-chooser.c
index 1c8d50c..1f339d0 100644
--- a/exo-helper/exo-helper-chooser.c
+++ b/exo-helper/exo-helper-chooser.c
@@ -276,10 +276,6 @@ exo_helper_chooser_update (ExoHelperChooser *chooser)
       if (G_UNLIKELY (icon == NULL))
         icon = gtk_icon_theme_load_icon (icon_theme, "application-x-executable", icon_size, 0, NULL);
 
-      /* fallback to gnome-mime-application-x-executable */
-      if (G_UNLIKELY (icon == NULL))
-        icon = gtk_icon_theme_load_icon (icon_theme, "gnome-mime-application-x-executable", icon_size, 0, NULL);
-
       /* setup the icon for the chooser image */
       gtk_image_set_from_pixbuf (GTK_IMAGE (chooser->image), icon);
       if (G_LIKELY (icon != NULL))

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Xfce4-commits mailing list