This was fixed in
https://gitlab.gnome.org/GNOME/libnotify/commit/b873c61ecc85c1a87c9471046f3d25ecd2446959
included in old revisions

** Changed in: libnotify (Ubuntu)
       Status: New => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to libnotify in Ubuntu.
https://bugs.launchpad.net/bugs/1255591

Title:
  [Feature request] notify-send option to change the "notify-send"  app
  name that appears in all my notifications.

Status in libnotify package in Ubuntu:
  Fix Released

Bug description:
  (I wasn't sure if feature requests counted as bug reports or
  questions.  My apologies if I guessed wrong.  I also apologize if this
  is the wrong place for a patch, but I couldn't find a repo to fork.)

  I use notify-send in a number of shell scripts.  I would like it to be
  able to accurately report which script is sending the notification.
  Instead I'm stuck with "notify-send" as the application responsible
  for creating all the notifications.

  I saw that the string "notify-send" appears exactly once in notify-
  send.c.  So I added a cli option, -l/--app-label, to change it.
  Here's the patch:

  ```
  128a129
  >         static char        *app_label = NULL;
  151a153,154
  >                 {"app-label", 'l', 0, G_OPTION_ARG_STRING, &app_label,
  >                  N_("Specifies the label shown in the notification 
(default: notify-send)"), N_("APP_LABEL")},
  223c226
  <         if (!notify_init ("notify-send"))
  ---
  >         if (!notify_init (app_label != NULL ? app_label : "notify-send"))
  ```

  This is for libnotify-0.7.6 downloaded with apt-get source libnotify.
  I figure the patch is trivial enough that the version probably doesn't
  matter too much.  I'd appreciate it if this functionality could make
  it into libnotify, but I don't care if it's implemented with my patch
  or some other method.

  Thanks!

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libnotify/+bug/1255591/+subscriptions


-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to