G_CALLBACK (midori_browser_news_feed_clicked_cb), browser);
gtk_menu_shell_append (GTK_MENU_SHELL (menu), menuitem);
}
- sokoke_container_show_children (GTK_CONTAINER (menu));
+ gtk_container_foreach (GTK_CONTAINER (menu),
+ (GtkCallback)(gtk_widget_show_all), NULL);
katze_widget_popup (widget, GTK_MENU (menu), NULL,
KATZE_MENU_POSITION_RIGHT);
}
gtk_widget_hide (widget);
}
-void
-sokoke_container_show_children (GtkContainer* container)
-{
- /* Show every child but not the container itself */
- gtk_container_foreach (container, (GtkCallback)(gtk_widget_show_all), NULL);
-}
-
typedef enum
{
SOKOKE_DESKTOP_UNTESTED,
sokoke_widget_set_visible (GtkWidget* widget,
gboolean visible);
-void
-sokoke_container_show_children (GtkContainer* container);
-
GtkWidget*
sokoke_xfce_header_new (const gchar* icon,
const gchar* title);
g_signal_connect (findbar->find_close, "clicked",
G_CALLBACK (midori_findbar_button_close_clicked_cb), findbar);
gtk_toolbar_insert (GTK_TOOLBAR (findbar), findbar->find_close, -1);
- sokoke_container_show_children (GTK_CONTAINER (findbar));
+ gtk_container_foreach (GTK_CONTAINER (findbar),
+ (GtkCallback)(gtk_widget_show_all), NULL);
}
void