Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/src/sugar/graphics
Commit message (Collapse)AuthorAgeFilesLines
* Window: allow removing the toolbar_boxSascha Silbe2011-02-171-2/+3
| | | | | | | | Allow the toolbar_box to be removed by setting it to None, like is supported for canvas. Signed-off-by: Sascha Silbe <silbe@activitycentral.com> Acked-by: Simon Schampijer <simon@laptop.org>
* XoColor: don't choke if passed the wrong type (SL#1408)Sascha Silbe2010-11-301-0/+4
| | | | | | | | | Color data is stored in the Journal as a JSON dump, so we can get back arbitrary types. XoColor already checks the color string for validity and handles invalid strings gracefully, so it makes sense to enhance this to invalid types as well. Acked-by: Simon Schampijer <simon@schampijer.de>
* CellRendererInvoker._redraw_path(): assure column is definedSascha Silbe2010-11-231-0/+2
| | | | | | | | | | We know that our code is correct and column should always be assigned, but it never hurts to act defensively and guard against bugs in other pieces of the code (or other components like GTK). Reviewed-by: James Cameron <quozl@laptop.org> Acked-by: Simon Schampijer <simon@laptop.org> CC: Aleksey Lim <alsroot@member.fsf.org>
* ToolInvoker._get_alignments: fix missing self parameterSascha Silbe2010-11-231-1/+1
| | | | | | | | | Caught by pylint. I wonder if we need this piece of code as nobody every triggered it. Reviewed-by: James Cameron <quozl@laptop.org> Acked-by: Simon Schampijer <simon@laptop.org> CC: Aleksey Lim <alsroot@member.fsf.org>
* pylint cleanup: initialise all attributes in __init__()Sascha Silbe2010-11-231-0/+1
| | | | | | Reviewed-by: James Cameron <quozl@laptop.org> Acked-by: Simon Schampijer <simon@laptop.org> CC: Aleksey Lim <alsroot@member.fsf.org>
* pylint cleanup: remove unused importsSascha Silbe2010-11-231-2/+0
| | | | | | Reviewed-by: James Cameron <quozl@laptop.org> Acked-by: Simon Schampijer <simon@laptop.org> CC: Aleksey Lim <alsroot@member.fsf.org>
* style cleanup: prefer ' for stringsSascha Silbe2010-11-2310-18/+18
| | | | | | | | | Tomeu prefers ' for strings, so let's use it wherever we don't have a good reason to use ". Reviewed-by: James Cameron <quozl@laptop.org> Acked-by: Simon Schampijer <simon@laptop.org> CC: Aleksey Lim <alsroot@member.fsf.org>
* PEP8 cleanup: fix deprecated raise syntaxSascha Silbe2010-11-231-1/+1
| | | | | | Reviewed-by: James Cameron <quozl@laptop.org> Acked-by: Simon Schampijer <simon@laptop.org> CC: Aleksey Lim <alsroot@member.fsf.org>
* PEP8 cleanup: fix spaces around keyword parametersSascha Silbe2010-11-231-1/+1
| | | | | | Reviewed-by: James Cameron <quozl@laptop.org> Acked-by: Simon Schampijer <simon@laptop.org> CC: Aleksey Lim <alsroot@member.fsf.org>
* PEP8 cleanup: fix inline comment spacingSascha Silbe2010-11-231-1/+2
| | | | | | | | pep8 wants inline comments to be prefixed by at least two spaces. Let's just move them to a separate line as that's easier to read anyway. Acked-by: Simon Schampijer <simon@laptop.org> CC: Aleksey Lim <alsroot@member.fsf.org>
* PEP8 cleanup: fix whitespace around operatorSascha Silbe2010-11-232-3/+3
| | | | | | Reviewed-by: James Cameron <quozl@laptop.org> Acked-by: Simon Schampijer <simon@laptop.org> CC: Aleksey Lim <alsroot@member.fsf.org>
* PEP8 cleanup: don't use has_key()Sascha Silbe2010-11-232-7/+6
| | | | | | | has_key() has been deprecated for quite some time now. Acked-by: Simon Schampijer <simon@laptop.org> CC: Aleksey Lim <alsroot@member.fsf.org>
* PEP8 cleanup: fix number of blank linesSascha Silbe2010-11-232-0/+3
| | | | | | | | Caught by pep8. Reviewed-by: James Cameron <quozl@laptop.org> Acked-by: Simon Schampijer <simon@laptop.org> CC: Aleksey Lim <alsroot@member.fsf.org>
* Add 'cache-palette' property to Invoker #1742Tomeu Vizoso2010-10-142-3/+21
| | | | Meaning that the palette will be cached after it's created.
* Cast floats to ints before calling cairo.ImageSurface() #2291Tomeu Vizoso2010-10-041-4/+6
| | | | Otherwise Python 2.7 will raise an exception.
* Add ErrorAlert inherited from Alertanishmangal20022010-08-101-0/+45
| | | | | | | | | Adds the ErrorAlert class which is an alert inherited from the base Alert class. This is very similar to the ConfirmationAlert class with the difference being that it only displays an 'Ok' button in the Alert popup. Signed-off-by: anishmangal2002 <anishmangal2002@gmail.com>
* Remove unneeded debug logs #1861Simon Schampijer2010-07-072-7/+0
|
* Supplement #1687 by docstringAleksey Lim2010-01-311-0/+21
|
* New color to highlight items while hovering over #1693Aleksey Lim2010-01-311-0/+1
|
* Get pure icon surface w/o creating any widgets #1687Aleksey Lim2010-01-251-0/+7
|
* Fix bold font styleDaniel Drake2009-12-011-1/+1
| | | | Small error in my last commit.
* Apply font configuration from GConf (#1584)Daniel Drake2009-12-011-3/+7
| | | | | Sugar font settings are now stored in GConf. This patch applies them to all users of sugar.style and all standard activities.
* Do not stop processing motion-notify-event #1507Aleksey Lim2009-10-181-1/+1
|
* Do no use random color if metadata color is not valid #1435Aleksey Lim2009-10-011-3/+7
|
* Present windows in non-active process #1423Aleksey Lim2009-09-291-0/+15
|
* Circular dependecy in ToolbarBox #1389Aleksey Lim2009-09-181-6/+6
|
* Circular dependecy in ToolbarBox #1389Aleksey Lim2009-09-181-42/+52
|
* Circular dependecy in ToolbarBox #1389Aleksey Lim2009-09-181-35/+52
|
*