[gnome-bluetooth] Add a request-focus signal to the Moblin panel widget
- From: Ross Burton <rburton src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [gnome-bluetooth] Add a request-focus signal to the Moblin panel widget
- Date: Wed, 28 Oct 2009 12:20:27 +0000 (UTC)
commit ac99de34f101829a310edaf79dae2806fae0caf9
Author: Ross Burton <ross linux intel com>
Date: Tue Oct 27 16:45:42 2009 +0000
Add a request-focus signal to the Moblin panel widget
moblin/moblin-panel.c | 7 +++++++
1 files changed, 7 insertions(+), 0 deletions(-)
---
diff --git a/moblin/moblin-panel.c b/moblin/moblin-panel.c
index 4ce13b5..1871237 100644
--- a/moblin/moblin-panel.c
+++ b/moblin/moblin-panel.c
@@ -126,6 +126,7 @@ typedef enum {
enum {
STATUS_CONNECTING,
+ REQUEST_FOCUS,
LAST_SIGNAL
};
@@ -1554,6 +1555,12 @@ moblin_panel_class_init (MoblinPanelClass *klass)
G_STRUCT_OFFSET (MoblinPanelClass, status_connecting),
NULL, NULL, g_cclosure_marshal_VOID__BOOLEAN,
G_TYPE_NONE, 1, G_TYPE_BOOLEAN);
+
+ _signals[REQUEST_FOCUS] = g_signal_new ("request-focus", MOBLIN_TYPE_PANEL,
+ G_SIGNAL_RUN_FIRST,
+ 0,
+ NULL, NULL, g_cclosure_marshal_VOID__VOID,
+ G_TYPE_NONE, 0);
}
/**
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]