* src/hildon-gtk.h
* src/hildon-gtk.c
(+hildon_gtk_window_set_do_not_disturb):
New API to set the do-not-disturb flag.
Fixes: NB#110959 (Add API to set the do-not-disturb flag to a window)
2009-04-20 Alberto Garcia <agarcia@igalia.com>
+ * src/hildon-gtk.h
+ * src/hildon-gtk.c
+ (+hildon_gtk_window_set_do_not_disturb):
+ New API to set the do-not-disturb flag.
+
+ Fixes: NB#110959 (Add API to set the do-not-disturb flag to a window)
+
+2009-04-20 Alberto Garcia <agarcia@igalia.com>
+
* examples/hildon-progress-indicator-example.c: Fix example
* src/hildon-gtk.c (set_clear_window_flag)
}
/**
+ * hildon_gtk_window_set_do_not_disturb:
+ * @window: a #GtkWindow
+ * @dndflag: %TRUE to set the "do-not-disturb" flag, %FALSE to clear it
+ *
+ * This function tells the window manager to set (or clear) the
+ * "do-not-disturb" flag on @window.
+ *
+ * Note that @window must be realized for this to work.
+ *
+ * Since: 2.2
+ **/
+void
+hildon_gtk_window_set_do_not_disturb (GtkWindow *window,
+ gboolean dndflag)
+{
+ set_clear_window_flag (window, "_HILDON_DO_NOT_DISTURB", dndflag);
+}
+
+/**
* hildon_gtk_hscale_new:
*
* Creates a new horizontal scale widget that lets the user select
hildon_gtk_window_set_progress_indicator (GtkWindow *window,
guint state);
+void
+hildon_gtk_window_set_do_not_disturb (GtkWindow *window,
+ gboolean dndflag);
+
GtkWidget*
hildon_gtk_hscale_new (void);