~dylanmccall/unity/panel-drag-frontmost-maximized

« back to all changes in this revision

Viewing changes to src/unity-root-accessible.cpp

  • Committer: Alejandro Piñeiro
  • Date: 2011-03-14 16:42:53 UTC
  • mfrom: (945.4.1 unity)
  • Revision ID: apinheiro@igalia.com-20110314164253-m9gcehjvm199cwiv
[a11y] Emitting the signal 'children-changed'

It adds the emission of this signal for
  * UnityRootAccessible: each time a window is added
  * UnityLauncherAccessible: each time a launcher icon is added/removed

Show diffs side-by-side

added added

removed removed

Lines of Context:
175
175
                                  nux::BaseWindow *window)
176
176
{
177
177
  AtkObject *window_accessible = NULL;
 
178
  gint index = 0;
178
179
 
179
180
  g_return_if_fail (UNITY_IS_ROOT_ACCESSIBLE (self));
180
181
 
183
184
 
184
185
  self->priv->window_list =
185
186
    g_slist_append (self->priv->window_list, window_accessible);
 
187
 
 
188
  index = g_slist_index (self->priv->window_list, window_accessible);
 
189
 
 
190
  g_signal_emit_by_name (self, "children-changed::add",
 
191
                         index, window_accessible, NULL);
186
192
}