Opened 12 years ago

Closed 11 years ago

#2129 closed Enhancement (invalid)

Gnome enhancement: emblems

Reported by: Redge Owned by: charles
Priority: Low Milestone: None Set
Component: GTK+ Client Version: 1.61
Severity: Normal Keywords: patch-needed emblems gnome nautilus
Cc:

Description

In Gnome, it is possible to apply emblems to pictographs in nautilus. I apply 'downloading' emblems to files transmission is downloading but which are not yet complete. Perhaps an idea for a transmission feature? The 'downloading' emblem is available by default in Gnome: perhaps transmission could be made to automatically apply it.

Attachments (1)

screenshot.png (49.0 KB) - added by Redge 12 years ago.
screenshot of applied emblems

Download all attachments as: .zip

Change History (12)

Changed 12 years ago by Redge

screenshot of applied emblems

comment:1 Changed 12 years ago by charles

  • Keywords needinfo added

Redge: what is the gtk/glib API for doing this? googling for "emblem site:library.gnome.org" didn't turn up anything useful that I could find.

comment:2 Changed 12 years ago by Redge

I didn't know for certain what the API was, so I took a look at the source of another OS app that uses emblems: Dropbox's nautilus integration.

Source is available at https://www.getdropbox.com/downloading?os=lnx

They seem to call nautilus_file_info_add_emblem, which is listed at

http://library.gnome.org/devel/libnautilus-extension/stable/libnautilus-extension-nautilus-file-info.html#nautilus-file-info-add-emblem

though I couldn't find any kind of documentation there. Some documentation that mentions emblems is at

https://taschenorakel.de/svn/repos/bulldozer/tags/release-0.1.0/documentation/NautilusExtensions.html#id2428688

and more is to be found by Googling nautilus_file_info_add_emblem.

If you want to install your own emblems, that is not mentioned in these resources, but I assume you should just copy your emblem png to a preset directory. To be sure you'd have to take a look through the dropbox-nautilus install scripts.

comment:3 Changed 12 years ago by charles

Redge: thanks for the links! That's much more than I found :)

I'm a little concerned about this requiring a link to libnautilus, though. Currently the deepest we go into extra requirements is dbus and gtk... is there any way to do this through dbus?

comment:4 Changed 12 years ago by charles

(quick thought) or possibly does nautilus have a command-line tool that can be invoked to add/remove emblems from a file?

comment:5 Changed 12 years ago by Redge

Unfortunately that's more than I know about the subject. I suggest inquiring at a nautilus development resource such as a mailing list or IRC channel, since the official documentation seems to be a bit scarce.

comment:6 Changed 12 years ago by charles

Looks like a dbus interface for this may be available by this fall:

http://www.nabble.com/SOC:-Nautilus-DBus-interface-td22554796.html

comment:7 follow-up: Changed 12 years ago by charles

  • Keywords patch-needed added; needinfo removed

This sounds like a nice-to-have feature, but of limited use -- it's only good for the subset of users who (1) use nautilus (2) to look at torrent folders (3) while downloading.

So this ticket is going to go into the patch-needed pile, which roughly means that I don't think enough users (including me) would use this feature, but I agree with it in principle, so if someone feels the itch strongly enough to code up a clean patch, I'll likely use it.

In this case, I strongly request the clean patch go through the proposed DBus interface that may appear this fall. The idea of requiring Transmission against libnautilusextensions sounds like Library Dependency Hell to me.

comment:8 in reply to: ↑ 7 Changed 12 years ago by Redge

Replying to charles:

This sounds like a nice-to-have feature, but of limited use -- it's only good for the subset of users who (1) use nautilus (2) to look at torrent folders (3) while downloading.

Don't underestimate the size of this group: Gnome+Nautilus+Transmission is a standard for many Linux distributions including popular Ubuntu. Also, the emblems would stay on until completion, even if Transmission is pauzed/closed.

But I agree this not exactly a necessity, I'd file it under would-be-nice.

Anyway, thanks for considering.

comment:9 Changed 12 years ago by charles

Also this ticket overlaps quite a bit with #629, but isn't really a duplicate per se...

comment:10 Changed 11 years ago by sim

(spam deleted)

Last edited 11 years ago by charles (previous) (diff)

comment:11 Changed 11 years ago by charles

  • Resolution set to invalid
  • Status changed from new to closed

There's been no news on this from Nautilus in the last year. It doesn't appear that emblem management is going to be available via DBus anytime soon.

Since there's no mechanism for doing this without adding another library dependency to Transmission, and since the ".part" suffix in #629 accomplishes most of what this ticket set out to do anyway, I'm going to close out this ticket.

Note: See TracTickets for help on using tickets.