/gtk/eog-manage-raws

To get this branch, use:
bzr branch http://bzr.ed.am/gtk/eog-manage-raws

« back to all changes in this revision

Viewing changes to src/manage-raws.py

  • Committer: edam
  • Date: 2012-01-22 00:16:21 UTC
  • Revision ID: edam@waxworlds.org-20120122001621-mtj7kcq3toodervi
renamed project "manage raws"

Show diffs side-by-side

added added

removed removed

1
 
# raw-tools.py
 
1
# manage-raws.py
2
2
#
3
3
# Copyright (C) 2011 Tim Marston <edam@waxworlds.org>
4
4
#
5
 
# This file is part of Raw Tools (hereafter referred to as "this program").
6
 
# See http://www.waxworlds.org/edam/software/gtk/eog-raw-tools for more
 
5
# This file is part of Manage Raws (hereafter referred to as "this
 
6
# program").  See http://ed.am/dev/gtk/eog-manage-raws for more
7
7
# information.
8
8
#
9
9
# This program is free software: you can redistribute it and/or modify
25
25
from gi.repository import GObject, Gtk, Eog, Gio
26
26
import os, re
27
27
 
28
 
class RawToolsPlugin( GObject.Object, Eog.WindowActivatable ):
 
28
class ManageRawsPlugin( GObject.Object, Eog.WindowActivatable ):
29
29
 
30
30
    # Override EogWindowActivatable's window property
31
31
    window = GObject.property( type = Eog.Window )
43
43
 
44
44
        # insert menu item
45
45
        ui_manager = self.window.get_ui_manager()
46
 
        self.action_group = Gtk.ActionGroup( 'EogRawToolsPluginActions' )
 
46
        self.action_group = Gtk.ActionGroup( 'EogManageRawsPluginActions' )
47
47
        self.action_group.add_actions( [ ( 'EogPluginRunKeepRaw', None,
48
48
            _( 'Keep Raw Image' ), 'K',
49
49
            _( "Move the accompanying raw file to a 'raw' subdirectory" ),