composer: Ellipsize from fields
Allow the from_multiple combobox to ellipsize if the name/address is too long to fit on the screen.
This commit is contained in:
parent
2aff2694b2
commit
decd33d355
2 changed files with 6 additions and 1 deletions
|
|
@ -1207,7 +1207,7 @@ public class Application.MainWindow :
|
|||
on_conversation_view_added
|
||||
);
|
||||
|
||||
this.conversations_paned.pack2(this.conversation_viewer, true, true);
|
||||
this.conversations_paned.pack2(this.conversation_viewer, true, false);
|
||||
|
||||
// Main toolbar
|
||||
this.main_toolbar = new MainToolbar(config);
|
||||
|
|
|
|||
|
|
@ -605,6 +605,11 @@ public class Composer.Widget : Gtk.EventBox, Geary.BaseInterface {
|
|||
);
|
||||
this.background_work_pulse.repetition = FOREVER;
|
||||
|
||||
// Set the from_multiple combo box to ellipsize. This can't be done
|
||||
// from the .ui file.
|
||||
var cells = this.from_multiple.get_cells();
|
||||
((Gtk.CellRendererText) cells.data).ellipsize = END;
|
||||
|
||||
load_entry_completions();
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue