[maemo-commits] [maemo-commits] r8513 - projects/haf/branches/hildon-fm/1.x/hildon-fm
From: www-data at stage.maemo.org www-data at stage.maemo.orgDate: Thu Nov 30 18:22:04 EET 2006
- Previous message: [maemo-commits] r8512 - in projects/haf/trunk/hildon-theme-layout-3: . data
- Next message: [maemo-commits] r8514 - projects/haf/branches/hildon-fm/1.x/hildon-fm
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Author: marivoll Date: 2006-11-30 18:22:03 +0200 (Thu, 30 Nov 2006) New Revision: 8513 Modified: projects/haf/branches/hildon-fm/1.x/hildon-fm/hildon-file-system-special-location.c projects/haf/branches/hildon-fm/1.x/hildon-fm/hildon-file-system-special-location.h Log: * hildon-fm/hildon-file-system-special-location.h (struct _HildonFileSystemSpecialLocationClass): Added 'rescan' signal. * hildon-fm/hildon-file-system-special-location.c (enum HildonFileSystemSpecialLocationSignals, hildon_file_system_special_location_class_init): Register it. Modified: projects/haf/branches/hildon-fm/1.x/hildon-fm/hildon-file-system-special-location.c =================================================================== --- projects/haf/branches/hildon-fm/1.x/hildon-fm/hildon-file-system-special-location.c 2006-11-30 16:07:16 UTC (rev 8512) +++ projects/haf/branches/hildon-fm/1.x/hildon-fm/hildon-file-system-special-location.c 2006-11-30 16:22:03 UTC (rev 8513) @@ -29,6 +29,7 @@ { SIGNAL_CHANGED, SIGNAL_CONNECTION_STATE, + SIGNAL_RESCAN, LAST_SIGNAL }; @@ -77,6 +78,16 @@ NULL, NULL, g_cclosure_marshal_VOID__VOID, G_TYPE_NONE, 0); + + special_location_signals[SIGNAL_RESCAN] = + g_signal_new ("rescan", + G_TYPE_FROM_CLASS (gobject_class), + G_SIGNAL_RUN_FIRST, + G_STRUCT_OFFSET (HildonFileSystemSpecialLocationClass, + rescan), + NULL, NULL, + g_cclosure_marshal_VOID__VOID, + G_TYPE_NONE, 0); } static void Modified: projects/haf/branches/hildon-fm/1.x/hildon-fm/hildon-file-system-special-location.h =================================================================== --- projects/haf/branches/hildon-fm/1.x/hildon-fm/hildon-file-system-special-location.h 2006-11-30 16:07:16 UTC (rev 8512) +++ projects/haf/branches/hildon-fm/1.x/hildon-fm/hildon-file-system-special-location.h 2006-11-30 16:22:03 UTC (rev 8513) @@ -89,6 +89,7 @@ /* signals */ void (*changed) (GObject *obj); void (*connection_state) (GObject *obj); + void (*rescan) (GObject *obj); }; GType hildon_file_system_special_location_get_type (void) G_GNUC_CONST;
- Previous message: [maemo-commits] r8512 - in projects/haf/trunk/hildon-theme-layout-3: . data
- Next message: [maemo-commits] r8514 - projects/haf/branches/hildon-fm/1.x/hildon-fm
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]