+2008-11-19 Claudio Saavedra <csaavedra@igalia.com>
+
+ Patch contributed by Adam Endrodi (adam.endrodi@blumsoft.eu)
+
+ * src/hildon-note.c: (hildon_note_init), (hildon_note_realize): Set properly
+ the WINDOW_TYPE property.
+
+ Fixes: NB#92897 (HildonNotes have incorrect WINDOW_TYPE)
+
2008-11-19 Alberto Garcia <agarcia@igalia.com>
* doc/gtk-doc.make:
gtk_dialog_set_has_separator (GTK_DIALOG (dialog), FALSE);
gtk_window_set_modal (GTK_WINDOW (dialog), TRUE);
+
+ /* We use special hint to turn the note into information notification. */
+ gtk_window_set_type_hint (GTK_WINDOW (dialog), GDK_WINDOW_TYPE_HINT_NOTIFICATION);
}
priv->sound_signal_handler = g_signal_connect_after(widget,
"expose-event", G_CALLBACK (sound_handling), NULL);
- /* We use special hint to turn the note into information notification. */
- gdk_window_set_type_hint (widget->window, GDK_WINDOW_TYPE_HINT_NOTIFICATION);
-
/* Set the _HILDON_NOTIFICATION_TYPE property so Matchbox places the window correctly */
display = gdk_drawable_get_display (widget->window);
atom = gdk_x11_get_xatom_by_name_for_display (display, "_HILDON_NOTIFICATION_TYPE");