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

« back to all changes in this revision

Viewing changes to unity-private/places/places-place-bar.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-bar.c generated by valac 0.9.7, the Vala compiler
 
1
/* places-place-bar.c generated by valac, the Vala compiler
2
2
 * generated from places-place-bar.vala, do not modify */
3
3
 
4
4
/*
216
216
        UNITY_PLACES_PLACE_BAR_SHELL,
217
217
        UNITY_PLACES_PLACE_BAR_MODEL
218
218
};
219
 
UnityPlacesPlaceBar* unity_places_place_bar_new (UnityShell* shell, UnityPlacesPlaceModel* model);
220
 
UnityPlacesPlaceBar* unity_places_place_bar_construct (GType object_type, UnityShell* shell, UnityPlacesPlaceModel* model);
221
219
gpointer unity_testing_object_registry_ref (gpointer instance);
222
220
void unity_testing_object_registry_unref (gpointer instance);
223
221
GParamSpec* unity_testing_param_spec_object_registry (const gchar* name, const gchar* nick, const gchar* blurb, GType object_type, GParamFlags flags);
227
225
GType unity_testing_object_registry_get_type (void) G_GNUC_CONST;
228
226
UnityTestingObjectRegistry* unity_testing_object_registry_get_default (void);
229
227
void unity_testing_object_registry_register (UnityTestingObjectRegistry* self, const char* name, GObject* object);
230
 
void unity_places_place_bar_reset (UnityPlacesPlaceBar* self);
 
228
UnityPlacesPlaceBar* unity_places_place_bar_new (UnityShell* shell, UnityPlacesPlaceModel* model);
 
229
UnityPlacesPlaceBar* unity_places_place_bar_construct (GType object_type, UnityShell* shell, UnityPlacesPlaceModel* model);
231
230
GType unity_places_place_get_type (void) G_GNUC_CONST;
232
231
GType unity_places_place_entry_get_type (void) G_GNUC_CONST;
 
232
void unity_places_place_entry_set_active (UnityPlacesPlaceEntry* self, gboolean value);
233
233
UnityPlacesPlaceEntry* unity_places_place_entry_view_get_entry (UnityPlacesPlaceEntryView* self);
234
 
void unity_places_place_entry_set_active (UnityPlacesPlaceEntry* self, gboolean value);
235
234
void unity_places_place_bar_background_set_entry_position (UnityPlacesPlaceBarBackground* self, gint value);
236
 
void unity_places_place_bar_active_entry_name (UnityPlacesPlaceBar* self, const char* name);
 
235
void unity_places_place_bar_reset (UnityPlacesPlaceBar* self);
237
236
GType unity_places_place_view_get_type (void) G_GNUC_CONST;
238
237
const char* unity_places_place_entry_get_name (UnityPlacesPlaceEntry* self);
239
238
static void unity_places_place_bar_on_entry_activated (UnityPlacesPlaceBar* self, UnityPlacesPlaceView* view, UnityPlacesPlaceEntryView* entry_view);
 
239
void unity_places_place_bar_active_entry_name (UnityPlacesPlaceBar* self, const char* name);
 
240
UnityShell* unity_places_place_bar_get_shell (UnityPlacesPlaceBar* self);
240
241
static void unity_places_place_bar_real_allocate (ClutterActor* base, const ClutterActorBox* box, ClutterAllocationFlags flags);
241
 
UnityShell* unity_places_place_bar_get_shell (UnityPlacesPlaceBar* self);
242
242
static void unity_places_place_bar_real_get_preferred_height (ClutterActor* base, float for_width, float* min_height, float* nat_height);
243
243
gint unity_places_place_bar_background_get_entry_position (UnityPlacesPlaceBarBackground* self);
244
244
#define UNITY_PLACES_PLACE_ENTRY_VIEW_WIDTH 80
263
263
        UNITY_PLACES_PLACE_BAR_BACKGROUND_ENTRY_POSITION
264
264
};
265
265
#define UNITY_PLACES_PLACE_BAR_BACKGROUND_BG "/usr/share/unity/dash_background.png"
266
 
static void unity_places_place_bar_background_real_allocate (ClutterActor* base, const ClutterActorBox* box, ClutterAllocationFlags flags);
267
266
static gboolean unity_places_place_bar_background_update_background (UnityPlacesPlaceBarBackground* self);
268
267
static gboolean _unity_places_place_bar_background_update_background_gsource_func (gpointer self);
 
268
static void unity_places_place_bar_background_real_allocate (ClutterActor* base, const ClutterActorBox* box, ClutterAllocationFlags flags);
269
269
UnityShell* unity_places_place_bar_background_get_shell (UnityPlacesPlaceBarBackground* self);
270
270
static void unity_places_place_bar_background_set_shell (UnityPlacesPlaceBarBackground* self, UnityShell* value);
271
271
static GObject * unity_places_place_bar_background_constructor (GType type, guint n_construct_properties, GObjectConstructParam * construct_properties);
469
469
        {
470
470
                UnityPlacesPlaceBarBackground* _tmp0_;
471
471
                CtkEffectGlow* _tmp1_;
 
472
                ClutterColor _tmp3_;
472
473
                ClutterColor _tmp2_ = {0};
473
 
                ClutterColor _tmp3_;
474
474
                self->priv->bg = (_tmp0_ = g_object_ref_sink (unity_places_place_bar_background_new (self->priv->_shell)), _g_object_unref0 (self->priv->bg), _tmp0_);
475
475
                ctk_actor_set_background ((CtkActor*) self, (ClutterActor*) self->priv->bg);
476
476
                clutter_actor_show ((ClutterActor*) self->priv->bg);
756
756
        _inner_error_ = NULL;
757
757
        {
758
758
                {
759
 
                        GdkPixbuf* _tmp0_;
760
 
                        GdkPixbuf* _tmp1_;
761
 
                        _tmp0_ = gdk_pixbuf_new_from_file (UNITY_PLACES_PLACE_BAR_BACKGROUND_BG, &_inner_error_);
 
759
                        GdkPixbuf* _tmp4_;
 
760
                        GdkPixbuf* _tmp5_;
 
761
                        _tmp4_ = gdk_pixbuf_new_from_file (UNITY_PLACES_PLACE_BAR_BACKGROUND_BG, &_inner_error_);
762
762
                        if (_inner_error_ != NULL) {
763
763
                                goto __catch14_g_error;
764
764
                        }
765
 
                        self->priv->tile = (_tmp1_ = _tmp0_, _g_object_unref0 (self->priv->tile), _tmp1_);
 
765
                        self->priv->tile = (_tmp5_ = _tmp4_, _g_object_unref0 (self->priv->tile), _tmp5_);
766
766
                }
767
767
                goto __finally14;
768
768
                __catch14_g_error: