~ubuntu-branches/ubuntu/maverick/unity/maverick

« back to all changes in this revision

Viewing changes to unity-private/launcher/scroller-controller.c

  • Committer: Bazaar Package Importer
  • Author(s): Didier Roche
  • Date: 2010-09-17 14:02:54 UTC
  • mfrom: (1.1.17 upstream)
  • Revision ID: james.westby@ubuntu.com-20100917140254-6cbue12klia2f07l
Tags: 0.2.40-0ubuntu1
* New upstream release:
  - Fix inactive menus accessible (LP: #604505)
  - Fix some more memory leaks (LP: #604777, #621690, #628144)
  - Fix weird behaviors of quicklist (LP: #617339)
  - Provide an "open this folder" button (LP: #633201)
  - Hidden menu causing gap (LP: #600191)
  - Cannot go fullscreen for flash videos (LP: #631381)
  - Can't access menu items from the keyboard (LP: #636728)
  - Don't register for MDRAGs since they aren't used (LP: #632613)
  - Don't run indicator on special launchers (LP: #627488)
  - Center arrows position in folded launcher tiles (LP: #633084)
  - Launcher icons first appear as white upon login (LP: #601093)
  - Removes jittering when rubber band is in use on the launcher (LP: #632991)
  - Mutter restarts on closing almost any application (LP: #634701)
  - Can't launch apps like synaptic with root privileges from launch bar
    (LP: #599298)
  - Launcher tile dragging shouldn't be masked (LP: #631443)
  - Fix Carousel-ed icons have distorted perspective (LP: #607515)
  - Use no longer sync call (LP: #620011)
* update debian/libunity0.symbols

Show diffs side-by-side

added added

removed removed

Lines of Context:
220
220
        gboolean do_not_render;
221
221
        UnityLauncherScrollerChildController* controller;
222
222
        float grabbed_push;
 
223
        UnityUnityIcon* processed_icon;
223
224
};
224
225
 
225
226
struct _UnityLauncherScrollerChildClass {
254
255
UnityLauncherScrollerChild* unity_launcher_scroller_model_get (UnityLauncherScrollerModel* self, gint i);
255
256
void unity_launcher_scroller_child_controller_activate (UnityLauncherScrollerChildController* self);
256
257
static void unity_launcher_scroller_controller_on_super_key_active (UnityLauncherScrollerController* self);
257
 
static gboolean _lambda93_ (UnityLauncherScrollerController* self);
 
258
static gboolean _lambda95_ (UnityLauncherScrollerController* self);
258
259
UnityLauncherScrollerView* unity_launcher_scroller_controller_get_view (UnityLauncherScrollerController* self);
259
260
void unity_launcher_scroller_view_enable_keyboard_selection_mode (UnityLauncherScrollerView* self, gboolean choice);
260
 
static gboolean __lambda93__gsource_func (gpointer self);
 
261
static gboolean __lambda95__gsource_func (gpointer self);
261
262
static void unity_launcher_scroller_controller_handle_bamf_view_opened (UnityLauncherScrollerController* self, GObject* object);
262
263
GType unity_launcher_application_controller_get_type (void) G_GNUC_CONST;
263
264
static UnityLauncherApplicationController* unity_launcher_scroller_controller_find_controller_by_desktop_file (UnityLauncherScrollerController* self, const char* desktop_file);
271
272
void unity_launcher_scroller_model_add (UnityLauncherScrollerModel* self, UnityLauncherScrollerChild* child);
272
273
static void unity_launcher_scroller_controller_on_scroller_controller_closed (UnityLauncherScrollerController* self, UnityLauncherScrollerChildController* controller);
273
274
static void _unity_launcher_scroller_controller_on_scroller_controller_closed_unity_launcher_scroller_child_controller_request_removal (UnityLauncherScrollerChildController* _sender, gpointer self);
274
 
static void _lambda94_ (Block12Data* _data12_);
 
275
static void _lambda96_ (Block12Data* _data12_);
275
276
gboolean unity_launcher_scroller_child_controller_get_hide (UnityLauncherScrollerChildController* self);
276
277
gboolean unity_launcher_scroller_model_contains (UnityLauncherScrollerModel* self, UnityLauncherScrollerChild* child);
277
278
UnityLauncherScrollerChild* unity_launcher_scroller_child_controller_get_child (UnityLauncherScrollerChildController* self);
278
279
GType unity_launcher_quicklist_controller_get_type (void) G_GNUC_CONST;
279
280
GType unity_launcher_scroller_child_controller_menu_state_get_type (void) G_GNUC_CONST;
280
281
void unity_launcher_scroller_model_remove (UnityLauncherScrollerModel* self, UnityLauncherScrollerChild* child);
281
 
static void __lambda94__g_object_notify (GObject* _sender, GParamSpec* pspec, gpointer self);
 
282
static void __lambda96__g_object_notify (GObject* _sender, GParamSpec* pspec, gpointer self);
282
283
static Block12Data* block12_data_ref (Block12Data* _data12_);
283
284
static void block12_data_unref (Block12Data* _data12_);
284
285
gboolean unity_launcher_application_controller_is_sticky (UnityLauncherApplicationController* self);
387
388
}
388
389
 
389
390
 
390
 
static gboolean _lambda93_ (UnityLauncherScrollerController* self) {
 
391
static gboolean _lambda95_ (UnityLauncherScrollerController* self) {
391
392
        gboolean result = FALSE;
392
393
        unity_launcher_scroller_view_enable_keyboard_selection_mode (self->priv->_view, unity_shell_get_super_key_active (unity_global_shell));
393
394
        result = FALSE;
395
396
}
396
397
 
397
398
 
398
 
static gboolean __lambda93__gsource_func (gpointer self) {
 
399
static gboolean __lambda95__gsource_func (gpointer self) {
399
400
        gboolean result;
400
 
        result = _lambda93_ (self);
 
401
        result = _lambda95_ (self);
401
402
        return result;
402
403
}
403
404
 
411
412
                _tmp0_ = FALSE;
412
413
        }
413
414
        if (_tmp0_) {
414
 
                self->priv->super_key_source = g_timeout_add_full (G_PRIORITY_DEFAULT, (guint) 300, __lambda93__gsource_func, g_object_ref (self), g_object_unref);
 
415
                self->priv->super_key_source = g_timeout_add_full (G_PRIORITY_DEFAULT, (guint) 300, __lambda95__gsource_func, g_object_ref (self), g_object_unref);
415
416
        } else {
416
417
                if (self->priv->super_key_source != 0) {
417
418
                        g_source_remove (self->priv->super_key_source);
432
433
}
433
434
 
434
435
 
435
 
static void _lambda94_ (Block12Data* _data12_) {
 
436
static void _lambda96_ (Block12Data* _data12_) {
436
437
        UnityLauncherScrollerController * self;
437
438
        gboolean _tmp0_ = FALSE;
438
439
        self = _data12_->self;
464
465
}
465
466
 
466
467
 
467
 
static void __lambda94__g_object_notify (GObject* _sender, GParamSpec* pspec, gpointer self) {
468
 
        _lambda94_ (self);
 
468
static void __lambda96__g_object_notify (GObject* _sender, GParamSpec* pspec, gpointer self) {
 
469
        _lambda96_ (self);
469
470
}
470
471
 
471
472
 
525
526
                        }
526
527
                        gee_abstract_collection_add ((GeeAbstractCollection*) self->priv->childcontrollers, _data12_->controller);
527
528
                        g_signal_connect_object (_data12_->controller, "request-removal", (GCallback) _unity_launcher_scroller_controller_on_scroller_controller_closed_unity_launcher_scroller_child_controller_request_removal, self, 0);
528
 
                        g_signal_connect_data ((GObject*) _data12_->controller, "notify::hide", (GCallback) __lambda94__g_object_notify, block12_data_ref (_data12_), (GClosureNotify) block12_data_unref, 0);
 
529
                        g_signal_connect_data ((GObject*) _data12_->controller, "notify::hide", (GCallback) __lambda96__g_object_notify, block12_data_ref (_data12_), (GClosureNotify) block12_data_unref, 0);
529
530
                        _g_object_unref0 (child);
530
531
                }
531
532
                _g_free0 (desktop_file);