Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/cardlist.py
Commit message (Collapse)AuthorAgeFilesLines
* Set right color in empty cardlist backgroundGonzalo Odiard2014-07-171-2/+2
|
* Solve the problems saving games with images or soundsGonzalo Odiard2014-07-171-19/+0
| | | | | | Moved the logic to copy the files to the temporary directories to tthe model. This change allow saving images or sounds in games based on art4apps possible.
* SvgCard use image_paths properties instead of pixbufsGonzalo Odiard2014-07-171-65/+47
| | | | | | Now we set a image_path, and the card create the pixbuf as needed, setting the right size, and storing the image file name, solving errors saving the files when the game is edited.
* Use logging instead of loggerGonzalo Odiard2014-07-161-1/+0
|
* Assign border_color to selected pair in the cardlist instead of backgroundGonzalo Odiard2014-07-161-9/+14
|
* Improve sizes and spacing on edition screenGonzalo Odiard2014-07-161-10/+9
|
* Move Remove pair functionality from cardlist to cretecardpanelGonzalo Odiard2014-07-151-25/+4
|
* Start reorganization of edition screenGonzalo Odiard2014-07-151-10/+10
| | | | | | | | The edition is done at the top of the screen, and the card list is at the bottom and horizontal now. A single button to remove pairs replace the remove icon in every pair. This patch don't implement the remove pair functionality.
* Remove theme.pyGonzalo Odiard2014-07-141-4/+3
| | | | | | | | | | | The package had only common definitions. In some cases, the variables was not used at all, other were used in only one place. Other could be replaced by constants on sugar3.style The variables were moved to the package when are used. Now the constanst are idependient on the resolution as the constants defined on style.
* Fix add a image to a cardGonzalo Odiard2014-07-141-2/+5
|
* Remove unused align parameter in SvgCardGonzalo Odiard2014-07-141-2/+2
|
* Remove the use of the opacity propertyGonzalo Odiard2014-07-141-4/+2
|
* Replace the use of a svg file to draw the cardsGonzalo Odiard2014-07-141-6/+6
| | | | | | A SVG file was used to draw the card border. This patch replace it by cairo primitives, with the objective of create a flip animation next.
* Fix error adding pair introduced with the art4apps gamesGonzalo Odiard2014-02-111-1/+1
| | | | Signed-off-by: Gonzalo Odiard <godiard@sugarlabs.org>
* Create games with art4apps resourcesGonzalo Odiard2014-01-061-16/+33
| | | | | | This commit use only images. Signed-off-by: Gonzalo Odiard <godiard@sugarlabs.org>
* Fix remove of cards (pending of port)Gonzalo Odiard2014-01-031-2/+2
|
* Pyflakes fixesGonzalo Odiard2014-01-031-3/+0
|
* Pep8 fixes in cardlist.pyGonzalo Odiard2014-01-031-46/+47
|
* Merge branch 'gtk3'Gonzalo Odiard2014-01-031-35/+53
|\ | | | | | | | | Conflicts: cardlist.py
| * When a new pair is added to the game, display itGonzalo Odiard2014-01-031-7/+10
| | | | | | | | Signed-off-by: Gonzalo Odiard <gonzalo@laptop.org>
| * Port fixes in cardlist.pyGonzalo Odiard2013-12-311-5/+3
| | | | | | | | Signed-off-by: Ignacio Rodriguez <ignacio@sugarlabs.org>
| * pack_start/pack_end: we have to pass all arguments now with the dynamic bindingsSimon Schampijer2013-02-011-2/+3
| |
| * More gobject and gdk import fixupsSimon Schampijer2013-01-311-4/+6
| |
| * Convert the sugar imports to sugar3Simon Schampijer2013-01-311-2/+2
| |
| * Fixup of the leftovers from the convert scriptSimon Schampijer2013-01-311-9/+12
| | | | | | | | | | | | | | | | - add missing Gdk imports - do not use GObject.GObject.__init__(self) when we have a Gtk object - correct Gdk, GObject, Rsvg and GdkPixbuf imports - add missing Gtk.Alignment arguments
| * Running pygi-convert.sh as a first step to port to GTK+ 3Simon Schampijer2013-01-311-25/+25
| |
* | Revert "When add a pair of cards go to the end of the list"Gonzalo Odiard2014-01-031-4/+0
| | | | | | | | This reverts commit 527fc9c9994e752b6100fc0de0ebd53ebd376342.
* | When add a pair of cards go to the end of the listGonzalo Odiard2013-06-141-0/+4
| | | | | | | | Signed-off-by: Gonzalo Odiard <gonzalo@laptop.org>
* | Use a VTray in the list of card to allow the use with touchGonzalo Odiard2013-06-141-19/+8
|/ | | | | | | As the activity is not ported to Gtk3, dinamic scrolling is not available, using a VTray is a temporary solution. Signed-off-by: Gonzalo Odiard <gonzalo@laptop.org>
* Add combos to enable the user to change the font used in the cards. v2Gonzalo Odiard2012-04-171-6/+25
| | | | | | | | | | | | This work is based in the contributions of Flavio Danesse <fdanesse@activitycentral.com> and Ariel Calzada <ariel.calzada@gmail.com> The fonts are saved in the game file. v2: Solve error in add-pair, and initialization of card font in the CardEditor Signed-of-by: Gonzalo Odiard <gonzalo@laptop.org>
* Reload the cardlist when the game is changed - SL #3137Gonzalo Odiard2011-09-291-0/+6
| | | | Signed-off-by: Gonzalo Odiard <gonzalo@laptop.org>
*