Expand command entry width when expanding Build Commands dialog.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4215 ea778897-0a13-0410-b9d1-a72fbfd435f5
This commit is contained in:
parent
64dc60bd82
commit
77b060e1cc
@ -3,6 +3,8 @@
|
||||
* src/utils.c:
|
||||
Speed up sorting in utils_get_file_list(). This reduces the file
|
||||
browser delay on displaying a big directory, e.g. /usr/bin.
|
||||
* src/build.c:
|
||||
Expand command entry width when expanding Build Commands dialog.
|
||||
|
||||
|
||||
2009-09-20 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
|
||||
|
||||
@ -1731,9 +1731,11 @@ static RowWidgets *build_add_dialog_row(GeanyDocument *doc, GtkTable *table, gin
|
||||
roww->dst = dst;
|
||||
for (i = 0; i < GEANY_BC_CMDENTRIES_COUNT; i++)
|
||||
{
|
||||
gint xflags = (i == GEANY_BC_COMMAND) ? GTK_FILL | GTK_EXPAND : GTK_FILL;
|
||||
|
||||
column += 1;
|
||||
roww->entries[i] = gtk_entry_new();
|
||||
gtk_table_attach(table, roww->entries[i], column, column + 1, row, row + 1, GTK_FILL,
|
||||
gtk_table_attach(table, roww->entries[i], column, column + 1, row, row + 1, xflags,
|
||||
GTK_FILL | GTK_EXPAND, entry_x_padding, entry_y_padding);
|
||||
}
|
||||
column++;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user