Stripped Down Zenity For MCPI-Reborn
3b64d05e8a
The fix for Zenity bug 670496 "Zenity info/error windows grow in height with message length" (https://bugzilla.gnome.org/show_bug.cgi?id=670496) stopped working on recent Gtk, which doesn't seem to honor gtk_widget_set_size_request. This commit workarounds Gtk bug 657621 "Calculate the wrong height of labels wrapping on words" (https://bugzilla.gnome.org/show_bug.cgi?id=657621) by setting label's width-chars and max-width-chars to 60. This magic number was picked from GtkMessageDialog source (https://git.gnome.org/browse/gtk+/tree/gtk/ui/gtkmessagedialog.ui#n48). |
||
---|---|---|
data | ||
help | ||
po | ||
src | ||
.bzrignore | ||
.cvsignore | ||
AUTHORS | ||
autogen.sh | ||
ChangeLog | ||
ChangeLog.pre-git | ||
configure.ac | ||
COPYING | ||
HACKING | ||
MAINTAINERS | ||
Makefile.am | ||
NEWS | ||
README | ||
THANKS | ||
TODO | ||
zenity.doap |
Zen Understanding - =================== This is zenity - a rewrite of gdialog, the GNOME port of dialog which allows you to display dialog boxes from the commandline and shell scripts. If you understand, things are just as they are. If you don't understand, things are just as they are. This software is licensed under the LGPL. Zen Requirements - ================== gtk+-3.0