ibar: Changed the key which is used to store IBar Icons.
authorMarcel Hollerbach <marcel-hollerbach@t-online.de>
Fri, 21 Nov 2014 19:12:46 +0000 (20:12 +0100)
committerMarcel Hollerbach <marcel-hollerbach@t-online.de>
Tue, 25 Nov 2014 15:18:06 +0000 (16:18 +0100)
Summary:
Changed the key to orig_path, cause this is used to decided if something
is a duplicated entry in e_orders or not.

Reviewers: zmike

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D1684

src/modules/ibar/e_mod_main.c

index e583658..b0b67a8 100644 (file)
@@ -150,7 +150,7 @@ static inline const char *
 _desktop_name_get(const Efreet_Desktop *desktop)
 {
    if (!desktop) return NULL;
-   return desktop->orig_path ?: desktop->name;
+   return desktop->orig_path; //allways return the orig_path
 }
 
 static IBar_Order *