Well, it’s a bit late for a weekly update that it should be rather called decadly update. But well, better than nothing!
WIP: Safety flag
I’m still working on safety-flag, which is mentioned in my introduction post and 2nd saturday post. Not much have changed, but now an interface for safety flag is going to be merged into
libxfce4util. Also, this flag will now only be used for .desktop files, rather than every executables.
Also, the UI part of this project also got its MR page (Thunar !121). Several discussion later (startig from here), we decided to put checkbox for safety flag on Property->Launcher. Because flicking trusted flag on should also trigger executable flag on, it would be preferrable to show it visually. Thus toggle button for executable flag would also be on Launcher tab. So this would be how it will look like:
Related: libxfce4ui !42 (42 is a nice number!)
While I was working on safety flag, I got distracted by the boilerplates used on several XFCE projects, which was a direct copy of
thunar_gtk_label_set_a11y_relation(). To use this function across XFCE projects, I ported this to
xfce_gtk_label_set_a11y_relation(). Doesn’t it feel good when duplicate codes are replaced with a proper function?