View Single Post
allnameswereout's Avatar
Posts: 3,397 | Thanked: 1,212 times | Joined on Jul 2008 @ Netherlands
#5
Hmm you're right, there is no gtk_window_* defined. But hildon-navigator-button-one is not used in advanced-backlight either.

Advanced Backlight does this

/* Create menu window and set its style */
priv->menu = gtk_window_new (GTK_WINDOW_POPUP);
gtk_window_set_type_hint (GTK_WINDOW (priv->menu), GDK_WINDOW_TYPE_HINT_MENU);
gtk_window_set_is_temporary (GTK_WINDOW (priv->menu), TRUE);
gtk_widget_set_name (priv->menu, "hildon-status-bar-popup");
gtk_window_set_resizable (GTK_WINDOW (priv->menu), FALSE);
gtk_window_set_decorated (GTK_WINDOW (priv->menu), FALSE);
gtk_container_set_border_width (GTK_CONTAINER (priv->menu), HILDON_STATUS_BAR_BORDER_WIDTH);
and Load Applet does e.g. this:

void*
load_initialize(HildonStatusBarItem *item,
GtkWidget **button)
{
osso_return_t status;
So I think the latter is based on Maemo 3.x or at least that style

But then still, gtk_widget_set_name just sets the name of the widget, why would that be related to the applet/panel being active?
__________________
Goosfraba! All text written by allnameswereout is public domain unless stated otherwise. Thank you for sharing your output!