X-Git-Url: https://vcs.maemo.org/git/?a=blobdiff_plain;f=hildon%2Fhildon-note.c;h=8401c55f8bf301a893c6db8649b632cdd62cb9b1;hb=e7ee40166cd2f77507326ef258b84c65d52c32f3;hp=14c77c1f00d945ae519e0fd0097758a5e949bf2b;hpb=a39066c813c7b6efa34223bcbb93f2c377745094;p=hildon diff --git a/hildon/hildon-note.c b/hildon/hildon-note.c index 14c77c1..8401c55 100644 --- a/hildon/hildon-note.c +++ b/hildon/hildon-note.c @@ -515,7 +515,7 @@ label_size_request (GtkWidget *label, GtkRequisition *req, GtkWidget *note) { - gint note_height = MAX (HILDON_INFORMATION_NOTE_MIN_HEIGHT, req->height); + gint note_height = MAX (HILDON_INFORMATION_NOTE_MIN_HEIGHT, req->height + 2*HILDON_MARGIN_DOUBLE); g_object_set (note, "height-request", note_height, NULL); } @@ -1131,7 +1131,7 @@ on_show_cb (GtkWidget *widget, HildonNotePrivate *priv; priv = HILDON_NOTE_GET_PRIVATE (widget); - priv->idle_handler = g_idle_add (sound_handling, widget); + priv->idle_handler = gdk_threads_add_idle (sound_handling, widget); } /* We play a system sound when the note comes visible */