Theme selector

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Theme selector

Jesus McCloud
i created some copypasta, for switching gtk themes, but i didn't think
of backing it up before doing an opkg update & upgrade
it was integrated into shr-settings, but an awful copypasta, so i dont
think it is a pity it got lost.

looked something like this:
http://scap.linuxtogo.org/files/fabd8b2c04907dc4bcde968f9d03c47c.png
if someone is interested i can re-copy-and-paste it tomorrow and post it
here.

good night

_______________________________________________
Shr-devel mailing list
[hidden email]
http://lists.projects.openmoko.org/mailman/listinfo/shr-devel
Reply | Threaded
Open this post in threaded view
|

Re: Theme selector

Sebastian Krzyszkowiak
Can you copy-and-paste from Profile module too, and use hoversel
instead of many buttons? It makes sense with ringtone selector, which
opens new window, but it doesn't for module, cause there can be many
modules at one page (window).

_______________________________________________
Shr-devel mailing list
[hidden email]
http://lists.projects.openmoko.org/mailman/listinfo/shr-devel
Reply | Threaded
Open this post in threaded view
|

Re: Theme selector

Jesus McCloud
Johny Tenfinger schrieb:
> Can you copy-and-paste from Profile module too, and use hoversel
> instead of many buttons? It makes sense with ringtone selector, which
> opens new window, but it doesn't for module, cause there can be many
> modules at one page (window).
>  
good point. but am am sorry i can not. i've never touched python nor elm
except for the theme selector test. i mean i unterstand the program
flow. python isn't the major problem, elementary is.
 a theme selector only requires one line / two lines of code that
actually perform the theme switch. shellscript executing the command for
switching the theme is one line. i wouldn't go that far to say a
retarded monkey can do it, but the tast of swithing to another theme has
nothing to do with programming. i havo no idea how the toolkit works so
i've been runnign into a brick wall for the last 30 minutes...
besides... someone who knows python-elementary can do it in 5 minutes.

* list folders in /usr/share/themes and get their names
* when selecting a theme write

include "/usr/share/themes/<<<folder_name>>>/gtk-2.0/gtkrc"

into /home/root/.gtkrc-2.0

* and we're done
long story short
i think you know as well as i do that the only real task to do is
writing a nice gui. i am not (yet) capable of doing this.

_______________________________________________
Shr-devel mailing list
[hidden email]
http://lists.projects.openmoko.org/mailman/listinfo/shr-devel