/srv/irclogs.ubuntu.com/2017/04/25/#ubuntu-motu.txt

=== tsimonq2alt is now known as tsimonq2
Unit193fossfreedom: Re: https://launchpadlibrarian.net/316882511/nautilus-dropbox_2015.10.28-1ubuntu2.debdiff I think it'd be cleaner, now and for the future, if 'if ["Unity","Budgie"] in current_env...'08:37
=== cjwatson_ is now known as cjwatson
=== pipedrea1 is now known as pipedream
=== alan_g is now known as alan_g_
fossfreedomUnit193: thanks for the hint.  Thats not a python syntax I'm aware of - it doesnt seem to work for me18:10
fossfreedombetter like this? if any(word in 'Unity Budgie' for word in current_env):18:10
sladenUnit193: fossfreedom: ha.  It'll end up being like the Browser User Agent strings (report everything), or the ACPI OS string (report "Windows")18:34
sladenif current_env in ('Unity', 'Budgie'):18:35
fossfreedomsladen: hmm - tried that ... not working either http://paste.ubuntu.com/24455698/18:41
Unit193sladen: Yeah it'd be much better to actually check for indicator support than to go by desktop.  And indeed it sort of does.18:42
sladenah, it's a list.  sorry18:44
sladenset(['Budgie', 'GNOME']).intersection(('Unity', 'Budgie'))18:44
sladenor stick with the solution you've already debugged :)18:44
fossfreedomthanks sladen18:46

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!