Modify

Opened 16 years ago

Last modified 13 years ago

#3801 new enhancement

[Patch] Add project name to growl titles

Reported by: Stefan Eissing Owned by: Emmanuel Blot
Priority: normal Component: GrowlPlugin
Severity: normal Keywords:
Cc: Trac Release: 0.11

Description

I am working on several trac projects and started using the growl plugin. Very nice.

The one feature I immediately hacked was adding the projects name to the notification. I just introduced a private _title(...) method which prepends the project name from the environment. I attached a diff.

Attachments (2)

pname.patch (10.2 KB) - added by Stefan Eissing 16 years ago.
diff file of changes done to notifier.py
project-name.diff (5.3 KB) - added by Carsten Fechtmann 16 years ago.
svn diff of the patch given by icing

Download all attachments as: .zip

Change History (4)

Changed 16 years ago by Stefan Eissing

Attachment: pname.patch added

diff file of changes done to notifier.py

Changed 16 years ago by Carsten Fechtmann

Attachment: project-name.diff added

svn diff of the patch given by icing

comment:1 Changed 16 years ago by Carsten Fechtmann

diff file above seems to be of a different format, adding one with the same changes (Thanks, icing! Just what I had been thinking about doing myself, but not having the time for it) that should work (and hopefully displays also in trac / diff ;-)

patch works for me (python 2.5 & trac 0.11)

comment:3 Changed 15 years ago by Ryan J Ollos

Summary: Add project name to growl titles[Patch] Add project name to growl titles

Modify Ticket

Change Properties
Set your email in Preferences
Action
as new The owner will remain Emmanuel Blot.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.