static void i3_workspaces_orientation_changed (XfcePanelPlugin       *plugin,
                                               GtkOrientation        orientation,
                                               i3WorkspacesPlugin    *i3_workspaces)
{
    /* change the orienation of the box */
    xfce_hvbox_set_orientation (XFCE_HVBOX (i3_workspaces->hvbox), orientation);
}
static void
places_button_orientation_changed(XfcePanelPlugin *plugin, GtkOrientation orientation, PlacesButton *self)
{
    DBG("orientation changed");
    xfce_hvbox_set_orientation(XFCE_HVBOX(self->box), orientation);
    places_button_resize(self);
}
static void
places_button_mode_changed(XfcePanelPlugin *plugin, XfcePanelPluginMode mode, PlacesButton *self)
{
    DBG("orientation changed");
    xfce_hvbox_set_orientation(XFCE_HVBOX(self->box),
                               (mode == XFCE_PANEL_PLUGIN_MODE_VERTICAL) ?
                               GTK_ORIENTATION_VERTICAL : GTK_ORIENTATION_HORIZONTAL);
    places_button_resize(self);
}
static void
time_out_orientation_changed (XfcePanelPlugin *plugin,
                              GtkOrientation  orientation,
                              TimeOutPlugin   *time_out)
{
  g_return_if_fail (plugin != NULL);
  g_return_if_fail (time_out != NULL);

  /* Apply orientation to hvbox */
  xfce_hvbox_set_orientation (XFCE_HVBOX (time_out->hvbox), orientation);
}
static void windowck_orientation_changed(XfcePanelPlugin *plugin, GtkOrientation orientation, WindowckPlugin *wckp)
{
    /* change the orienation of the box */
    xfce_hvbox_set_orientation(XFCE_HVBOX (wckp->hvbox), orientation);
}
Exemple #6
0
static void
update_orientation (XfcePanelPlugin *plugin, GtkOrientation orientation, Bubblemon *base)
{
  xfce_hvbox_set_orientation(XFCE_HVBOX(base->box), orientation);
}