diff options
author | Lars Uebernickel <lars.uebernickel@canonical.com> | 2013-07-02 15:07:49 -0400 |
---|---|---|
committer | Lars Uebernickel <lars.uebernickel@canonical.com> | 2013-07-02 15:07:49 -0400 |
commit | 9df7720fabd9ee7cb98dfd7ea6736224daf26364 (patch) | |
tree | e0dbf6e1c618d0a05a24d9fa693bdb2550b89ff3 | |
parent | c58fa92fbc37800d340d6eaacb13c4fd42df2857 (diff) | |
download | ayatana-indicator-session-9df7720fabd9ee7cb98dfd7ea6736224daf26364.tar.gz ayatana-indicator-session-9df7720fabd9ee7cb98dfd7ea6736224daf26364.tar.bz2 ayatana-indicator-session-9df7720fabd9ee7cb98dfd7ea6736224daf26364.zip |
Set the desired position in the panel
-rw-r--r-- | src/indicator-session.c | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/src/indicator-session.c b/src/indicator-session.c index 431292e..ada8c6e 100644 --- a/src/indicator-session.c +++ b/src/indicator-session.c @@ -93,8 +93,7 @@ static void indicator_session_init (IndicatorSession *self); static void indicator_session_dispose (GObject *object); static void indicator_session_finalize (GObject *object); static GList* indicator_session_get_entries (IndicatorObject* obj); -static guint indicator_session_get_location (IndicatorObject * io, - IndicatorObjectEntry * entry); +static gint indicator_session_get_position (IndicatorObject * io); G_DEFINE_TYPE (IndicatorSession, indicator_session, INDICATOR_OBJECT_TYPE); @@ -108,7 +107,7 @@ indicator_session_class_init (IndicatorSessionClass *klass) IndicatorObjectClass * io_class = INDICATOR_OBJECT_CLASS(klass); io_class->get_entries = indicator_session_get_entries; - io_class->get_location = indicator_session_get_location; + io_class->get_position = indicator_session_get_position; return; } @@ -201,11 +200,10 @@ indicator_session_get_entries (IndicatorObject* obj) return g_list_append (NULL, &self->entry); } -static guint -indicator_session_get_location (IndicatorObject * io, - IndicatorObjectEntry * entry) +static gint +indicator_session_get_position (IndicatorObject * io) { - return 0; + return 10; } /* callback for the service manager state of being */ |