diff options
Diffstat (limited to 'panels/removable-media/cc-removable-media-panel.ui')
-rw-r--r-- | panels/removable-media/cc-removable-media-panel.ui | 460 |
1 files changed, 460 insertions, 0 deletions
diff --git a/panels/removable-media/cc-removable-media-panel.ui b/panels/removable-media/cc-removable-media-panel.ui new file mode 100644 index 0000000..2feb46c --- /dev/null +++ b/panels/removable-media/cc-removable-media-panel.ui @@ -0,0 +1,460 @@ +<?xml version="1.0" encoding="UTF-8"?> +<interface> + <!-- interface-requires gtk+ 3.0 --> + <template class="CcRemovableMediaPanel" parent="CcPanel"> + <property name="visible">True</property> + <property name="can-focus">False</property> + <property name="expand">True</property> + <property name="margin_top">32</property> + <property name="margin_bottom">32</property> + <property name="margin_left">24</property> + <property name="margin_right">24</property> + <child> + <object class="GtkBox"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="orientation">horizontal</property> + <child> + <object class="GtkBox"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="spacing">18</property> + <property name="orientation">vertical</property> + <child> + <object class="GtkBox" id="handlers_box"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="spacing">10</property> + <property name="valign">start</property> + <property name="vexpand">False</property> + <property name="orientation">vertical</property> + <child> + <object class="GtkBox"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="spacing">10</property> + <property name="orientation">vertical</property> + <child> + <object class="GtkLabel"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="halign">center</property> + <property name="justify">center</property> + <property name="wrap">True</property> + <property name="label" translatable="yes">Select how media should be handled</property> + <property name="margin_bottom">12</property> + <style> + <class name="dim-label"/> + </style> + </object> + <packing> + <property name="expand">False</property> + <property name="fill">False</property> + <property name="position">0</property> + </packing> + </child> + <child> + <object class="GtkBox"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="spacing">18</property> + <property name="margin-start">12</property> + <property name="orientation">vertical</property> + <child> + <object class="GtkGrid"> + <property name="visible">True</property> + <property name="can-focus">False</property> + <property name="hexpand">True</property> + <property name="column-spacing">6</property> + <property name="row-spacing">12</property> + <child> + <object class="GtkLabel"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="xalign">1</property> + <property name="label" translatable="yes">CD _audio</property> + <property name="use_underline">True</property> + <property name="mnemonic_widget">audio_cdda_chooser</property> + <style> + <class name="dim-label"/> + </style> + </object> + <packing> + <property name="top-attach">0</property> + <property name="left-attach">0</property> + </packing> + </child> + <child> + <object class="GtkLabel"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="xalign">1</property> + <property name="label" translatable="yes">_DVD video</property> + <property name="use_underline">True</property> + <property name="mnemonic_widget">video_dvd_chooser</property> + <style> + <class name="dim-label"/> + </style> + </object> + <packing> + <property name="top-attach">1</property> + <property name="left-attach">0</property> + </packing> + </child> + <child> + <object class="GtkAppChooserButton" id="audio_cdda_chooser"> + <property name="visible">True</property> + <property name="hexpand">True</property> + <property name="can_focus">False</property> + <property name="content_type">x-content/audio-cdda</property> + </object> + <packing> + <property name="top-attach">0</property> + <property name="left-attach">1</property> + </packing> + </child> + <child> + <object class="GtkAppChooserButton" id="video_dvd_chooser"> + <property name="visible">True</property> + <property name="hexpand">True</property> + <property name="can_focus">False</property> + <property name="content_type">x-content/video-dvd</property> + </object> + <packing> + <property name="top-attach">1</property> + <property name="left-attach">1</property> + </packing> + </child> + <child> + <object class="GtkLabel"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="xalign">1</property> + <property name="label" translatable="yes">_Music player</property> + <property name="use_underline">True</property> + <property name="mnemonic_widget">music_player_chooser</property> + <style> + <class name="dim-label"/> + </style> + </object> + <packing> + <property name="top-attach">2</property> + <property name="left-attach">0</property> + </packing> + </child> + <child> + <object class="GtkAppChooserButton" id="music_player_chooser"> + <property name="visible">True</property> + <property name="hexpand">True</property> + <property name="can_focus">False</property> + <property name="content_type">x-content/audio-player</property> + </object> + <packing> + <property name="top-attach">2</property> + <property name="left-attach">1</property> + </packing> + </child> + <child> + <object class="GtkLabel"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="xalign">1</property> + <property name="label" translatable="yes">_Photos</property> + <property name="use_underline">True</property> + <property name="mnemonic_widget">dcf_chooser</property> + <style> + <class name="dim-label"/> + </style> + </object> + <packing> + <property name="top-attach">3</property> + <property name="left-attach">0</property> + </packing> + </child> + <child> + <object class="GtkAppChooserButton" id="dcf_chooser"> + <property name="visible">True</property> + <property name="hexpand">True</property> + <property name="can_focus">False</property> + <property name="content_type">x-content/image-dcf</property> + </object> + <packing> + <property name="top-attach">3</property> + <property name="left-attach">1</property> + </packing> + </child> + <child> + <object class="GtkLabel"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="xalign">1</property> + <property name="label" translatable="yes">_Software</property> + <property name="use_underline">True</property> + <property name="mnemonic_widget">software_chooser</property> + <style> + <class name="dim-label"/> + </style> + </object> + <packing> + <property name="top-attach">4</property> + <property name="left-attach">0</property> + </packing> + </child> + <child> + <object class="GtkAppChooserButton" id="software_chooser"> + <property name="visible">True</property> + <property name="hexpand">True</property> + <property name="can_focus">False</property> + <property name="content_type">x-content/unix-software</property> + </object> + <packing> + <property name="top-attach">4</property> + <property name="left-attach">1</property> + </packing> + </child> + </object> + <packing> + <property name="expand">False</property> + <property name="fill">True</property> + <property name="position">0</property> + </packing> + </child> + <child> + <object class="GtkBox"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="orientation">horizontal</property> + <child> + <object class="GtkButton" id="extra_options_button"> + <property name="label" translatable="yes">_Other Media…</property> + <property name="visible">True</property> + <property name="can_focus">True</property> + <property name="receives_default">True</property> + <property name="use_action_appearance">False</property> + <property name="use_underline">True</property> + <signal name="clicked" handler="on_extra_options_button_clicked" object="CcRemovableMediaPanel" swapped="yes"/> + </object> + <packing> + <property name="expand">False</property> + <property name="fill">False</property> + <property name="pack_type">end</property> + <property name="position">0</property> + </packing> + </child> + </object> + <packing> + <property name="expand">True</property> + <property name="fill">True</property> + <property name="position">1</property> + </packing> + </child> + </object> + <packing> + <property name="expand">False</property> + <property name="fill">True</property> + <property name="position">1</property> + </packing> + </child> + </object> + <packing> + <property name="expand">False</property> + <property name="fill">True</property> + <property name="position">0</property> + </packing> + </child> + </object> + <packing> + <property name="expand">False</property> + <property name="fill">False</property> + <property name="position">0</property> + </packing> + </child> + <child> + <object class="GtkCheckButton" id="autorun_never_checkbutton"> + <property name="visible">True</property> + <property name="can_focus">True</property> + <property name="receives_default">False</property> + <property name="use_action_appearance">False</property> + <property name="draw_indicator">True</property> + <property name="valign">end</property> + <property name="vexpand">False</property> + <child> + <object class="GtkLabel"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="wrap">True</property> + <property name="xalign">0</property> + <property name="use_underline">True</property> + <property name="label" translatable="yes">_Never prompt or start programs on media insertion</property> + </object> + </child> + </object> + <packing> + <property name="expand">False</property> + <property name="fill">False</property> + <property name="position">1</property> + </packing> + </child> + </object> + <packing> + <property name="expand">True</property> + <property name="fill">False</property> + <property name="position">0</property> + </packing> + </child> + </object> + </child> + </template> + + <object class="GtkDialog" id="other_type_dialog"> + <property name="can_focus">False</property> + <property name="border_width">10</property> + <property name="resizable">False</property> + <property name="modal">True</property> + <property name="destroy_with_parent">True</property> + <property name="type_hint">dialog</property> + <property name="use_header_bar">1</property> + <signal name="delete-event" handler="gtk_widget_hide_on_delete"/> + <signal name="response" handler="on_extra_options_dialog_response" object="CcRemovableMediaPanel" swapped="yes"/> + <child internal-child="vbox"> + <object class="GtkBox"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="orientation">vertical</property> + <property name="spacing">2</property> + <child> + <object class="GtkBox"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="border_width">5</property> + <property name="orientation">vertical</property> + <child> + <object class="GtkBox"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="spacing">10</property> + <property name="orientation">vertical</property> + <child> + <object class="GtkLabel"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="xalign">0</property> + <property name="label" translatable="yes">Select how other media should be handled</property> + <attributes> + <attribute name="weight" value="bold"/> + </attributes> + </object> + <packing> + <property name="expand">False</property> + <property name="fill">False</property> + <property name="position">0</property> + </packing> + </child> + <child> + <object class="GtkBox"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="spacing">6</property> + <property name="margin-start">12</property> + <property name="orientation">vertical</property> + <child> + <object class="GtkGrid"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="column_spacing">6</property> + <property name="row_spacing">10</property> + <child> + <object class="GtkComboBox" id="other_type_combo_box"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="model">other_type_list_store</property> + <signal name="changed" handler="on_other_type_combo_box_changed" object="CcRemovableMediaPanel" swapped="yes"/> + <child> + <object class="GtkCellRendererText"/> + <attributes> + <attribute name="text">0</attribute> + </attributes> + </child> + </object> + <packing> + <property name="left_attach">1</property> + <property name="top_attach">0</property> + </packing> + </child> + <child> + <object class="GtkLabel" id="other_action_label"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="xalign">0</property> + <property name="label" translatable="yes">_Action:</property> + <property name="use_underline">True</property> + </object> + <packing> + <property name="left_attach">0</property> + <property name="top_attach">1</property> + </packing> + </child> + <child> + <object class="GtkBox" id="other_action_box"> + <property name="visible">True</property> + <property name="can_focus">False</property> + </object> + <packing> + <property name="left_attach">1</property> + <property name="top_attach">1</property> + </packing> + </child> + <child> + <object class="GtkLabel"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="xalign">0</property> + <property name="label" translatable="yes">_Type:</property> + <property name="use_underline">True</property> + <property name="mnemonic_widget">other_type_combo_box</property> + </object> + <packing> + <property name="left_attach">0</property> + <property name="top_attach">0</property> + </packing> + </child> + </object> + <packing> + <property name="expand">False</property> + <property name="fill">True</property> + <property name="position">1</property> + </packing> + </child> + </object> + <packing> + <property name="expand">False</property> + <property name="fill">True</property> + <property name="position">1</property> + </packing> + </child> + </object> + <packing> + <property name="expand">False</property> + <property name="fill">True</property> + <property name="position">0</property> + </packing> + </child> + </object> + <packing> + <property name="expand">False</property> + <property name="fill">True</property> + <property name="position">1</property> + </packing> + </child> + </object> + </child> + </object> + <object class="GtkListStore" id="other_type_list_store"> + <columns> + <!-- column-name description --> + <column type="gchararray"/> + <!-- column-name content-type --> + <column type="gchararray"/> + </columns> + </object> +</interface> |