aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2010-08-20 11:54:25 -0500
committerTed Gould <ted@gould.cx>2010-08-20 11:54:25 -0500
commit81de0483bc6a87ed5fe0913121247ea96eb83d61 (patch)
treee181599b16b37c3d599fbe6b1a5ae32cd129aff0 /src
parentb51c1debf9807ad357564975c394badbafccaa1b (diff)
downloadayatana-indicator-application-81de0483bc6a87ed5fe0913121247ea96eb83d61.tar.gz
ayatana-indicator-application-81de0483bc6a87ed5fe0913121247ea96eb83d61.tar.bz2
ayatana-indicator-application-81de0483bc6a87ed5fe0913121247ea96eb83d61.zip
Get the proper position for an application when it becomes visible.
Diffstat (limited to 'src')
-rw-r--r--src/application-service-appstore.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/application-service-appstore.c b/src/application-service-appstore.c
index f52ea2d..d5f9a81 100644
--- a/src/application-service-appstore.c
+++ b/src/application-service-appstore.c
@@ -621,7 +621,7 @@ apply_status (Application * app)
g_signal_emit(G_OBJECT(app->appstore),
signals[APPLICATION_ADDED], 0,
newicon,
- g_list_index(priv->applications, app), /* Position */
+ get_position(app), /* Position */
app->dbus_name,
app->menu,
app->icon_theme_path,