← Back to team overview

linux-traipu team mailing list archive

[Bug 831762] Re: OpenShot does not have a keyboard shortcut for adding a marker... yet

 

That's work well.
Here the patch for the project.
Thanks a lot.

** Attachment added: "patch_for_add_a_new_shortkey_for_addmarker"
   https://bugs.launchpad.net/openshot/+bug/831762/+attachment/2303395/+files/patch_for_add_a_new_shortkey_for_addmarker

-- 
You received this bug notification because you are a member of UBUNTU -
AL - BR, which is subscribed to OpenShot Video Editor.
https://bugs.launchpad.net/bugs/831762

Title:
  OpenShot does not have a keyboard shortcut for adding a marker... yet

Status in OpenShot Video Editor:
  Confirmed

Bug description:
  I need a keyboard shortcut to add a marker in OpenShot, so here is
  what worked for me:

  Here is what my change looks like in code:

  if self.is_edit_mode == False:
              if keyname == "c":
                  # Cut all tracks at this point (whereever the playhead is)
                  self.cut_at_playhead()
                  return True
             
              if keyname == "m":
                  # Experimental, trying to add a keyboard shortcut for adding a marker
                  self.on_tlbAddMarker_clicked(widget)
                  return True   

  I can verify that this works perfectly on my installation of OpenShot:

  http://clockworkpcblog.blogspot.com/2011/08/i-didnt-think-i-could-
  love-openshot-any.html

  1) Ubuntu 11.04
  2) Installed from PPA
  3) Version 1.3.1

  OpenShot gets better every time I use it :-)

To manage notifications about this bug go to:
https://bugs.launchpad.net/openshot/+bug/831762/+subscriptions


References