@@ -159,7 +159,7 @@ def do_copy_theme(fontSize, copy_all=False):
159159 os .system ("cp '%s/%s' '%s/.%s'" % (CONFIG_THEME_DIR , sfile , HOME , sfile ))
160160 os .system ("sed -i s/_X-FONTSIZE-X_/%i/ '%s/.%s'" % (fontSize , HOME , sfile ))
161161
162- os .system ('gconftool-2 -t str -s /apps/metacity/general/theme "KXStudio"' )
162+ # os.system('gconftool-2 -t str -s /apps/metacity/general/theme "KXStudio"')
163163 os .system ('gconftool-2 -t str -s /apps/metacity/general/button_layout "close,minimize,maximize:menu"' )
164164 os .system ('gconftool-2 -t str -s /apps/metacity/general/titlebar_font "DejaVu Sans Bold %i"' % fontSize )
165165 os .system ('gconftool-2 -t str -s /apps/nautilus/preferences/desktop_font "DejaVu Sans %i"' % fontSize )
@@ -313,13 +313,6 @@ def __init__(self, firstRun, parent=None):
313313 if firstRun :
314314 self .label_7 .setVisible (False )
315315
316- # TODO
317- self .label_5 .setEnabled (False )
318- self .label_5 .setVisible (False )
319- self .cb_style .setEnabled (False )
320- self .cb_style .setVisible (False )
321- # Update your theme to one of the KXStudio defaults.<br/>You can choose the <b>classic dark and flat</b> or a new <b>light green unity-like</b> style.
322-
323316 QTimer .singleShot (0 , self .disableNext )
324317
325318 def checkNext (self , clicked ):
@@ -335,9 +328,8 @@ def enableNext(self):
335328 self .button (QWizard .NextButton ).setEnabled (True )
336329
337330 def showScreenshot (self ):
338- styleIndex = self .cb_style .currentIndex ()
339331 box = QMessageBox (self )
340- box .setIconPixmap (QPixmap (os .path .join (PWD , "icons" , "screenshot-green.png" if styleIndex != 0 else "screenshot- black.png" )))
332+ box .setIconPixmap (QPixmap (os .path .join (PWD , "icons" , "screenshot-black.png" )))
341333 box .setWindowTitle (self .tr ("Welcome to KXStudio - Screenshot" ))
342334 box .exec_ ()
343335
0 commit comments