← Back to team overview

openshot.code team mailing list archive

[Branch ~openshot.code/openshot/main] Rev 623: Fixed a bug which caused the GtkToolbars to not display correctly when using certain GTK themes, ...

 

------------------------------------------------------------
revno: 623
fixes bug: https://launchpad.net/bugs/505578
committer: Jonathan Thomas <Jonathan.Oomph@xxxxxxxxx>
branch nick: openshot
timestamp: Sun 2012-01-29 20:01:16 -0600
message:
  Fixed a bug which caused the GtkToolbars to not display correctly when using certain GTK themes, such as ClearLooksClassic, and other ClearLooks-based themes.
modified:
  openshot/windows/MainGTK.py


--
lp:openshot
https://code.launchpad.net/~openshot.code/openshot/main

Your team OpenShot Code is subscribed to branch lp:openshot.
To unsubscribe from this branch go to https://code.launchpad.net/~openshot.code/openshot/main/+edit-subscription
=== modified file 'openshot/windows/MainGTK.py'
--- openshot/windows/MainGTK.py	2012-01-29 20:29:43 +0000
+++ openshot/windows/MainGTK.py	2012-01-30 02:01:16 +0000
@@ -960,10 +960,6 @@
 		# Set the title of the window
 		self.frmMain.set_title("OpenShot - %s" % (self.project.name))
 		
-		# set icon theme
-		self.project.set_theme(self.settings.general["default_theme"])
-		self.update_icon_theme()
-		
 		#set the project reference
 		self.OSTreeFiles.set_project(self.project)
 		
@@ -976,6 +972,10 @@
 		# get list of files
 		if refresh_files:
 			self.refresh_files()
+			
+		# set icon theme
+		self.project.set_theme(self.settings.general["default_theme"])
+		self.update_icon_theme()
 
 		
 	def refresh_files(self, category=None, filter=None):