diff --git a/xed/resources/ui/xed-searchbar.ui b/xed/resources/ui/xed-searchbar.ui index 0ecddef..f8123f1 100755 --- a/xed/resources/ui/xed-searchbar.ui +++ b/xed/resources/ui/xed-searchbar.ui @@ -1,5 +1,5 @@ - + @@ -58,6 +58,7 @@ False _Search for: True + end 0 @@ -71,6 +72,7 @@ False Replace _with: True + end 0 @@ -252,5 +254,8 @@ + + + diff --git a/xed/xed-history-entry.c b/xed/xed-history-entry.c index 7497faa..aad20ab 100644 --- a/xed/xed-history-entry.c +++ b/xed/xed-history-entry.c @@ -473,6 +473,7 @@ xed_history_entry_new (const gchar *history_id, gboolean enable_completion) { GtkWidget *ret; + GtkEntry *real_entry; g_return_val_if_fail (history_id != NULL, NULL); @@ -498,6 +499,9 @@ xed_history_entry_new (const gchar *history_id, xed_history_entry_set_enable_completion (XED_HISTORY_ENTRY (ret), enable_completion); + real_entry = GTK_ENTRY (xed_history_entry_get_entry (XED_HISTORY_ENTRY (ret))); + gtk_entry_set_width_chars (real_entry, 6); + return ret; }