[Owncloud] [Patch] Easing ownCloud client theming

Thomas Müller thomas.mueller at tmit.eu
Thu Jul 25 11:12:01 UTC 2013


Hey,

thanks a lot!

Can I ask you to submit this on github?
https://github.com/owncloud/mirall

Best would be a pull request.

Thanks,

Tom


Am Mittwoch, dem 24.07.2013 um 16:21 schrieb Denis Fondras:
> Hello all,
> 
> Here is a small patch to ease ownCloud client theming.
> The ${OEM_THEME_DIR} directory should contain every elements of a 
> specific theme. To ease compilation, I suggest we add a few lines to 
> "mirall/src/CMakeLists.txt" so cmake can add the new theme files to the 
> project.
> 
> Regards,
> Denis
> 
> --- CMakeLists.txt.orig	2013-07-24 15:51:50.780636898 +0200
> +++ CMakeLists.txt	2013-07-24 16:12:27.194952205 +0200
> @@ -91,6 +91,12 @@
>       mirall/progressdispatcher.h
>   )
> 
> +if ( IS_DIRECTORY ${OEM_THEME_DIR} AND EXISTS 
> ${OEM_THEME_DIR}/${THEME_CLASS}.h AND EXISTS 
> ${OEM_THEME_DIR}/${THEME_CLASS}.cpp)
> +    list(APPEND libsync_HEADERS ${OEM_THEME_DIR}/${THEME_CLASS}.h)
> +    list(APPEND libsync_SRCS ${OEM_THEME_DIR}/${THEME_CLASS}.cpp)
> +endif()
> +
>   IF( INOTIFY_FOUND )
>       set(libsync_SRCS ${libsync_SRCS} mirall/inotify.cpp)
>       set(libsync_SRCS ${libsync_SRCS} mirall/folderwatcher_inotify.cpp)
> 
> _______________________________________________
> Owncloud mailing list
> Owncloud at kde.org
> https://mail.kde.org/mailman/listinfo/owncloud



More information about the Owncloud mailing list