~ubuntu-branches/ubuntu/oneiric/libindicator/oneiric

« back to all changes in this revision

Viewing changes to libindicator/indicator-object.c

  • Committer: Bazaar Package Importer
  • Author(s): Ted Gould
  • Date: 2011-01-27 15:31:04 UTC
  • mfrom: (1.1.19 upstream)
  • Revision ID: james.westby@ubuntu.com-20110127153104-pq0apjb7lvrs878b
Tags: 0.3.18-0ubuntu1
* New upstream release.
  * Adding a signal for scrolling that includes the entry
* debian/rules: Updating shlibs 

Show diffs side-by-side

added added

removed removed

Lines of Context:
58
58
        ENTRY_REMOVED,
59
59
        ENTRY_MOVED,
60
60
        SCROLL,
 
61
        SCROLL_ENTRY,
61
62
        MENU_SHOW,
62
63
        SHOW_NOW_CHANGED,
63
64
        LAST_SIGNAL
146
147
                                             _indicator_object_marshal_VOID__POINTER_UINT_UINT,
147
148
                                             G_TYPE_NONE, 3, G_TYPE_POINTER, G_TYPE_UINT, G_TYPE_UINT, G_TYPE_NONE);
148
149
 
149
 
 
150
150
        /**
151
151
                IndicatorObject::scroll:
152
152
                @arg0: The #IndicatorObject object
162
162
                                        G_STRUCT_OFFSET (IndicatorObjectClass, scroll),
163
163
                                        NULL, NULL,
164
164
                                        _indicator_object_marshal_VOID__UINT_ENUM,
165
 
                                        G_TYPE_NONE, 2, G_TYPE_UINT, INDICATOR_OBJECT_TYPE_SCROLL_DIRECTION);
 
165
                                        G_TYPE_NONE, 2, G_TYPE_UINT,
 
166
                                        INDICATOR_OBJECT_TYPE_SCROLL_DIRECTION);
 
167
 
 
168
/**
 
169
                IndicatorObject::scroll-entry:
 
170
                @arg0: The #IndicatorObject object
 
171
                @arg1: A pointer to the #IndicatorObjectEntry that
 
172
                        receives the scroll event.
 
173
                @arg2: The delta of the scroll event
 
174
                @arg3: The orientation of the scroll event.
 
175
 
 
176
                When the indicator receives a mouse scroll wheel event
 
177
                from the user, this signal is emitted.
 
178
        */
 
179
        signals[SCROLL_ENTRY] = g_signal_new (INDICATOR_OBJECT_SIGNAL_SCROLL_ENTRY,
 
180
                                        G_TYPE_FROM_CLASS(klass),
 
181
                                        G_SIGNAL_RUN_LAST,
 
182
                                        G_STRUCT_OFFSET (IndicatorObjectClass, scroll_entry),
 
183
                                        NULL, NULL,
 
184
                                        _indicator_object_marshal_VOID__POINTER_UINT_ENUM,
 
185
                                        G_TYPE_NONE, 3, G_TYPE_POINTER, G_TYPE_UINT,
 
186
                                        INDICATOR_OBJECT_TYPE_SCROLL_DIRECTION);
166
187
 
167
188
        /**
168
189
                IndicatorObject::menu-show: