Author Topic: "Add layout" program  (Read 1799 times)

Satoshi

  • Jr. Member
  • **
  • Posts: 44
    • View Profile
"Add layout" program
« on: February 14, 2011, 00:27:20 »
This is my mostly-done layout importer program for gmb.

All you do is run it and select the desired .layout file and it will copy it to the right directory for gmb to see it (~/.config/gmusicbrowser/layouts).

Right now, gmb must be restarted for it to see the new layout file.

The future plan is to integrate it into gmusicbrowser and make use of a "refresh layout list" that squentin is planning.

If you are into testing, you can use an argument to it so that the destination folder is ~/.config/$argument/layouts. $argument defaults to gmusicbrowser if no argument is given.

The code can be seen here: http://paste.pocoo.org/show/337858/

Some screenshots so that you guys know what I mean:

http://ompldr.org/vN2V6eQ
http://ompldr.org/vN2YwMg
http://ompldr.org/vN2YwNA
http://ompldr.org/vN2YwNQ
« Last Edit: February 14, 2011, 07:07:37 by Satoshi »