Features/GTK3/Porting/GetBooks: Difference between revisions

Humitos (talk | contribs)
Humitos (talk | contribs)
Line 18: Line 18:
I [http://lists.sugarlabs.org/archive/sugar-devel/2012-June/037996.html ask to the Sugar Developers mailing list] about how to do this and they told me that I should change the ''bundle_id''. In fact, we have to change the '''bundle_id''' and the '''name''' from the ''activity/activity.info'' file. I used:
I [http://lists.sugarlabs.org/archive/sugar-devel/2012-June/037996.html ask to the Sugar Developers mailing list] about how to do this and they told me that I should change the ''bundle_id''. In fact, we have to change the '''bundle_id''' and the '''name''' from the ''activity/activity.info'' file. I used:


  name = Get Books Git
  name = Get Books Gtk3
  bundle_id = git.GetBooksActivity
  bundle_id = git.GetBooksActivity
After this, you should run the ''build'' and ''dev'' setup commands:
cd get-books
python setup.py dev
python setup.py build
Now, you will see two Get Books activities: one called just "Get Books" and another one called "Get Books Gtk3".


== Script to list all the enumeration ==
== Script to list all the enumeration ==