Now the behavior has changed.
If the panel is Oriented to the Right , 
The new items are added to the left of the messaging menu
And when a new item is present the messaging menu is hidden.

The gnome-main-menu is able to switch the orientation probably from >
gnome-main-menu/main-menu/src/main-menu.c

reorient_panel_button (MainMenuUI *this)
{
        MainMenuUIPrivate *priv = PRIVATE (this);

        PanelAppletOrient orientation;

        GtkWidget *child;


        orientation = panel_applet_get_orient (priv->panel_applet);

        child = gtk_bin_get_child (GTK_BIN (priv->panel_applet));

        if (GTK_IS_WIDGET (child))
                gtk_container_remove (GTK_CONTAINER (priv->panel_applet), 
child);

        switch (orientation) {
                case PANEL_APPLET_ORIENT_LEFT:
                        priv->panel_button = priv->panel_buttons 
[PANEL_BUTTON_ORIENT_RIGHT];
                        break;

                case PANEL_APPLET_ORIENT_RIGHT:
                        priv->panel_button = priv->panel_buttons 
[PANEL_BUTTON_ORIENT_LEFT];
                        break;

                case PANEL_APPLET_ORIENT_UP:
                        priv->panel_button = priv->panel_buttons 
[PANEL_BUTTON_ORIENT_BOTTOM];
                        break;

                default:
                        priv->panel_button = priv->panel_buttons 
[PANEL_BUTTON_ORIENT_TOP];
                        break;
        }

        gtk_container_add (GTK_CONTAINER (priv->panel_applet), GTK_WIDGET 
(priv->panel_button));
}


Is there a way to make this work in indicator application too?

** Also affects: indicator-application
   Importance: Undecided
       Status: New

-- 
Indicator-application does not support vertical panels
https://bugs.launchpad.net/bugs/498182
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to