diff options
author | jstebbins <[email protected]> | 2014-02-25 21:01:35 +0000 |
---|---|---|
committer | jstebbins <[email protected]> | 2014-02-25 21:01:35 +0000 |
commit | 8f312fa1ea66ec3c30cf00ec283720c5a3e07cc0 (patch) | |
tree | 02f7e20f48f208112f5098fb0bad4907f000237d /gtk/src/hb-backend.c | |
parent | 0d059773392af25d4e86aeda2edf595cd6c5dd92 (diff) |
LinGui: add a "Reset All Titles" button
This provides a convenient way for the user to update all currently
loaded titles to the current settings.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6085 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'gtk/src/hb-backend.c')
-rw-r--r-- | gtk/src/hb-backend.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gtk/src/hb-backend.c b/gtk/src/hb-backend.c index aca268e89..c7b07481d 100644 --- a/gtk/src/hb-backend.c +++ b/gtk/src/hb-backend.c @@ -1178,6 +1178,8 @@ ghb_init_combo_box(GtkComboBox *combo) { gtk_cell_layout_clear(GTK_CELL_LAYOUT(combo)); cell = GTK_CELL_RENDERER(gtk_cell_renderer_text_new()); + g_object_set(cell, "max-width-chars", 60, NULL); + g_object_set(cell, "ellipsize", PANGO_ELLIPSIZE_END, NULL); gtk_cell_layout_pack_start(GTK_CELL_LAYOUT(combo), cell, TRUE); gtk_cell_layout_set_attributes(GTK_CELL_LAYOUT(combo), cell, "markup", 0, "sensitive", 1, NULL); |