1
1

1998-10-23 Federico Mena Quintero <federico@nuclecu.unam.mx>

* desktop-icon.c (desktop_icon_realize): Doh.  We need to
	initialize the gnome_win_hints before we set any of the hints.
Этот коммит содержится в:
Miguel de Icaza 1998-10-23 18:54:28 +00:00
родитель 772cae09e0
Коммит c7b818533c
2 изменённых файлов: 19 добавлений и 1 удалений

Просмотреть файл

@ -1,3 +1,8 @@
1998-10-23 Federico Mena Quintero <federico@nuclecu.unam.mx>
* desktop-icon.c (desktop_icon_realize): Doh. We need to
initialize the gnome_win_hints before we set any of the hints.
1998-10-21 Federico Mena Quintero <federico@nuclecu.unam.mx>
* gdesktop.c (create_desktop_icon): Renamed from

Просмотреть файл

@ -208,7 +208,20 @@ desktop_icon_realize (GtkWidget *widget)
if (GTK_WIDGET_CLASS (parent_class)->realize)
(* GTK_WIDGET_CLASS (parent_class)->realize) (widget);
/* FIXME: set the appropriate WM hints for desktop icons */
/* Set the window decorations to none and hints to the appropriate combination */
gnome_win_hints_init ();
if (gnome_win_hints_wm_exists ()) {
gdk_window_set_decorations (widget->window, 0);
gdk_window_set_functions (widget->window, 0);
gnome_win_hints_set_layer (widget, WIN_LAYER_DESKTOP);
gnome_win_hints_set_hints (widget,
(WIN_HINTS_SKIP_FOCUS
| WIN_HINTS_SKIP_WINLIST
| WIN_HINTS_SKIP_TASKBAR));
}
}
GtkWidget *