~leprechaun-team/+junk/unity-use-patches

« back to all changes in this revision

Viewing changes to unity-private/places/places-place-home-renderer.c

  • Committer: Bazaar Package Importer
  • Author(s): Didier Roche
  • Date: 2010-09-09 19:13:29 UTC
  • mfrom: (1.1.15 upstream)
  • Revision ID: james.westby@ubuntu.com-20100909191329-j3odkmn02roj91b1
Tags: 0.2.36-0ubuntu1
* New upstream release:
  - Fix width of home-button on panel, so groove aligns with right edge of
    launcher, fixes (LP: #630031)
  - migration script to transition first time new people to unity
    (LP: #622146)
  - Quicklist name disappearing (LP: #627666)
* debian/unity.install:
  - install libexec in unity package (for migration tool)
* debian/libunity0.symbols:
  - update symbol

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/* places-place-home-renderer.c generated by valac 0.9.7, the Vala compiler
 
1
/* places-place-home-renderer.c generated by valac, the Vala compiler
2
2
 * generated from places-place-home-renderer.vala, do not modify */
3
3
 
4
4
/*
128
128
UnityPlacesHomeRenderer* unity_places_home_renderer_new (void);
129
129
UnityPlacesHomeRenderer* unity_places_home_renderer_construct (GType object_type);
130
130
static void unity_places_home_renderer_real_set_models (UnityPlaceRenderer* base, DeeModel* groups, DeeModel* results, GeeHashMap* hints);
131
 
static void unity_places_home_renderer_activate_place (UnityPlacesHomeRenderer* self, const char* place_path, gint section_id);
132
131
gpointer unity_testing_object_registry_ref (gpointer instance);
133
132
void unity_testing_object_registry_unref (gpointer instance);
134
133
GParamSpec* unity_testing_param_spec_object_registry (const gchar* name, const gchar* nick, const gchar* blurb, GType object_type, GParamFlags flags);
140
139
GeeArrayList* unity_testing_object_registry_lookup (UnityTestingObjectRegistry* self, const char* name);
141
140
GType unity_places_controller_get_type (void) G_GNUC_CONST;
142
141
void unity_places_controller_activate_entry_by_dbus_path (UnityPlacesController* self, const char* entry_path, gint section_id);
 
142
static void unity_places_home_renderer_activate_place (UnityPlacesHomeRenderer* self, const char* place_path, gint section_id);
143
143
static void unity_places_home_renderer_real_allocate (ClutterActor* base, const ClutterActorBox* box, ClutterAllocationFlags flags);
144
144
static char* unity_places_home_renderer_filename_for_icon (UnityPlacesHomeRenderer* self, const char* icon);
145
145
UnityPlacesHomeButton* unity_places_home_button_new (const char* name, const char* icon, const char* exec);
207
207
 
208
208
 
209
209
static void unity_places_home_renderer_activate_place (UnityPlacesHomeRenderer* self, const char* place_path, gint section_id) {
 
210
        GeeArrayList* _tmp1_;
210
211
        UnityTestingObjectRegistry* _tmp0_;
211
 
        GeeArrayList* _tmp1_;
212
212
        GObject* _tmp2_;
213
213
        UnityPlacesController* _tmp3_;
214
214
        UnityPlacesController* cont;
276
276
 
277
277
 
278
278
static void _lambda56_ (UnityPlacesHomeRenderer* self) {
 
279
        GError * _inner_error_;
279
280
        GConfClient* client;
280
 
        GError * _inner_error_ = NULL;
 
281
        _inner_error_ = NULL;
281
282
        client = _g_object_ref0 (gconf_client_get_default ());
282
283
        {
283
284
                char* exec;
385
386
 
386
387
 
387
388
static void _lambda63_ (UnityPlacesHomeRenderer* self) {
388
 
        GError * _inner_error_ = NULL;
 
389
        GError * _inner_error_;
 
390
        _inner_error_ = NULL;
389
391
        {
390
392
                g_spawn_command_line_async ("software-center", &_inner_error_);
391
393
                if (_inner_error_ != NULL) {
434
436
                char* _tmp3_;
435
437
                UnityPlacesHomeButton* _tmp4_;
436
438
                UnityPlacesHomeButton* icon;
 
439
                UnityPlacesHomeButton* _tmp6_;
437
440
                char* _tmp5_;
438
 
                UnityPlacesHomeButton* _tmp6_;
 
441
                UnityPlacesHomeButton* _tmp8_;
439
442
                char* _tmp7_;
440
 
                UnityPlacesHomeButton* _tmp8_;
 
443
                UnityPlacesHomeButton* _tmp10_;
441
444
                char* _tmp9_;
442
 
                UnityPlacesHomeButton* _tmp10_;
 
445
                UnityPlacesHomeButton* _tmp12_;
443
446
                char* _tmp11_;
444
 
                UnityPlacesHomeButton* _tmp12_;
 
447
                UnityPlacesHomeButton* _tmp14_;
445
448
                char* _tmp13_;
446
 
                UnityPlacesHomeButton* _tmp14_;
 
449
                UnityPlacesHomeButton* _tmp16_;
447
450
                char* _tmp15_;
448
 
                UnityPlacesHomeButton* _tmp16_;
 
451
                UnityPlacesHomeButton* _tmp18_;
449
452
                char* _tmp17_;
450
 
                UnityPlacesHomeButton* _tmp18_;
451
453
                ctk_actor_set_padding ((CtkActor*) self, (_tmp1_ = (_tmp0_.top = 0.0f, _tmp0_.right = 0.0f, _tmp0_.bottom = 0.0f, _tmp0_.left = 0.0f, _tmp0_), &_tmp1_));
452
454
                self->priv->icon_view = (_tmp2_ = g_object_ref_sink ((CtkIconView*) ctk_icon_view_new ()), _g_object_unref0 (self->priv->icon_view), _tmp2_);
453
455
                ctk_icon_view_set_spacing (self->priv->icon_view, UNITY_PLACES_HOME_RENDERER_SPACING);