I am trying to have the default selection be “Portrait” instead of “Automatic” when the Print Dialog box is opened. I believe this can be done in the printdialog.ui file, but I’m not certain how to do it. Can anyone help?
So far I have tried to change the order of
item translatable=“yes” context=“printdialog|liststore3”>Automatic
item translatable=“yes” context=“printdialog|liststore3”>Portrait
item translatable=“yes” context=“printdialog|liststore3”>Landscape
to
item translatable=“yes” context=“printdialog|liststore3”>Portrait
item translatable=“yes” context=“printdialog|liststore3”>Automatic
item translatable=“yes” context=“printdialog|liststore3”>Landscape
in
object class=“GtkComboBoxText” id=“pageorientationbox”>
While this displays the word “Portrait” (after changing), it does not seem to display the document in portrait mode in the Print Preview. Changing the above only seems to edit the label. The functionality remains as it was originally. Regardless of the label, the top choice is functioning as automatic, the middle choice is portrait, and the bottom choice is Landscape. Any insight into how to make the default choice function as Portrait would be appreciated.
Thank you.