@@ -15,24 +15,24 @@ private class ShotwellTransitions : Object, Spit.Module {
15
15
pluggables + = new CrumbleEffectDescriptor ();
16
16
}
17
17
18
- public string get_name () {
19
- return " Shotwell Transitions" ;
18
+ public unowned string get_module_name () {
19
+ return _( " Core Slideshow Transitions" ) ;
20
20
}
21
21
22
- public string get_version () {
22
+ public unowned string get_version () {
23
23
return _VERSION;
24
24
}
25
25
26
- public string get_id () {
26
+ public unowned string get_id () {
27
27
return " org.yorba.shotwell.transitions" ;
28
28
}
29
29
30
- public Spit .Pluggable []? get_pluggables () {
30
+ public unowned Spit .Pluggable []? get_pluggables () {
31
31
return pluggables;
32
32
}
33
33
}
34
34
35
- private ShotwellTransitions ? spitwad = null ;
35
+ private ShotwellTransitions ? module = null ;
36
36
37
37
// This entry point is required for all SPIT modules.
38
38
public unowned Spit . Module ? spit_entry_point(int host_min_spit_interface, int host_max_spit_interface,
@@ -42,19 +42,19 @@ public unowned Spit.Module? spit_entry_point(int host_min_spit_interface, int ho
42
42
if (module_spit_interface == Spit . UNSUPPORTED_INTERFACE )
43
43
return null ;
44
44
45
- if (spitwad == null )
46
- spitwad = new ShotwellTransitions ();
45
+ if (module == null )
46
+ module = new ShotwellTransitions ();
47
47
48
- return spitwad ;
48
+ return module ;
49
49
}
50
50
51
51
public void g_module_unload() {
52
- if (spitwad != null )
53
- debug(" %s %s unloaded" , spitwad . get_name (), spitwad . get_version());
52
+ if (module != null )
53
+ debug(" %s %s unloaded" , module . get_module_name (), module . get_version());
54
54
else
55
55
debug(" spitter unloaded prior to spit_entry_point being called" );
56
56
57
- spitwad = null ;
57
+ module = null ;
58
58
}
59
59
60
60
// This is here to keep valac happy.
@@ -68,9 +68,9 @@ public abstract class ShotwellTransitionDescriptor : Object, Spit.Pluggable, Spi
68
68
Spit . Transitions . CURRENT_INTERFACE );
69
69
}
70
70
71
- public abstract string get_id ();
71
+ public abstract unowned string get_id ();
72
72
73
- public abstract string get_pluggable_name ();
73
+ public abstract unowned string get_pluggable_name ();
74
74
75
75
public void get_info (out Spit .PluggableInfo info ) {
76
76
info. authors = " Maxim Kartashev, Jim Nelson" ;
@@ -84,6 +84,9 @@ public abstract class ShotwellTransitionDescriptor : Object, Spit.Pluggable, Spi
84
84
info. website_url = " http://www.yorba.org" ;
85
85
}
86
86
87
+ public void activation (bool enabled ) {
88
+ }
89
+
87
90
public abstract Spit .Transitions .Effect create (Spit .HostInterface host );
88
91
}
89
92
0 commit comments