Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/src/jarabe/journal/listmodel.py
Commit message (Collapse)AuthorAgeFilesLines
* refactoring based on lasted commits upstreamWalter Bender2013-06-091-8/+11
|
* Journal: initial portManuel Quiñones2012-09-071-24/+31
| | | | | | | | | | | | | | | | | | | - pack_start: we have to pass all arguments now with the dynamic bindings - Gtk.widget_get_default_direction() -> Gtk.Widget.get_default_direction() - window.window -> window.get_window() - ListModel: on_* -> do_* and fix up the arguments and return values Gtk.TREE_MODEL_ITERS_PERSIST, Gtk.TREE_MODEL_LIST_ONLY -> Gtk.TreeModelFlags.ITERS_PERSIST, Gtk.TreeModelFlags.LIST_ONLY - replace Pango.PIXELS(width) and use Pango.Layout get_pixel_size - Gtk.TreeViewColumn: get_cell_renderers -> get_cells - Gio.volume_monitor_get() -> Gio.VolumeMonitor.get() - Volume BaseButton: fixup drag_dest_set - Gtk.Alignment: pass all required arguments - Gio.content_type_guess: pass all required arguments as named parameters - MimeRegistry: fix issue introduced by the automatic conversion Signed-off-by: Manuel Quiñones <manuq@laptop.org> Acked-by: Simon Schampijer <simon@laptop.org>
* Fixups for the sugar.* imports to sugar3.* imports conversionSimon Schampijer2012-09-071-2/+2
| | | | | | | | This fixes the obvious errors introduced by the conversion in 07605b94deeb632819536382839aa78db8f491bb Signed-off-by: Simon Schampijer <simon@laptop.org> Acked-by: Manuel Quiñones <manuq@laptop.org>
* Run sugar-convert.sh for automatic conversion from sugar.* to sugar3.* importsSimon Schampijer2012-09-071-5/+5
| | | | | | | | | | | | | | Run sugar-convert.sh [1] for automatic conversion from sugar.* imports to sugar3.* imports. This is only on a best-effort basis; the code will be in a broken state after this patch and need to be fixed manually. The purpose of committing the intermediate, non-working output is to make it reproducible. It's impractical to manually review the changes. [1] http://dev.laptop.org/~manuq/sugar-convert.sh Signed-off-by: Simon Schampijer <simon@laptop.org> Acked-by: Manuel Quiñones <manuq@laptop.org>
* Run pygi-convert.sh for automatic conversion from GTK+ 2 to GTK+ 3Simon Schampijer2012-09-071-8/+8
| | | | | | | | | | | | | | | | | | Run pygi-convert.sh for automatic conversion from GTK+ 2 to GTK+ 3 and pygobject+gobject-introspection. This is only on a best-effort basis; the code will be in a broken state after this patch and need to be fixed manually. The purpose of committing the intermediate, non-working output is to make it reproducible. It's impractical to manually review the changes. The exact version used was 2d8f48f4ff56bb75985136452b50b75895258608 from the main pygobject repository [1]. [1] git://git.gnome.org/pygobject Signed-off-by: Simon Schampijer <simon@laptop.org> Acked-by: Manuel Quiñones <manuq@laptop.org>
* Use the same wording for the filesize of an entry without a file SL #2880Simon Schampijer2011-07-011-3/+2
| | | | | | The change has no impact on existing translations, since we use as well util.format_size when no filesize is specified.
* fix stylistic mistake introduced by 79c85ed2Sascha Silbe2011-02-051-2/+3
| | | | | Signed-off-by: Sascha Silbe <silbe@activitycentral.com> Reviewed-by: Aleksey Lim <alsroot@activitycentral.org>
* Journal list view: don't choke on invalid or incomplete metadata (SL#1408)Sascha Silbe2010-11-301-13/+36
| | | | | | | | Metadata can get corrupted by crashes or malformed by buggy activities. We should do our best to display the parts that are usable and certainly never mess up the entire Journal. Acked-by: Simon Schampijer <simon@schampijer.de>
* pylint cleanup: remove unused importsSascha Silbe2010-11-241-1/+0
| | | | | | Reviewed-by: James Cameron <quozl@laptop.org> Reviewed-by: Simon Schampijer <simon@laptop.org> CC: Aleksey Lim <alsroot@member.fsf.org>
* PEP8 cleanup: fix spaces around operators and parenthesesSascha Silbe2010-11-241-18/+16
| | | | | | Reviewed-by: James Cameron <quozl@laptop.org> Reviewed-by: Simon Schampijer <simon@laptop.org> CC: Aleksey Lim <alsroot@member.fsf.org>
* pep8 cleanup: fix number of blank linesSascha Silbe2010-11-241-1/+2
| | | | | | Reviewed-by: James Cameron <quozl@laptop.org> Reviewed-by: Simon Schampijer <simon@laptop.org> CC: Aleksey Lim <alsroot@member.fsf.org>
* Add creation_time property to the journal model.Andrés Ambrois2010-08-241-10/+13
|
* Add a filesize column to the journal list modelAndrés Ambrois2010-08-241-6/+24
| | | | | This will make it easy to display the current sorting column by associating a cell renderer with it.
* Minor pylint cleanupsSimon Schampijer2010-03-101-13/+13
|
* Switch entirely to simplejsonDaniel Drake2009-11-231-4/+2
| | | | | | | | I misunderstood the state of affairs with the numerous json parsers. Whatever we used to have as 'json' isn't really available on Py2.6. Move to simplejson which seems to be the most functional implementation, available on both old and new setups.
* Revert "Move to cjson and drop pyjson and simplejson"Daniel Drake2009-11-231-2/+4
| | | | | | | | | | | This reverts commit ee4535c98ae74347e7072909d49dcf8a5e16ca7b. cjson has a big bug dealing with slashes, this is a significant long-term bug and upstream has not been responsive other than acknowledging it. This bug breaks journal entry bundles. http://dev.sugarlabs.org/ticket/1553 Thanks to Martin Langhoff for identifying and researching this issue
* favoritesview.py: icon-color KeyError #976Aleksey Lim2009-09-181-4/+1
|
* Revert thumbs mergeAleksey Lim2009-08-251-2/+19
|
* Extract objectsview from listview; initial thumbs view commitAleksey Lim2009-08-251-19/+2
|
* let the logger do the formattingSascha Silbe2009-08-241-1/+1
|
* Refactor journal to use a gtk.TreeViewTomeu Vizoso2009-06-271-0/+204