← Back to team overview

linuxdcpp-team team mailing list archive

[Bug 730594] Re: Libnotify > 0.4 does not have 'notify_notification_new_with_status_icon' function

 

Sorry, of course this is in 'linux/mainwindow.cc' file

** Description changed:

  Consider checking libnotify version and if it's > 0.4, then use
  'notify_notification_new(title.c_str(), body.c_str(),
  gtk_status_icon_get_icon_name(statusIcon));' instead of 'notification =
  notify_notification_new_with_status_icon(title.c_str(), body.c_str(),
- g_get_prgname(), statusIcon);' on line 482
+ g_get_prgname(), statusIcon);' on line 482 of 'linux/mainwindow.cc'

-- 
You received this bug notification because you are a member of LinuxDC++
Team, which is subscribed to LinuxDC++.
https://bugs.launchpad.net/bugs/730594

Title:
  Libnotify > 0.4 does not have
  'notify_notification_new_with_status_icon' function

Status in Linux DC++:
  New

Bug description:
  Consider checking libnotify version and if it's > 0.4, then use
  'notify_notification_new(title.c_str(), body.c_str(),
  gtk_status_icon_get_icon_name(statusIcon));' instead of 'notification
  = notify_notification_new_with_status_icon(title.c_str(),
  body.c_str(), g_get_prgname(), statusIcon);' on line 482 of
  'linux/mainwindow.cc'



References