Changeset 5181
- Timestamp:
- Mar 2, 2008, 4:14:46 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gtk/notify.c
r5126 r5181 8 8 * the Transmission project. 9 9 * 10 * $Id :$10 * $Id$ 11 11 */ 12 12 … … 56 56 { 57 57 const tr_info * info = tr_torrent_info( tor ); 58 char * buf = g_strdup_printf( "%s was downloaded", info->name ); 59 NotifyNotification * n = notify_notification_new( "Torrent Complete", buf, "transmission", NULL ); 58 NotifyNotification * n = notify_notification_new( "Torrent Complete", info->name, "transmission", NULL ); 60 59 61 60 if (info->fileCount == 1) … … 65 64 NOTIFY_ACTION_CALLBACK(notifyCallback), tor, NULL ); 66 65 notify_notification_show( n, NULL ); 67 68 g_free( buf );69 66 } 70 67
Note: See TracChangeset
for help on using the changeset viewer.