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
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 > menu/main- menu/src/ main-menu. c
gnome-main-
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)) _remove (GTK_CONTAINER (priv-> panel_applet) , child);
gtk_container
switch (orientation) { ORIENT_ LEFT: >panel_ button = priv->panel_buttons [PANEL_ BUTTON_ ORIENT_ RIGHT];
case PANEL_APPLET_
priv-
break;
case PANEL_APPLET_ ORIENT_ RIGHT: >panel_ button = priv->panel_buttons [PANEL_ BUTTON_ ORIENT_ LEFT];
priv-
break;
case PANEL_APPLET_ ORIENT_ UP: >panel_ button = priv->panel_buttons [PANEL_ BUTTON_ ORIENT_ BOTTOM] ;
priv-
break;
default: >panel_ button = priv->panel_buttons [PANEL_ BUTTON_ ORIENT_ TOP];
priv-
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?