diff options
author | Manuel QuiƱones <manuq@laptop.org> | 2012-09-06 10:39:27 (GMT) |
---|---|---|
committer | Simon Schampijer <simon@laptop.org> | 2012-09-07 09:14:26 (GMT) |
commit | 17285f1faef2d10caaa65b1d269ed43ca62995bb (patch) | |
tree | 78eb6e3c4ff28d2a1085b76d38dbbab7d8a37521 /src/jarabe/journal/palettes.py | |
parent | 04381ce5c978f8cbfb5918585b5307b7755d0939 (diff) |
Journal: initial port
- 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>
Diffstat (limited to 'src/jarabe/journal/palettes.py')
-rw-r--r-- | src/jarabe/journal/palettes.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/jarabe/journal/palettes.py b/src/jarabe/journal/palettes.py index 8b67294..43f9905 100644 --- a/src/jarabe/journal/palettes.py +++ b/src/jarabe/journal/palettes.py @@ -223,7 +223,7 @@ class CopyMenu(Gtk.Menu): self.append(journal_menu) journal_menu.show() - volume_monitor = Gio.volume_monitor_get() + volume_monitor = Gio.VolumeMonitor.get() icon_theme = Gtk.IconTheme.get_default() for mount in volume_monitor.get_mounts(): if self._metadata['mountpoint'] == mount.get_root().get_path(): |