Commit 181c9efb authored by Michael Natterer's avatar Michael Natterer 😴 Committed by Michael Natterer
Browse files

ellipsize the module info labels so they don't make the dialog grow when

2007-02-09  Michael Natterer  <mitch@gimp.org>

	* app/dialogs/module-dialog.c (dialog_info_init): ellipsize the
	module info labels so they don't make the dialog grow when
	browsing the module list.


svn path=/trunk/; revision=21879
parent d1a2697c
2007-02-09 Michael Natterer <mitch@gimp.org>
* app/dialogs/module-dialog.c (dialog_info_init): ellipsize the
module info labels so they don't make the dialog grow when
browsing the module list.
2007-02-09 Sven Neumann <sven@gimp.org>
 
* app/tools/gimprectangletool.c: moved duplicated code to
......@@ -525,9 +525,11 @@ dialog_info_init (ModuleDialog *dialog,
dialog->label[i] = gtk_label_new ("");
gtk_misc_set_alignment (GTK_MISC (dialog->label[i]), 0.0, 0.5);
gtk_label_set_ellipsize (GTK_LABEL (dialog->label[i]),
PANGO_ELLIPSIZE_END);
gtk_table_attach (GTK_TABLE (dialog->table), dialog->label[i],
1, 2, i, i + 1,
GTK_SHRINK | GTK_FILL, GTK_SHRINK | GTK_FILL, 0, 2);
GTK_EXPAND | GTK_FILL, GTK_SHRINK | GTK_FILL, 0, 2);
gtk_widget_show (dialog->label[i]);
}
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment