← Back to team overview

openshot.bugs team mailing list archive

[Bug 440802] Re: Video preview button - pause button visualisation missing

 

Hi Thomas,
May I suggest a quick fix as per v1.4.3alpha1?

in video.py: add:
line 23: 
=import gobject
=from classes import profiles
+from gtk import STOCK_MEDIA_PAUSE
+from gtk import STOCK_MEDIA_PLAY

in pause(), line 337:
=		# pause the video
+		self.main_form.tlbPlay.set_tooltip_text(self.main_form._('Play'))
+		self.main_form.tlbPlay.set_stock_id(STOCK_MEDIA_PLAY)
=		self.isPlaying = False

in play(), line 351:
=		# play the video
+		self.main_form.tlbPlay.set_stock_id(STOCK_MEDIA_PAUSE)
+		self.main_form.tlbPlay.set_tooltip_text(self.main_form._('Pause'))		
=		self.isPlaying = True
=		self.p.set_speed(1)

Regards,

Emmanuel

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

Title:
  Video preview button - pause button visualisation missing

Status in OpenShot Video Editor:
  Confirmed

Bug description:
  1) OS Name & Version:
  Ubuntu 9.04
  2) Version of the OpenShot Build Wizard
  ? updated from official PPA on 2.10.2009
  3) Version of OpenShot (displayed in the terminal when you run OpenShot)
  0.9.42

  Problem description:
  - problem is in "Video Preview" panel - play button is affected - all the time tooltip (displayed on mouse over) is "Play" never "Pause", even if video is being played in Video Preview panel, the same is true for icon used for play button - never is pause button displayed, only play

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