resize-popup: set a bigger margin

Since we're going to use the tooltip's rounded corners we need a little
bit more of margin (which wasn't a bad idea even with the frame).
Also, don't use GtkMisc for this anymore.

https://bugzilla.gnome.org/show_bug.cgi?id=692741
This commit is contained in:
Cosimo Cecchi 2013-01-28 16:46:14 -05:00
parent c3ffd28bb6
commit 34fc234fd7

View File

@ -84,7 +84,7 @@ ensure_size_window (MetaResizePopup *popup)
TRUE);
popup->size_label = gtk_label_new ("");
gtk_misc_set_padding (GTK_MISC (popup->size_label), 3, 3);
g_object_set (popup->size_label, "margin", 6, NULL);
gtk_container_add (GTK_CONTAINER (popup->size_window), popup->size_label);