aboutsummaryrefslogtreecommitdiff
path: root/src/session-menu-mgr.c
diff options
context:
space:
mode:
authorAlberto Mardegan <alberto.mardegan@canonical.com>2012-08-21 10:38:09 +0300
committerAlberto Mardegan <alberto.mardegan@canonical.com>2012-08-21 10:38:09 +0300
commit8ebef3969c9b69dc0fe24cd2ad33530a2e0b0e4c (patch)
tree1335c3f7beec55180e0ed1564e79315941ee4280 /src/session-menu-mgr.c
parent0f662c6404c8feea54028126f3010ac24d48317e (diff)
downloadayatana-indicator-session-8ebef3969c9b69dc0fe24cd2ad33530a2e0b0e4c.tar.gz
ayatana-indicator-session-8ebef3969c9b69dc0fe24cd2ad33530a2e0b0e4c.tar.bz2
ayatana-indicator-session-8ebef3969c9b69dc0fe24cd2ad33530a2e0b0e4c.zip
Class rename
Rename the class from Webcredentials to OnlineAccounts, for improved consistency.
Diffstat (limited to 'src/session-menu-mgr.c')
-rw-r--r--src/session-menu-mgr.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/session-menu-mgr.c b/src/session-menu-mgr.c
index 1a66a44..72a4735 100644
--- a/src/session-menu-mgr.c
+++ b/src/session-menu-mgr.c
@@ -33,7 +33,7 @@ with this program. If not, see <http://www.gnu.org/licenses/>.
#include "session-menu-mgr.h"
#include "shared-names.h"
#include "users-service-dbus.h"
-#include "webcredentials-mgr.h"
+#include "online_accounts-mgr.h"
#define DEBUG_SHOW_ALL FALSE
@@ -116,7 +116,7 @@ struct _SessionMenuMgr
DBusUPower * upower_proxy;
SessionDbus * session_dbus;
UsersServiceDbus * users_dbus_facade;
- WebcredentialsMgr * webcredentials_mgr;
+ OnlineAccountsMgr * online_accounts_mgr;
};
static SwitcherMode get_switcher_mode (SessionMenuMgr *);
@@ -198,7 +198,7 @@ session_menu_mgr_init (SessionMenuMgr *mgr)
init_upower_proxy (mgr);
/* Online accounts menu item */
- mgr->webcredentials_mgr = webcredentials_mgr_new ();
+ mgr->online_accounts_mgr = online_accounts_mgr_new ();
}
static void
@@ -219,7 +219,7 @@ session_menu_mgr_dispose (GObject *object)
g_clear_object (&mgr->users_dbus_facade);
g_clear_object (&mgr->top_mi);
g_clear_object (&mgr->session_dbus);
- g_clear_object (&mgr->webcredentials_mgr);
+ g_clear_object (&mgr->online_accounts_mgr);
g_slist_free (mgr->user_menuitems);
mgr->user_menuitems = NULL;
@@ -476,7 +476,7 @@ build_session_menuitems (SessionMenuMgr* mgr)
DbusmenuMenuitem * mi;
mi = mgr->online_accounts_mi =
- webcredentials_mgr_get_menu_item (mgr->webcredentials_mgr);
+ online_accounts_mgr_get_menu_item (mgr->online_accounts_mgr);
dbusmenu_menuitem_child_append (mgr->top_mi, mi);
mi = mgr->online_accounts_separator = mi_new_separator ();