camino-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Camino-devel] camino/src/client ClientInterface.cpp


From: Pascal Audoux
Subject: [Camino-devel] camino/src/client ClientInterface.cpp
Date: Sat, 01 Feb 2003 06:13:58 -0500

CVSROOT:        /cvsroot/camino
Module name:    camino
Changes by:     Pascal Audoux <address@hidden>  03/02/01 06:13:58

Modified files:
        src/client     : ClientInterface.cpp 

Log message:
        Implement change of theme

Patches:
Index: camino/src/client/ClientInterface.cpp
diff -u camino/src/client/ClientInterface.cpp:1.15 
camino/src/client/ClientInterface.cpp:1.16
--- camino/src/client/ClientInterface.cpp:1.15  Sat Feb  1 03:20:12 2003
+++ camino/src/client/ClientInterface.cpp       Sat Feb  1 06:13:58 2003
@@ -2,7 +2,7 @@
 **
 ** Camino
 **
-** Version : $Id: ClientInterface.cpp,v 1.15 2003/02/01 08:20:12 Audoux Exp $
+** Version : $Id: ClientInterface.cpp,v 1.16 2003/02/01 11:13:58 Audoux Exp $
 **
 ** Author(s) : Philippe Fremy, Pascal Audoux
 ** Creation : 15/01/2003
@@ -59,7 +59,7 @@
        initActions();
        initMenuBar();
        initStatusBar();
-       theme.init();
+       theme.init( "classic" );
 
        _game = new Game( this );
        setCentralWidget( _game );
@@ -241,9 +241,9 @@
 void ClientInterface::chooseTheme()
 {
        DialogTheme themeDlg;
-       themeDlg.setTheme( "" );
+       themeDlg.setTheme( theme.getName() );
        if( themeDlg.exec() ) {
-               themeDlg.getTheme();
+               theme.init( themeDlg.getTheme() );
        }
 }
 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]