[Xfce4-commits] <thunar:jannis/new-shortcuts-pane> Fix a typo that would lead to not adding new shortcuts.

Jannis Pohlmann noreply at xfce.org
Fri Dec 9 19:32:01 CET 2011


Updating branch refs/heads/jannis/new-shortcuts-pane
         to e53fec6e8cc0133278b7a2a9628ef0bed22e5451 (commit)
       from f6f91378b09c350752caa2cf2454f5b506fa3b28 (commit)

commit e53fec6e8cc0133278b7a2a9628ef0bed22e5451
Author: Jannis Pohlmann <jannis.pohlmann at codethink.co.uk>
Date:   Fri Dec 9 19:20:54 2011 +0100

    Fix a typo that would lead to not adding new shortcuts.

 thunar/thunar-shortcuts-view.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/thunar/thunar-shortcuts-view.c b/thunar/thunar-shortcuts-view.c
index eae6082..6990072 100644
--- a/thunar/thunar-shortcuts-view.c
+++ b/thunar/thunar-shortcuts-view.c
@@ -806,7 +806,7 @@ thunar_shortcuts_view_mount_added (ThunarShortcutsView *view,
       /* skip gphoto2 mounts as those are always associated with a volume,
        * only add a new shortcut if we have none for the mount point yet */
       if (!g_file_has_uri_scheme (location, "gphoto2") 
-          && thunar_shortcuts_view_has_location (view, location))
+          && !thunar_shortcuts_view_has_location (view, location))
         {
           /* create an eject icon */
           eject_icon = g_themed_icon_new ("media-eject");


More information about the Xfce4-commits mailing list