Don't know detached panel windows in the taskbar
This commit is contained in:
parent
2cdaa2869e
commit
191f153429
1 changed files with 1 additions and 1 deletions
|
@ -231,7 +231,6 @@ static void
|
||||||
midori_panel_button_detach_clicked_cb (GtkWidget* toolbutton,
|
midori_panel_button_detach_clicked_cb (GtkWidget* toolbutton,
|
||||||
MidoriPanel* panel)
|
MidoriPanel* panel)
|
||||||
{
|
{
|
||||||
/* FIXME: Use stock icon for window */
|
|
||||||
/* FIXME: What happens when the browser is destroyed? */
|
/* FIXME: What happens when the browser is destroyed? */
|
||||||
/* FIXME: What about multiple browsers? */
|
/* FIXME: What about multiple browsers? */
|
||||||
/* FIXME: Should we remember if the child was detached? */
|
/* FIXME: Should we remember if the child was detached? */
|
||||||
|
@ -248,6 +247,7 @@ midori_panel_button_detach_clicked_cb (GtkWidget* toolbutton,
|
||||||
GtkWidget* vbox = gtk_vbox_new (FALSE, 0);
|
GtkWidget* vbox = gtk_vbox_new (FALSE, 0);
|
||||||
g_object_set_data (G_OBJECT (window), "scrolled", scrolled);
|
g_object_set_data (G_OBJECT (window), "scrolled", scrolled);
|
||||||
gtk_window_set_title (GTK_WINDOW (window), title);
|
gtk_window_set_title (GTK_WINDOW (window), title);
|
||||||
|
gtk_window_set_skip_taskbar_hint (GTK_WINDOW (window), TRUE);
|
||||||
gtk_window_set_default_size (GTK_WINDOW (window), 250, 400);
|
gtk_window_set_default_size (GTK_WINDOW (window), 250, 400);
|
||||||
gtk_window_set_transient_for (GTK_WINDOW (window),
|
gtk_window_set_transient_for (GTK_WINDOW (window),
|
||||||
GTK_WINDOW (gtk_widget_get_toplevel (panel->notebook)));
|
GTK_WINDOW (gtk_widget_get_toplevel (panel->notebook)));
|
||||||
|
|
Loading…
Reference in a new issue