You are not logged in.

#1 2012-07-12 01:03:54

darthpenguin
Member
Registered: 2011-09-16
Posts: 113

[SOLVED] Gnome-Shell Remove IM

Hi guys,

It may seem like a small thing but I don't use any IM client. I have no use for one nor do I have one installed. So I really don't want to have my IM status integrated with Gnome-Shell. There are some out-dated extensions to remove IM status and there are some extensions for Fedora that do this but I can't figure out how to do this in Arch.

Can anyone help with this?

Last edited by darthpenguin (2012-09-29 15:15:15)

Offline

#2 2012-09-29 15:15:02

darthpenguin
Member
Registered: 2011-09-16
Posts: 113

Re: [SOLVED] Gnome-Shell Remove IM

Okay, in case anyone else wants to do this just edit /usr/share/gnome-shell/js/ui/userMenu.js (make a backup first) and comend out these lines as shown (for me these were lines 626 - 641)

        //item = new IMStatusChooserItem();
        //item.connect('activate', Lang.bind(this, this._onMyAccountActivate));
        //this.menu.addMenuItem(item);
        //this._statusChooser = item;

        item = new PopupMenu.PopupSwitchMenuItem(_("Notifications"));
        item.connect('toggled', Lang.bind(this, this._updatePresenceStatus));
        //this.menu.addMenuItem(item);
        this._notificationsSwitch = item;

        //item = new PopupMenu.PopupSeparatorMenuItem();
        //this.menu.addMenuItem(item);

        //item = new PopupMenu.PopupMenuItem(_("Online Accounts"));
        //item.connect('activate', Lang.bind(this, this._onOnlineAccountsActivate));
        //this.menu.addMenuItem(item);

Offline

Board footer

Powered by FluxBB