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

« back to all changes in this revision

Viewing changes to unity-private/places/places-place-search-entry.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:
165
165
static void unity_places_place_search_entry_real_get_preferred_height (ClutterActor* base, float for_width, float* min_height, float* nat_height);
166
166
static void unity_places_place_search_entry_real_get_preferred_width (ClutterActor* base, float for_height, float* min_width, float* nat_width);
167
167
static void unity_places_place_search_entry_on_text_changed (UnityPlacesPlaceSearchEntry* self);
168
 
static gboolean _lambda38_ (UnityPlacesPlaceSearchEntry* self);
169
 
static gboolean __lambda38__gsource_func (gpointer self);
 
168
static gboolean _lambda40_ (UnityPlacesPlaceSearchEntry* self);
 
169
static gboolean __lambda40__gsource_func (gpointer self);
170
170
static void unity_places_place_search_entry_real_allocate (ClutterActor* base, const ClutterActorBox* box, ClutterAllocationFlags flags);
171
171
static void unity_places_place_search_entry_real_paint (ClutterActor* base);
172
172
static void unity_places_place_search_entry_real_map (ClutterActor* base);
186
186
static void _unity_places_place_search_entry_on_key_focus_in_clutter_actor_key_focus_in (ClutterActor* _sender, gpointer self);
187
187
static void _unity_places_place_search_entry_on_key_focus_out_clutter_actor_key_focus_out (ClutterActor* _sender, gpointer self);
188
188
static void _unity_places_place_search_entry_paint_right_icon_unity_cairo_canvas_cairo_canvas_paint (cairo_t* cr, gint width, gint height, gpointer self);
189
 
static gboolean _lambda39_ (UnityPlacesPlaceSearchEntry* self);
190
 
static gboolean __lambda39__clutter_actor_button_release_event (ClutterActor* _sender, ClutterEvent* event, gpointer self);
 
189
static gboolean _lambda41_ (UnityPlacesPlaceSearchEntry* self);
 
190
static gboolean __lambda41__clutter_actor_button_release_event (ClutterActor* _sender, ClutterEvent* event, gpointer self);
191
191
static GObject * unity_places_place_search_entry_constructor (GType type, guint n_construct_properties, GObjectConstructParam * construct_properties);
192
192
static void unity_places_place_search_entry_finalize (GObject* obj);
193
193
static void unity_places_place_search_entry_get_property (GObject * object, guint property_id, GValue * value, GParamSpec * pspec);
241
241
}
242
242
 
243
243
 
244
 
static gboolean _lambda38_ (UnityPlacesPlaceSearchEntry* self) {
 
244
static gboolean _lambda40_ (UnityPlacesPlaceSearchEntry* self) {
245
245
        gboolean result = FALSE;
246
246
        g_signal_emit_by_name (self, "text-changed", clutter_text_get_text ((ClutterText*) self->text));
247
247
        self->priv->live_search_timeout = (guint) 0;
250
250
}
251
251
 
252
252
 
253
 
static gboolean __lambda38__gsource_func (gpointer self) {
 
253
static gboolean __lambda40__gsource_func (gpointer self) {
254
254
        gboolean result;
255
 
        result = _lambda38_ (self);
 
255
        result = _lambda40_ (self);
256
256
        return result;
257
257
}
258
258
 
282
282
        if (self->priv->live_search_timeout != 0) {
283
283
                g_source_remove (self->priv->live_search_timeout);
284
284
        }
285
 
        self->priv->live_search_timeout = g_timeout_add_full (G_PRIORITY_DEFAULT, (guint) UNITY_PLACES_PLACE_SEARCH_ENTRY_LIVE_SEARCH_TIMEOUT, __lambda38__gsource_func, g_object_ref (self), g_object_unref);
 
285
        self->priv->live_search_timeout = g_timeout_add_full (G_PRIORITY_DEFAULT, (guint) UNITY_PLACES_PLACE_SEARCH_ENTRY_LIVE_SEARCH_TIMEOUT, __lambda40__gsource_func, g_object_ref (self), g_object_unref);
286
286
}
287
287
 
288
288
 
476
476
}
477
477
 
478
478
 
479
 
static gboolean _lambda39_ (UnityPlacesPlaceSearchEntry* self) {
 
479
static gboolean _lambda41_ (UnityPlacesPlaceSearchEntry* self) {
480
480
        gboolean result = FALSE;
481
481
        clutter_text_set_text ((ClutterText*) self->text, "");
482
482
        g_signal_emit_by_name (self, "text-changed", "");
485
485
}
486
486
 
487
487
 
488
 
static gboolean __lambda39__clutter_actor_button_release_event (ClutterActor* _sender, ClutterEvent* event, gpointer self) {
 
488
static gboolean __lambda41__clutter_actor_button_release_event (ClutterActor* _sender, ClutterEvent* event, gpointer self) {
489
489
        gboolean result;
490
 
        result = _lambda39_ (self);
 
490
        result = _lambda41_ (self);
491
491
        return result;
492
492
}
493
493
 
540
540
                ctk_box_pack ((CtkBox*) self, (ClutterActor*) self->right_icon, FALSE, TRUE);
541
541
                clutter_actor_show ((ClutterActor*) self->right_icon);
542
542
                clutter_actor_set_reactive ((ClutterActor*) self->right_icon, TRUE);
543
 
                g_signal_connect_object ((ClutterActor*) self->right_icon, "button-release-event", (GCallback) __lambda39__clutter_actor_button_release_event, self, 0);
 
543
                g_signal_connect_object ((ClutterActor*) self->right_icon, "button-release-event", (GCallback) __lambda41__clutter_actor_button_release_event, self, 0);
544
544
        }
545
545
        return obj;
546
546
}