Already in share highlight

Bug #317261 reported by Razzloss
2
Affects Status Importance Assigned to Milestone
LinuxDC++
Confirmed
Wishlist
Unassigned

Bug Description

Berlios Feature request: https://developer.berlios.de/feature/?func=detailfeature&feature_id=3887&group_id=2230

Date: 2007-Dec-06 12:14
Sender: kaneelbroodje

One of the two things i can't live without, but unfortunately have to right now without windows again. Is the highlight function that fuldc uses. It colours the field of a directory/file when browsing a users filelist if you already have it in your own share. It is simply a must have, which i hope could be arranged. I'd help if given instructions. :)

Razzloss (razzloss)
Changed in linuxdcpp:
importance: Undecided → Wishlist
status: New → Confirmed
Revision history for this message
endator (endator) wrote :

Feel free to look at AirDC++ for an actual implementation ;)

Revision history for this message
Windkracht8 (windkracht8) wrote :

In ShareBrowser::updateFiles_gui
if (ShareManager::getInstance()->isTTHShared((*it_file)->getTTH()))
tells you if a file is in share, but I've giving up to finding out how to highlight the line

Revision history for this message
Razzloss (razzloss) wrote :

GtkCellRenderer has a "cell-background" property which could be used for highlighting. Problem is what color to use as at minimum it should be configurable and even better if it followed the current theme automagically. Other possibilities are "attributes" and "foreground" properties of GtkCellRendererText.

And in general core functions shouldn't be called inside _gui. So the check whether the file is shared should be done in _client function.

--RZ

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.