~ricotz/plank/consolidate-api

« back to all changes in this revision

Viewing changes to docklets/Clippy/ClippyDockItem.vala

  • Committer: Rico Tzschichholz
  • Date: 2015-11-03 10:37:19 UTC
  • Revision ID: ricotz@ubuntu.com-20151103103719-s2gik7a9cnove1tg
Drop nested namespaces

Show diffs side-by-side

added added

removed removed

Lines of Context:
17
17
//  along with this program.  If not, see <http://www.gnu.org/licenses/>.
18
18
//
19
19
 
20
 
using Plank.Items;
 
20
using Plank;
21
21
 
22
22
namespace Docky
23
23
{
126
126
                        updated ();
127
127
                }
128
128
                
129
 
                protected override Animation on_scrolled (Gdk.ScrollDirection direction, Gdk.ModifierType mod, uint32 event_time)
 
129
                protected override AnimationType on_scrolled (Gdk.ScrollDirection direction, Gdk.ModifierType mod, uint32 event_time)
130
130
                {
131
131
                        if (direction == Gdk.ScrollDirection.UP)
132
132
                                cur_position++;
140
140
                        
141
141
                        updated ();
142
142
                        
143
 
                        return Animation.NONE;
 
143
                        return AnimationType.NONE;
144
144
                }
145
145
                
146
 
                protected override Animation on_clicked (PopupButton button, Gdk.ModifierType mod, uint32 event_time)
 
146
                protected override AnimationType on_clicked (PopupButton button, Gdk.ModifierType mod, uint32 event_time)
147
147
                {
148
148
                        if (button == PopupButton.LEFT && clips.size > 0) {
149
149
                                copy_entry ();
150
 
                                return Animation.BOUNCE;
 
150
                                return AnimationType.BOUNCE;
151
151
                        }
152
152
                        
153
 
                        return Animation.NONE;
 
153
                        return AnimationType.NONE;
154
154
                }
155
155
                
156
156
                public override Gee.ArrayList<Gtk.MenuItem> get_menu_items ()