Commit c698d9fe authored by Alexander Larsson's avatar Alexander Larsson Committed by Alexander Larsson

Use the gtk hint calls.

2001-10-11  Alex Larsson  <alexl@redhat.com>

        * foobar-widget.c (foobar_widget_update_winhints):
	Use the gtk hint calls.

	* basep-widget.c (basep_widget_update_winhints):
	Use the gtk hint calls.
parent 2a76f0fb
2001-10-11 Alex Larsson <alexl@redhat.com>
* foobar-widget.c (foobar_widget_update_winhints):
Use the gtk hint calls.
* basep-widget.c (basep_widget_update_winhints):
Use the gtk hint calls.
2001-10-11 Alex Larsson <alexl@redhat.com>
* menu.c (menus_have_icons):
......
......@@ -1096,8 +1096,15 @@ basep_widget_show_hidebutton_pixmaps(BasePWidget *basep)
void
basep_widget_update_winhints (BasePWidget *basep)
{
#if FIXME
GtkWidget *w = GTK_WIDGET (basep);
gtk_window_set_decorated (GTK_WINDOW (w), FALSE);
gtk_window_stick (GTK_WINDOW (w));
/* FIXME: Should be GDK_WINDOW_TYPE_HINT_DOCK */
/*
gtk_window_set_type_hint (GTK_WINDOW (w),
GDK_WINDOW_TYPE_HINT_TOOLBAR);
*/
#if FIXME /* Nearly all of this is old cruft and should just be removed. We need to use the new wm spec instead */
GnomeWinLayer layer;
guint coverhint;
......
......@@ -663,8 +663,12 @@ foobar_widget_set_clock_format (FoobarWidget *foo, const char *clock_format)
void
foobar_widget_update_winhints (FoobarWidget *foo)
{
#if FIXME
GtkWidget *w = GTK_WIDGET (foo);
gtk_window_set_decorated (GTK_WINDOW (w), FALSE);
gtk_window_stick (GTK_WINDOW (w));
gtk_window_set_type_hint (GTK_WINDOW (w),
GDK_WINDOW_TYPE_HINT_MENU);
#if FIXME /* Nearly all of this is old cruft and should just be removed. We need to use the new wm spec instead */
GnomeWinLayer layer;
if ( ! foo->compliant_wm)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment