<?xml version="1.0"?> <interface> <requires lib="gtk+" version="2.16"/> <!-- interface-naming-policy project-wide --> <object class="GtkWindow" id="simple_scan_window"> <property name="title" translatable="yes" comments="Title of scan window">Simple Scan</property> <property name="icon_name">scanner</property> <signal name="configure_event" handler="simple_scan_window_configure_event_cb"/> <signal name="delete_event" handler="window_delete_event_cb"/> <signal name="window_state_event" handler="simple_scan_window_window_state_event_cb"/> <child> <object class="GtkVBox" id="main_vbox"> <property name="visible">True</property> <child> <object class="GtkMenuBar" id="menubar"> <property name="visible">True</property> <child> <object class="GtkMenuItem" id="document_menuitem"> <property name="visible">True</property> <property name="label" translatable="yes" comments="Label on document menu (contains actions for this document, e.g. save, print)">_Document</property> <property name="use_underline">True</property> <child type="submenu"> <object class="GtkMenu" id="document_menu"> <property name="visible">True</property> <child> <object class="GtkImageMenuItem" id="new_menuitem"> <property name="label">gtk-new</property> <property name="visible">True</property> <property name="use_underline">True</property> <property name="use_stock">True</property> <accelerator key="n" signal="activate" modifiers="GDK_CONTROL_MASK"/> <signal name="activate" handler="new_button_clicked_cb"/> </object> </child> <child> <object class="GtkImageMenuItem" id="scan_menuitem"> <property name="label" translatable="yes" comments="Scan menu item">Sc_an</property> <property name="visible">True</property> <property name="use_underline">True</property> <property name="use_stock">False</property> <child type="submenu"> <object class="GtkMenu" id="scan_menu"> <property name="visible">True</property> <child> <object class="GtkMenuItem" id="scan_single_menuitem"> <property name="visible">True</property> <property name="label" translatable="yes" comments="Scan menu item to scan a single page from the scanner">Single _Page</property> <property name="use_underline">True</property> <accelerator key="1" signal="activate" modifiers="GDK_CONTROL_MASK"/> <signal name="activate" handler="scan_button_clicked_cb"/> </object> </child> <child> <object class="GtkMenuItem" id="scan_all_menuitem"> <property name="visible">True</property> <property name="label" translatable="yes" comments="Scan menu item to scan all pages from a document feeder">All Pages From _Feeder</property> <property name="use_underline">True</property> <accelerator key="f" signal="activate" modifiers="GDK_CONTROL_MASK"/> <signal name="activate" handler="continuous_scan_button_clicked_cb"/> </object> </child> <child> <object class="GtkMenuItem" id="stop_scan_menuitem"> <property name="visible">True</property> <property name="sensitive">False</property> <property name="label" translatable="yes" comments="Menu entry to stop current scan">_Stop Scan</property> <property name="use_underline">True</property> <accelerator key="Escape" signal="activate"/> <signal name="activate" handler="stop_scan_button_clicked_cb"/> </object> </child> <child> <object class="GtkSeparatorMenuItem" id="menuitem2"> <property name="visible">True</property> </object> </child> <child> <object class="GtkRadioMenuItem" id="text_menuitem"> <property name="visible">True</property> <property name="label" translatable="yes">Text</property> <property name="use_underline">True</property> <property name="draw_as_radio">True</property> <signal name="toggled" handler="text_menuitem_toggled_cb"/> </object> </child> <child> <object class="GtkRadioMenuItem" id="photo_menuitem"> <property name="visible">True</property> <property name="label" translatable="yes">Photo</property> <property name="use_underline">True</property> <property name="active">True</property> <property name="draw_as_radio">True</property> <property name="group">text_menuitem</property> <signal name="toggled" handler="photo_menuitem_toggled_cb"/> </object> </child> </object> </child> </object> </child> <child> <object class="GtkImageMenuItem" id="save_menuitem"> <property name="label">gtk-save</property> <property name="visible">True</property> <property name="sensitive">False</property> <property name="use_underline">True</property> <property name="use_stock">True</property> <accelerator key="s" signal="activate" modifiers="GDK_CONTROL_MASK"/> <signal name="activate" handler="save_file_button_clicked_cb"/> </object> </child> <child> <object class="GtkImageMenuItem" id="save_as_menuitem"> <property name="label">gtk-save-as</property> <property name="visible">True</property> <property name="sensitive">False</property> <property name="use_underline">True</property> <property name="use_stock">True</property> <accelerator key="s" signal="activate" modifiers="GDK_SHIFT_MASK | GDK_CONTROL_MASK"/> <signal name="activate" handler="save_as_file_button_clicked_cb"/> </object> </child> <child> <object class="GtkImageMenuItem" id="email_menuitem"> <property name="label" translatable="yes" comments="Label on email menu item">_Email</property> <property name="visible">True</property> <property name="use_underline">True</property> <property name="image">email_image</property> <property name="use_stock">False</property> <accelerator key="e" signal="activate" modifiers="GDK_CONTROL_MASK"/> <signal name="activate" handler="email_button_clicked_cb"/> </object> </child> <child> <object class="GtkImageMenuItem" id="print_menuitem"> <property name="label">gtk-print</property> <property name="visible">True</property> <property name="use_underline">True</property> <property name="use_stock">True</property> <accelerator key="p" signal="activate" modifiers="GDK_CONTROL_MASK"/> <signal name="activate" handler="print_button_clicked_cb"/> </object> </child> <child> <object class="GtkSeparatorMenuItem" id="document_sep_menuitem"> <property name="visible">True</property> </object> </child> <child> <object class="GtkImageMenuItem" id="preferences_menuitem"> <property name="label">gtk-preferences</property> <property name="visible">True</property> <property name="use_underline">True</property> <property name="use_stock">True</property> <signal name="activate" handler="preferences_button_clicked_cb"/> </object> </child> <child> <object class="GtkSeparatorMenuItem" id="separatormenuitem1"> <property name="visible">True</property> </object> </child> <child> <object class="GtkImageMenuItem" id="quit_menuitem"> <property name="label">gtk-quit</property> <property name="visible">True</property> <property name="use_underline">True</property> <property name="use_stock">True</property> <accelerator key="q" signal="activate" modifiers="GDK_CONTROL_MASK"/> <accelerator key="w" signal="activate" modifiers="GDK_CONTROL_MASK"/> <signal name="activate" handler="quit_menuitem_activate_cb"/> </object> </child> </object> </child> </object> </child> <child> <object class="GtkMenuItem" id="page_menuitem"> <property name="visible">True</property> <property name="label" translatable="yes" comments="Page menu (contains action for each page, e.g. delete, crop)">_Page</property> <property name="use_underline">True</property> <child type="submenu"> <object class="GtkMenu" id="page_menu"> <property name="visible">True</property> <child> <object class="GtkMenuItem" id="rotate_left_menuitem"> <property name="visible">True</property> <property name="label" translatable="yes" comments="Menu item to rotate page to left (anti-clockwise)">Rotate _Left</property> <property name="use_underline">True</property> <accelerator key="bracketleft" signal="activate"/> <signal name="activate" handler="rotate_left_button_clicked_cb"/> </object> </child> <child> <object class="GtkMenuItem" id="rotate_right_menuitem"> <property name="visible">True</property> <property name="label" translatable="yes" comments="Menu item to rotate page to right (clockwise)">Rotate _Right</property> <property name="use_underline">True</property> <accelerator key="bracketright" signal="activate"/> <signal name="activate" handler="rotate_right_button_clicked_cb"/> </object> </child> <child> <object class="GtkMenuItem" id="crop_menuitem"> <property name="visible">True</property> <property name="label" translatable="yes" comments="Label for page crop submenu">_Crop</property> <property name="use_underline">True</property> <child type="submenu"> <object class="GtkMenu" id="crop_menu"> <property name="visible">True</property> <child> <object class="GtkRadioMenuItem" id="no_crop_menuitem"> <property name="visible">True</property> <property name="label" translatable="yes" comments="Radio button for no crop">_None</property> <property name="use_underline">True</property> <property name="active">True</property> <property name="draw_as_radio">True</property> <signal name="toggled" handler="no_crop_menuitem_toggled_cb"/> </object> </child> <child> <object class="GtkRadioMenuItem" id="a4_menuitem"> <property name="visible">True</property> <property name="label" translatable="yes" comments="Radio button for cropping page to A4 size">A_4</property> <property name="use_underline">True</property> <property name="draw_as_radio">True</property> <property name="group">no_crop_menuitem</property> <signal name="toggled" handler="a4_menuitem_toggled_cb"/> </object> </child> <child> <object class="GtkRadioMenuItem" id="a5_menuitem"> <property name="visible">True</property> <property name="label" translatable="yes" comments="Radio button for cropping page to A5 size">A_5</property> <property name="use_underline">True</property> <property name="draw_as_radio">True</property> <property name="group">no_crop_menuitem</property> <signal name="toggled" handler="a5_menuitem_toggled_cb"/> </object> </child> <child> <object class="GtkRadioMenuItem" id="a6_menuitem"> <property name="visible">True</property> <property name="label" translatable="yes" comments="Radio button for cropping page to A6 size">A_6</property> <property name="use_underline">True</property> <property name="draw_as_radio">True</property> <property name="group">no_crop_menuitem</property> <signal name="toggled" handler="a6_menuitem_toggled_cb"/> </object> </child> <child> <object class="GtkRadioMenuItem" id="letter_menuitem"> <property name="visible">True</property> <property name="label" translatable="yes" comments="Radio button for cropping page to US letter size">_Letter</property> <property name="use_underline">True</property> <property name="draw_as_radio">True</property> <property name="group">no_crop_menuitem</property> <signal name="toggled" handler="letter_menuitem_toggled_cb"/> </object> </child> <child> <object class="GtkRadioMenuItem" id="legal_menuitem"> <property name="visible">True</property> <property name="label" translatable="yes" comments="Radio button for cropping to page to US legal size">Le_gal</property> <property name="use_underline">True</property> <property name="draw_as_radio">True</property> <property name="group">no_crop_menuitem</property> <signal name="toggled" handler="legal_menuitem_toggled_cb"/> </object> </child> <child> <object class="GtkRadioMenuItem" id="4x6_menuitem"> <property name="visible">True</property> <property name="label" translatable="yes" comments="Radio button for cropping page to 4x6 inch">4×6</property> <property name="use_underline">True</property> <property name="draw_as_radio">True</property> <property name="group">no_crop_menuitem</property> <signal name="toggled" handler="four_by_six_menuitem_toggled_cb"/> </object> </child> <child> <object class="GtkRadioMenuItem" id="custom_crop_menuitem"> <property name="visible">True</property> <property name="label" translatable="yes" comments="Radio button for cropping to custom page size">_Custom</property> <property name="use_underline">True</property> <property name="draw_as_radio">True</property> <property name="group">no_crop_menuitem</property> <signal name="toggled" handler="custom_crop_menuitem_toggled_cb"/> </object> </child> <child> <object class="GtkSeparatorMenuItem" id="crop_sep_menuitem"> <property name="visible">True</property> </object> </child> <child> <object class="GtkMenuItem" id="crop_rotate_menuitem"> <property name="visible">True</property> <property name="sensitive">False</property> <property name="label" translatable="yes" comments="Menu item to rotate the crop area">_Rotate Crop</property> <property name="use_underline">True</property> <signal name="activate" handler="crop_rotate_menuitem_activate_cb"/> </object> </child> </object> </child> </object> </child> <child> <object class="GtkMenuItem" id="page_move_left_menuitem"> <property name="visible">True</property> <property name="label" translatable="yes" comments="Menu item to move the selected page to the left">Move Left</property> <accelerator key="less" signal="activate"/> <signal name="activate" handler="page_move_left_menuitem_activate_cb"/> </object> </child> <child> <object class="GtkMenuItem" id="page_move_right_menuitem"> <property name="visible">True</property> <property name="label" translatable="yes" comments="Menu item to move the selected page to the right">Move Right</property> <property name="use_underline">True</property> <accelerator key="greater" signal="activate"/> <signal name="activate" handler="page_move_right_menuitem_activate_cb"/> </object> </child> <child> <object class="GtkImageMenuItem" id="page_delete_menuitem"> <property name="label">gtk-delete</property> <property name="visible">True</property> <property name="use_underline">True</property> <property name="use_stock">True</property> <accelerator key="Delete" signal="activate"/> <signal name="activate" handler="page_delete_menuitem_activate_cb"/> </object> </child> </object> </child> </object> </child> <child> <object class="GtkMenuItem" id="help_menuitem"> <property name="visible">True</property> <property name="label" translatable="yes" comments="Label on help menu">_Help</property> <property name="use_underline">True</property> <child type="submenu"> <object class="GtkMenu" id="help_menu"> <property name="visible">True</property> <child> <object class="GtkImageMenuItem" id="help_contents_menuitem"> <property name="label" translatable="yes" comments="Help|Contents menu">_Contents</property> <property name="visible">True</property> <property name="use_underline">True</property> <property name="image">help_image</property> <property name="use_stock">False</property> <accelerator key="F1" signal="activate"/> <signal name="activate" handler="help_contents_menuitem_activate_cb"/> </object> </child> <child> <object class="GtkImageMenuItem" id="about_menuitem"> <property name="label">gtk-about</property> <property name="visible">True</property> <property name="use_underline">True</property> <property name="use_stock">True</property> <signal name="activate" handler="about_menuitem_activate_cb"/> </object> </child> </object> </child> </object> </child> </object> <packing> <property name="expand">False</property> <property name="position">0</property> </packing> </child> <child> <object class="GtkToolbar" id="toolbar1"> <property name="visible">True</property> <child> <object class="GtkToolButton" id="new_toolbutton"> <property name="visible">True</property> <property name="tooltip_text" translatable="yes" comments="Tooltip for new document button">Start a new document</property> <property name="label" translatable="yes">New</property> <property name="use_underline">True</property> <property name="stock_id">gtk-new</property> <signal name="clicked" handler="new_button_clicked_cb"/> </object> <packing> <property name="expand">False</property> <property name="homogeneous">True</property> </packing> </child> <child> <object class="GtkMenuToolButton" id="scan_toolbutton"> <property name="visible">True</property> <property name="tooltip_text" translatable="yes" comments="Tooltip for scan toolbar button">Scan a single page from the scanner</property> <property name="is_important">True</property> <property name="label" translatable="yes" comments="Label on scan toolbar item">Scan</property> <property name="use_underline">True</property> <property name="icon_name">scanner</property> <property name="menu">scan_toolbutton_menu</property> <signal name="clicked" handler="scan_button_clicked_cb"/> </object> <packing> <property name="expand">False</property> </packing> </child> <child> <object class="GtkToolButton" id="save_toolbutton"> <property name="visible">True</property> <property name="sensitive">False</property> <property name="tooltip_text" translatable="yes" comments="Tooltip for save toolbar button">Save document to a file</property> <property name="is_important">True</property> <property name="label" translatable="yes">Save</property> <property name="use_underline">True</property> <property name="stock_id">gtk-save</property> <signal name="clicked" handler="save_file_button_clicked_cb"/> </object> <packing> <property name="expand">False</property> <property name="homogeneous">True</property> </packing> </child> <child> <object class="GtkToolButton" id="stop_toolbutton"> <property name="visible">True</property> <property name="sensitive">False</property> <property name="tooltip_text" translatable="yes" comments="Tooltip for stop button">Stop the current scan</property> <property name="label" translatable="yes">Stop</property> <property name="use_underline">True</property> <property name="stock_id">gtk-stop</property> <signal name="clicked" handler="stop_scan_button_clicked_cb"/> </object> <packing> <property name="expand">False</property> <property name="homogeneous">True</property> </packing> </child> <child> <object class="GtkSeparatorToolItem" id="toolbutton2"> <property name="visible">True</property> </object> <packing> <property name="expand">False</property> <property name="homogeneous">True</property> </packing> </child> <child> <object class="GtkToolButton" id="rotate_left_toolbutton"> <property name="visible">True</property> <property name="tooltip_text" translatable="yes" comments="Tooltip for rotate left (counter-clockwise) button">Rotate the page to the left (counter-clockwise)</property> <property name="label" translatable="yes" comments="Label on rotate page left (anti-clockwise) item">Rotate Left</property> <property name="use_underline">True</property> <property name="icon_name">object-rotate-left</property> <signal name="clicked" handler="rotate_left_button_clicked_cb"/> </object> <packing> <property name="expand">False</property> <property name="homogeneous">True</property> </packing> </child> <child> <object class="GtkToolButton" id="rotate_right_toolbutton"> <property name="visible">True</property> <property name="tooltip_text" translatable="yes" comments="Tooltip for rotate right (clockwise) button">Rotate the page to the right (clockwise)</property> <property name="label" translatable="yes" comments="Label on rotate page right (clockwise) item">Rotate Right</property> <property name="use_underline">True</property> <property name="icon_name">object-rotate-right</property> <signal name="clicked" handler="rotate_right_button_clicked_cb"/> </object> <packing> <property name="expand">False</property> <property name="homogeneous">True</property> </packing> </child> <child> <object class="GtkToggleToolButton" id="crop_toolbutton"> <property name="visible">True</property> <property name="tooltip_text" translatable="yes">Crop the selected page</property> <property name="is_important">True</property> <property name="label" translatable="yes">Crop</property> <property name="use_underline">True</property> <property name="icon_name">object-crop</property> <signal name="toggled" handler="crop_toolbutton_toggled_cb"/> </object> <packing> <property name="expand">False</property> <property name="homogeneous">True</property> </packing> </child> </object> <packing> <property name="expand">False</property> <property name="position">1</property> </packing> </child> <child> <placeholder/> </child> </object> </child> </object> <object class="GtkListStore" id="mode_store"> <columns> <!-- column-name mode --> <column type="gchararray"/> <!-- column-name label --> <column type="gchararray"/> </columns> <data> <row> <col id="0">text</col> <col id="1" translatable="yes" comments="Combo box label for text scan mode">Text</col> </row> <row> <col id="0">photo</col> <col id="1" translatable="yes" comments="Combo box label for photo scan mode">Photo</col> </row> </data> </object> <object class="GtkListStore" id="device_store"> <columns> <!-- column-name device_name --> <column type="gchararray"/> <!-- column-name label --> <column type="gchararray"/> </columns> </object> <object class="GtkDialog" id="authorize_dialog"> <property name="border_width">12</property> <property name="resizable">False</property> <property name="modal">True</property> <property name="type_hint">normal</property> <property name="urgency_hint">True</property> <property name="transient_for">simple_scan_window</property> <property name="has_separator">False</property> <child internal-child="vbox"> <object class="GtkVBox" id="dialog-vbox1"> <property name="visible">True</property> <property name="spacing">12</property> <child> <object class="GtkVBox" id="vbox5"> <property name="visible">True</property> <property name="border_width">5</property> <property name="spacing">12</property> <child> <object class="GtkLabel" id="authorize_label"> <property name="visible">True</property> <property name="label" comments="This label is set dynamically and is not translated">To connect to ? you need to authorize</property> </object> <packing> <property name="position">0</property> </packing> </child> <child> <object class="GtkTable" id="table2"> <property name="visible">True</property> <property name="n_rows">2</property> <property name="n_columns">2</property> <property name="column_spacing">6</property> <property name="row_spacing">6</property> <child> <object class="GtkEntry" id="username_entry"> <property name="visible">True</property> <property name="can_focus">True</property> <property name="invisible_char">●</property> </object> <packing> <property name="left_attach">1</property> <property name="right_attach">2</property> <property name="y_options">GTK_FILL</property> </packing> </child> <child> <object class="GtkEntry" id="password_entry"> <property name="visible">True</property> <property name="can_focus">True</property> <property name="visibility">False</property> <property name="invisible_char">●</property> </object> <packing> <property name="left_attach">1</property> <property name="right_attach">2</property> <property name="top_attach">1</property> <property name="bottom_attach">2</property> <property name="y_options">GTK_FILL</property> </packing> </child> <child> <object class="GtkLabel" id="username_label"> <property name="visible">True</property> <property name="label" translatable="yes" comments="Label beside username entry">_Username for resource:</property> <property name="use_underline">True</property> <property name="mnemonic_widget">username_entry</property> </object> <packing> <property name="x_options">GTK_FILL</property> <property name="y_options">GTK_FILL</property> </packing> </child> <child> <object class="GtkLabel" id="password_label"> <property name="visible">True</property> <property name="label" translatable="yes" comments="Label beside password entry">_Password:</property> <property name="use_underline">True</property> <property name="mnemonic_widget">password_entry</property> </object> <packing> <property name="top_attach">1</property> <property name="bottom_attach">2</property> <property name="x_options">GTK_FILL</property> <property name="y_options">GTK_FILL</property> </packing> </child> </object> <packing> <property name="expand">False</property> <property name="position">1</property> </packing> </child> </object> <packing> <property name="position">1</property> </packing> </child> <child internal-child="action_area"> <object class="GtkHButtonBox" id="dialog-action_area1"> <property name="visible">True</property> <property name="layout_style">end</property> <child> <object class="GtkButton" id="authorize_button"> <property name="label" translatable="yes" comments="Button to submit authorization dialog">_Authorize</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">True</property> <property name="use_underline">True</property> </object> <packing> <property name="expand">False</property> <property name="fill">False</property> <property name="position">0</property> </packing> </child> </object> <packing> <property name="expand">False</property> <property name="pack_type">end</property> <property name="position">0</property> </packing> </child> </object> </child> <action-widgets> <action-widget response="0">authorize_button</action-widget> </action-widgets> </object> <object class="GtkDialog" id="preferences_dialog"> <property name="border_width">7</property> <property name="title" translatable="yes" comments="Title of preferences dialog">Preferences</property> <property name="resizable">False</property> <property name="icon_name">scanner</property> <property name="type_hint">normal</property> <property name="transient_for">simple_scan_window</property> <property name="has_separator">False</property> <signal name="response" handler="preferences_dialog_response_cb"/> <signal name="delete_event" handler="preferences_dialog_delete_event_cb"/> <child internal-child="vbox"> <object class="GtkVBox" id="dialog-vbox2"> <property name="visible">True</property> <property name="spacing">2</property> <child> <object class="GtkTable" id="table3"> <property name="visible">True</property> <property name="border_width">5</property> <property name="n_rows">5</property> <property name="n_columns">2</property> <property name="column_spacing">6</property> <property name="row_spacing">6</property> <child> <object class="GtkLabel" id="source_label"> <property name="visible">True</property> <property name="xalign">0</property> <property name="label" translatable="yes" comments="Label beside scan source combo box">Scan S_ource:</property> <property name="use_underline">True</property> <property name="mnemonic_widget">device_combo</property> </object> <packing> <property name="x_options">GTK_FILL</property> <property name="y_options">GTK_FILL</property> </packing> </child> <child> <object class="GtkComboBox" id="device_combo"> <property name="visible">True</property> <property name="model">device_store</property> <property name="button_sensitivity">on</property> <signal name="changed" handler="device_combo_changed_cb"/> </object> <packing> <property name="left_attach">1</property> <property name="right_attach">2</property> <property name="y_options">GTK_FILL</property> </packing> </child> <child> <object class="GtkLabel" id="text_dpi_label"> <property name="visible">True</property> <property name="xalign">0</property> <property name="label" translatable="yes" comments="Label beside scan source combo box">_Text Resolution:</property> <property name="use_underline">True</property> <property name="mnemonic_widget">text_dpi_combo</property> </object> <packing> <property name="top_attach">1</property> <property name="bottom_attach">2</property> <property name="x_options">GTK_FILL</property> <property name="y_options">GTK_FILL</property> </packing> </child> <child> <object class="GtkLabel" id="photo_dpi_label"> <property name="visible">True</property> <property name="xalign">0</property> <property name="label" translatable="yes" comments="Label beside scan source combo box">_Photo Resolution:</property> <property name="use_underline">True</property> <property name="mnemonic_widget">photo_dpi_combo</property> </object> <packing> <property name="top_attach">2</property> <property name="bottom_attach">3</property> <property name="x_options">GTK_FILL</property> <property name="y_options">GTK_FILL</property> </packing> </child> <child> <object class="GtkComboBox" id="text_dpi_combo"> <property name="visible">True</property> <property name="model">text_dpi_store</property> </object> <packing> <property name="left_attach">1</property> <property name="right_attach">2</property> <property name="top_attach">1</property> <property name="bottom_attach">2</property> <property name="y_options">GTK_FILL</property> </packing> </child> <child> <object class="GtkComboBox" id="photo_dpi_combo"> <property name="visible">True</property> <property name="model">photo_dpi_store</property> </object> <packing> <property name="left_attach">1</property> <property name="right_attach">2</property> <property name="top_attach">2</property> <property name="bottom_attach">3</property> <property name="y_options">GTK_FILL</property> </packing> </child> <child> <object class="GtkLabel" id="page_side_label"> <property name="visible">True</property> <property name="xalign">0</property> <property name="label" translatable="yes" comments="Label beside scan side combo box">Scan Side:</property> <property name="use_underline">True</property> <property name="mnemonic_widget">photo_dpi_combo</property> </object> <packing> <property name="top_attach">3</property> <property name="bottom_attach">4</property> <property name="x_options">GTK_FILL</property> <property name="y_options">GTK_FILL</property> </packing> </child> <child> <object class="GtkComboBox" id="page_side_combo"> <property name="visible">True</property> <property name="model">page_side_store</property> </object> <packing> <property name="left_attach">1</property> <property name="right_attach">2</property> <property name="top_attach">3</property> <property name="bottom_attach">4</property> <property name="y_options">GTK_FILL</property> </packing> </child> <child> <object class="GtkLabel" id="paper_size_label"> <property name="visible">True</property> <property name="xalign">0</property> <property name="label" translatable="yes" comments="Label beside page size combo box">Page Size:</property> <property name="use_underline">True</property> <property name="mnemonic_widget">photo_dpi_combo</property> </object> <packing> <property name="top_attach">4</property> <property name="bottom_attach">5</property> <property name="x_options">GTK_FILL</property> <property name="y_options">GTK_FILL</property> </packing> </child> <child> <object class="GtkComboBox" id="paper_size_combo"> <property name="visible">True</property> <property name="model">paper_size_store</property> </object> <packing> <property name="left_attach">1</property> <property name="right_attach">2</property> <property name="top_attach">4</property> <property name="bottom_attach">5</property> <property name="y_options">GTK_FILL</property> </packing> </child> </object> <packing> <property name="position">1</property> </packing> </child> <child internal-child="action_area"> <object class="GtkHButtonBox" id="dialog-action_area2"> <property name="visible">True</property> <property name="layout_style">end</property> <child> <object class="GtkButton" id="preferences_close_button"> <property name="label">gtk-close</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">True</property> <property name="use_stock">True</property> </object> <packing> <property name="expand">False</property> <property name="fill">False</property> <property name="position">0</property> </packing> </child> </object> <packing> <property name="expand">False</property> <property name="pack_type">end</property> <property name="position">0</property> </packing> </child> </object> </child> <action-widgets> <action-widget response="1">preferences_close_button</action-widget> </action-widgets> </object> <object class="GtkMenu" id="scan_toolbutton_menu"> <property name="visible">True</property> <child> <object class="GtkMenuItem" id="scan_single_toolbutton_menuitem"> <property name="visible">True</property> <property name="label" translatable="yes" comments="Toolbar scan menu item to scan a single page from the scanner">Single _Page</property> <property name="use_underline">True</property> <signal name="activate" handler="scan_button_clicked_cb"/> </object> </child> <child> <object class="GtkMenuItem" id="scan_all_toolbutton_menuitem"> <property name="visible">True</property> <property name="label" translatable="yes" comments="Toolbar scan menu item to scan all pages from a document feeder">All Pages From _Feeder</property> <property name="use_underline">True</property> <signal name="activate" handler="continuous_scan_button_clicked_cb"/> </object> </child> <child> <object class="GtkSeparatorMenuItem" id="menuitem1"> <property name="visible">True</property> </object> </child> <child> <object class="GtkRadioMenuItem" id="text_toolbutton_menuitem"> <property name="visible">True</property> <property name="label" translatable="yes">Text</property> <property name="use_underline">True</property> <property name="draw_as_radio">True</property> <signal name="toggled" handler="text_menuitem_toggled_cb"/> </object> </child> <child> <object class="GtkRadioMenuItem" id="photo_toolbutton_menuitem"> <property name="visible">True</property> <property name="label" translatable="yes">Photo</property> <property name="use_underline">True</property> <property name="active">True</property> <property name="draw_as_radio">True</property> <property name="group">text_toolbutton_menuitem</property> <signal name="toggled" handler="photo_menuitem_toggled_cb"/> </object> </child> </object> <object class="GtkListStore" id="photo_dpi_store"> <columns> <!-- column-name dpi --> <column type="gint"/> <!-- column-name label --> <column type="gchararray"/> </columns> </object> <object class="GtkListStore" id="text_dpi_store"> <columns> <!-- column-name dpi --> <column type="gint"/> <!-- column-name label --> <column type="gchararray"/> </columns> </object> <object class="GtkImage" id="help_image"> <property name="visible">True</property> <property name="stock">gtk-help</property> </object> <object class="GtkImage" id="email_image"> <property name="visible">True</property> <property name="icon_name">mail-send</property> </object> <object class="GtkListStore" id="page_side_store"> <columns> <!-- column-name side --> <column type="gchararray"/> <!-- column-name label --> <column type="gchararray"/> </columns> <data> <row> <col id="0">both</col> <col id="1" translatable="yes" comments="Combo box label for scanning both sides of a page">Front and Back</col> </row> <row> <col id="0">front</col> <col id="1" translatable="yes" comments="Combo box label for scanning the front side of a page">Front</col> </row> <row> <col id="0">back</col> <col id="1" translatable="yes" comments="Combo box label for scanning the back side of a page">Back</col> </row> </data> </object> <object class="GtkListStore" id="paper_size_store"> <columns> <!-- column-name width --> <column type="gint"/> <!-- column-name height --> <column type="gint"/> <!-- column-name label --> <column type="gchararray"/> </columns> </object> </interface>