Results 1 to 2 of 2

Thread: How to implement a patch

  1. #1
    Join Date
    Sep 2008
    Location
    Palm Harbor, FL
    Beans
    430
    Distro
    Ubuntu 10.04 Lucid Lynx

    How to implement a patch

    Can someone please help me to figure out how to implement a patch for notify-osd? I have the patch, but I'm not sure what to do with it.

    https://bugs.launchpad.net/ubuntu/+s...08/comments/37

    Here is the patch.

    You need to kill notify-osd and start the new one from the new source code.

    notify-send does all the right thing by sending all the data through dbus. On the other hand, notify-osd doesn't respect the "timeout" value sent by notify-send and instead uses the default values.

    notify-send sends "-1" to denote "default timeout", when "-t" option is "NOT" given. Otherwise, the user specified timeout value is sent. So, what I do is use the default timeout values when "-1" is sent and the user specified value otherwise.

    I'm not an active developer. So, my fixes might be broken. Please use it with caution
    I uploaded the patch as a .txt file type, however the original file is a .patch file type.
    Attached Files Attached Files
    My Ubuntu Blog
    My Android Blog

  2. #2
    Join Date
    Sep 2008
    Location
    Palm Harbor, FL
    Beans
    430
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: How to implement a patch

    Bump. Please?
    My Ubuntu Blog
    My Android Blog

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •