diff options
Diffstat (limited to 'panels/sharing/sharing.ui')
-rw-r--r-- | panels/sharing/sharing.ui | 498 |
1 files changed, 252 insertions, 246 deletions
diff --git a/panels/sharing/sharing.ui b/panels/sharing/sharing.ui index af4294dfc..ee514a2b8 100644 --- a/panels/sharing/sharing.ui +++ b/panels/sharing/sharing.ui @@ -2,285 +2,291 @@ <!-- Generated with glade 3.18.1 --> <interface> <requires lib="gtk+" version="3.10"/> - <object class="GtkBox" id="sharing-panel"> + <template class="CcSharingPanel" parent="CcPanel"> <property name="visible">True</property> <property name="can_focus">False</property> - - <!-- Stub boxes to make the content cover 1/3 of the screen --> <child> - <object class="GtkBox"> + <object class="GtkBox" id="sharing_panel"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="hexpand">True</property> - </object> - </child> - <child> - <object class="GtkBox"> - <property name="visible">True</property> - <property name="can_focus">False</property> - <property name="hexpand">True</property> - </object> - <packing> - <property name="pack_type">end</property> - </packing> - </child> - - <!-- Content --> - <child> - <object class="GtkBox"> - <property name="visible">True</property> - <property name="can_focus">False</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> - <property name="hexpand">True</property> - <property name="orientation">vertical</property> + <!-- Stub boxes to make the content cover 1/3 of the screen --> <child> - <object class="GtkLabel" id="label6"> + <object class="GtkBox"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="margin_bottom">12</property> - <property name="xalign">0</property> - <property name="label" translatable="yes">_Computer Name</property> - <property name="use_underline">True</property> - <property name="mnemonic_widget">hostname-entry</property> - <accessibility> - <relation type="label-for" target="hostname-entry"/> - </accessibility> - <attributes> - <attribute name="weight" value="bold"/> - </attributes> + <property name="hexpand">True</property> </object> - <packing> - <property name="expand">False</property> - <property name="fill">True</property> - <property name="position">0</property> - </packing> </child> + <child> - <object class="CcHostnameEntry" id="hostname-entry"> + <object class="GtkBox"> <property name="visible">True</property> - <property name="can_focus">True</property> - <property name="margin_bottom">32</property> - <property name="invisible_char">●</property> - <accessibility> - <relation type="labelled-by" target="label6"/> - </accessibility> + <property name="can_focus">False</property> + <property name="hexpand">True</property> </object> <packing> - <property name="expand">False</property> - <property name="fill">True</property> - <property name="position">1</property> + <property name="pack_type">end</property> </packing> </child> + + <!-- Content --> <child> - <object class="GtkFrame" id="frame1"> + <object class="GtkBox"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label_xalign">0</property> - <property name="shadow_type">in</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> + <property name="hexpand">True</property> + <property name="orientation">vertical</property> + <child> + <object class="GtkLabel" id="label6"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="margin_bottom">12</property> + <property name="xalign">0</property> + <property name="label" translatable="yes">_Computer Name</property> + <property name="use_underline">True</property> + <property name="mnemonic_widget">hostname_entry</property> + <accessibility> + <relation type="label-for" target="hostname_entry"/> + </accessibility> + <attributes> + <attribute name="weight" value="bold"/> + </attributes> + </object> + <packing> + <property name="expand">False</property> + <property name="fill">True</property> + <property name="position">0</property> + </packing> + </child> <child> - <object class="GtkListBox" id="main-list-box"> + <object class="CcHostnameEntry" id="hostname_entry"> <property name="visible">True</property> + <property name="can_focus">True</property> + <property name="margin_bottom">32</property> + <property name="invisible_char">●</property> + <accessibility> + <relation type="labelled-by" target="label6"/> + </accessibility> + </object> + <packing> + <property name="expand">False</property> + <property name="fill">True</property> + <property name="position">1</property> + </packing> + </child> + <child> + <object class="GtkFrame" id="frame1"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="label_xalign">0</property> + <property name="shadow_type">in</property> <child> - <object class="GtkListBoxRow" id="personal-file-sharing-button"> + <object class="GtkListBox" id="main_list_box"> <property name="visible">True</property> <child> - <object class="GtkBox" id="box2"> - <property name="margin_top">18</property> - <property name="margin_bottom">18</property> - <property name="margin_left">12</property> - <property name="margin_right">12</property> + <object class="GtkListBoxRow" id="personal_file_sharing_button"> <property name="visible">True</property> - <property name="can_focus">False</property> <child> - <object class="GtkLabel" id="label8"> + <object class="GtkBox" id="box2"> + <property name="margin_top">18</property> + <property name="margin_bottom">18</property> + <property name="margin_left">12</property> + <property name="margin_right">12</property> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="halign">start</property> - <property name="hexpand">True</property> - <property translatable="yes" name="label">_File Sharing</property> - <property name="use_underline">True</property> - <property name="mnemonic_widget">personal-file-sharing-button</property> + <child> + <object class="GtkLabel" id="label8"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="halign">start</property> + <property name="hexpand">True</property> + <property translatable="yes" name="label">_File Sharing</property> + <property name="use_underline">True</property> + <property name="mnemonic_widget">personal_file_sharing_button</property> + </object> + <packing> + <property name="expand">False</property> + <property name="fill">True</property> + <property name="position">0</property> + </packing> + </child> + <child> + <object class="GtkLabel" id="personal_file_sharing_status_label"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="label">Off</property> + </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> - <child> - <object class="GtkLabel" id="personal-file-sharing-status-label"> - <property name="visible">True</property> - <property name="can_focus">False</property> - <property name="label">Off</property> - </object> - <packing> - <property name="expand">False</property> - <property name="fill">True</property> - <property name="position">1</property> - </packing> </child> </object> </child> - </object> - </child> - <child> - <object class="GtkListBoxRow" id="screen-sharing-button"> - <property name="visible">True</property> <child> - <object class="GtkBox" id="box3"> - <property name="margin_top">18</property> - <property name="margin_bottom">18</property> - <property name="margin_left">12</property> - <property name="margin_right">12</property> + <object class="GtkListBoxRow" id="screen_sharing_button"> <property name="visible">True</property> - <property name="can_focus">False</property> <child> - <object class="GtkLabel" id="label9"> + <object class="GtkBox" id="box3"> + <property name="margin_top">18</property> + <property name="margin_bottom">18</property> + <property name="margin_left">12</property> + <property name="margin_right">12</property> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="halign">start</property> - <property name="hexpand">True</property> - <property translatable="yes" name="label">_Screen Sharing</property> - <property name="use_underline">True</property> - <property name="mnemonic_widget">screen-sharing-button</property> - </object> - <packing> - <property name="expand">False</property> - <property name="fill">True</property> - <property name="position">0</property> - </packing> - </child> - <child> - <object class="GtkLabel" id="screen-sharing-status-label"> - <property name="visible">True</property> - <property name="can_focus">False</property> - <property name="label">Off</property> + <child> + <object class="GtkLabel" id="label9"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="halign">start</property> + <property name="hexpand">True</property> + <property translatable="yes" name="label">_Screen Sharing</property> + <property name="use_underline">True</property> + <property name="mnemonic_widget">screen_sharing_button</property> + </object> + <packing> + <property name="expand">False</property> + <property name="fill">True</property> + <property name="position">0</property> + </packing> + </child> + <child> + <object class="GtkLabel" id="screen_sharing_status_label"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="label">Off</property> + </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> </child> - </object> - </child> - <child> - <object class="GtkListBoxRow" id="media-sharing-button"> - <property name="visible">True</property> <child> - <object class="GtkBox" id="box4"> - <property name="margin_top">18</property> - <property name="margin_bottom">18</property> - <property name="margin_left">12</property> - <property name="margin_right">12</property> + <object class="GtkListBoxRow" id="media_sharing_button"> <property name="visible">True</property> - <property name="can_focus">False</property> - <child> - <object class="GtkLabel" id="label10"> - <property name="visible">True</property> - <property name="can_focus">False</property> - <property name="halign">start</property> - <property name="hexpand">True</property> - <property translatable="yes" name="label">_Media Sharing</property> - <property name="use_underline">True</property> - <property name="mnemonic_widget">media-sharing-button</property> - </object> - <packing> - <property name="expand">False</property> - <property name="fill">True</property> - <property name="position">0</property> - </packing> - </child> <child> - <object class="GtkLabel" id="media-sharing-status-label"> + <object class="GtkBox" id="box4"> + <property name="margin_top">18</property> + <property name="margin_bottom">18</property> + <property name="margin_left">12</property> + <property name="margin_right">12</property> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label">Off</property> + <child> + <object class="GtkLabel" id="label10"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="halign">start</property> + <property name="hexpand">True</property> + <property translatable="yes" name="label">_Media Sharing</property> + <property name="use_underline">True</property> + <property name="mnemonic_widget">media_sharing_button</property> + </object> + <packing> + <property name="expand">False</property> + <property name="fill">True</property> + <property name="position">0</property> + </packing> + </child> + <child> + <object class="GtkLabel" id="media_sharing_status_label"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="label">Off</property> + </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> </child> - </object> - </child> - <child> - <object class="GtkListBoxRow" id="remote-login-button"> - <property name="visible">True</property> <child> - <object class="GtkBox" id="box5"> - <property name="margin_top">18</property> - <property name="margin_bottom">18</property> - <property name="margin_left">12</property> - <property name="margin_right">12</property> + <object class="GtkListBoxRow" id="remote_login_button"> <property name="visible">True</property> - <property name="can_focus">False</property> <child> - <object class="GtkLabel" id="label11"> + <object class="GtkBox" id="box5"> + <property name="margin_top">18</property> + <property name="margin_bottom">18</property> + <property name="margin_left">12</property> + <property name="margin_right">12</property> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="halign">start</property> - <property name="hexpand">True</property> - <property name="label" translatable="yes">_Remote Login</property> - <property name="use_underline">True</property> - <property name="mnemonic_widget">remote-login-button</property> + <child> + <object class="GtkLabel" id="label11"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="halign">start</property> + <property name="hexpand">True</property> + <property name="label" translatable="yes">_Remote Login</property> + <property name="use_underline">True</property> + <property name="mnemonic_widget">remote_login_button</property> + </object> + <packing> + <property name="expand">False</property> + <property name="fill">True</property> + <property name="position">0</property> + </packing> + </child> + <child> + <object class="GtkLabel" id="remote_login_status_label"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="label">Off</property> + </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> - <child> - <object class="GtkLabel" id="remote-login-status-label"> - <property name="visible">True</property> - <property name="can_focus">False</property> - <property name="label">Off</property> - </object> - <packing> - <property name="expand">False</property> - <property name="fill">True</property> - <property name="position">1</property> - </packing> </child> </object> </child> </object> </child> </object> + <packing> + <property name="expand">False</property> + <property name="fill">True</property> + <property name="position">2</property> + </packing> + </child> + <child> + <object class="GtkLabel" id="label12"> + <property name="can_focus">False</property> + <property name="xalign">0</property> + <property name="label" translatable="yes">Some services are disabled because of no network access.</property> + </object> + <packing> + <property name="expand">False</property> + <property name="fill">True</property> + <property name="position">7</property> + </packing> </child> </object> - <packing> - <property name="expand">False</property> - <property name="fill">True</property> - <property name="position">2</property> - </packing> - </child> - <child> - <object class="GtkLabel" id="label12"> - <property name="can_focus">False</property> - <property name="xalign">0</property> - <property name="label" translatable="yes">Some services are disabled because of no network access.</property> - </object> - <packing> - <property name="expand">False</property> - <property name="fill">True</property> - <property name="position">7</property> - </packing> </child> </object> </child> - </object> - <object class="GtkDialog" id="personal-file-sharing-dialog"> + </template> + <object class="GtkDialog" id="personal_file_sharing_dialog"> <property name="can_focus">False</property> <property name="border_width">5</property> <property name="title" translatable="yes">File Sharing</property> @@ -293,7 +299,7 @@ <property name="orientation">vertical</property> <property name="spacing">2</property> <child> - <object class="GtkGrid" id="grid2"> + <object class="GtkGrid" id="personal_file_sharing_grid"> <property name="visible">True</property> <property name="can_focus">False</property> <property name="margin_start">12</property> @@ -303,7 +309,7 @@ <property name="row_spacing">12</property> <property name="column_spacing">6</property> <child> - <object class="GtkLabel" id="personal-file-sharing-label"> + <object class="GtkLabel" id="personal_file_sharing_label"> <property name="visible">True</property> <property name="can_focus">False</property> <property name="xalign">0</property> @@ -320,7 +326,7 @@ </packing> </child> <child> - <object class="GtkGrid" id="require-password-grid"> + <object class="GtkGrid" id="require_password_grid"> <property name="visible">True</property> <property name="can_focus">False</property> <property name="row_spacing">12</property> @@ -333,7 +339,7 @@ <property name="label" translatable="yes">_Require Password</property> <property name="use_markup">True</property> <property name="use_underline">True</property> - <property name="mnemonic_widget">personal-file-sharing-require-password-switch</property> + <property name="mnemonic_widget">personal_file_sharing_require_password_switch</property> </object> <packing> <property name="left_attach">0</property> @@ -343,14 +349,14 @@ </packing> </child> <child> - <object class="GtkLabel" id="personal-file-sharing-password-label"> + <object class="GtkLabel" id="personal_file_sharing_password_label"> <property name="visible">True</property> <property name="can_focus">False</property> <property name="halign">start</property> <property name="hexpand">True</property> <property name="label" translatable="yes">_Password</property> <property name="use_underline">True</property> - <property name="mnemonic_widget">personal-file-sharing-password-entry</property> + <property name="mnemonic_widget">personal_file_sharing_password_entry</property> </object> <packing> <property name="left_attach">0</property> @@ -360,7 +366,7 @@ </packing> </child> <child> - <object class="GtkSwitch" id="personal-file-sharing-require-password-switch"> + <object class="GtkSwitch" id="personal_file_sharing_require_password_switch"> <property name="visible">True</property> <property name="can_focus">True</property> <property name="halign">end</property> @@ -373,7 +379,7 @@ </packing> </child> <child> - <object class="GtkEntry" id="personal-file-sharing-password-entry"> + <object class="GtkEntry" id="personal_file_sharing_password_entry"> <property name="visible">True</property> <property name="can_focus">True</property> <property name="visibility">False</property> @@ -407,7 +413,7 @@ </object> </child> <child type="titlebar"> - <object class="GtkHeaderBar" id="personal-file-sharing-headerbar"> + <object class="GtkHeaderBar" id="personal_file_sharing_headerbar"> <property name="visible">True</property> <property name="can_focus">False</property> <property name="title" translatable="yes">File Sharing</property> @@ -418,7 +424,7 @@ </object> </child> </object> - <object class="GtkDialog" id="remote-login-dialog"> + <object class="GtkDialog" id="remote_login_dialog"> <property name="can_focus">False</property> <property name="border_width">5</property> <property name="title" translatable="yes">Remote Login</property> @@ -447,7 +453,7 @@ <property name="row_spacing">12</property> <property name="column_spacing">6</property> <child> - <object class="GtkLabel" id="remote-login-label"> + <object class="GtkLabel" id="remote_login_label"> <property name="visible">True</property> <property name="can_focus">False</property> <property name="xalign">0</property> @@ -499,7 +505,7 @@ </object> </child> <child> - <object class="GtkSwitch" id="remote-login-switch"> + <object class="GtkSwitch" id="remote_login_switch"> <property name="visible">True</property> <property name="can_focus">False</property> <property name="halign">end</property> @@ -513,7 +519,7 @@ </child> </object> - <object class="GtkDialog" id="screen-sharing-dialog"> + <object class="GtkDialog" id="screen_sharing_dialog"> <property name="can_focus">False</property> <property name="border_width">5</property> <property name="title" translatable="yes">Screen Sharing</property> @@ -531,7 +537,7 @@ <property name="can_focus">False</property> <property name="orientation">vertical</property> <child> - <object class="GtkGrid" id="grid3"> + <object class="GtkGrid" id="screen_sharing_grid"> <property name="visible">True</property> <property name="can_focus">False</property> <property name="margin_start">12</property> @@ -540,7 +546,7 @@ <property name="row_spacing">12</property> <property name="column_spacing">6</property> <child> - <object class="GtkLabel" id="screen-sharing-label"> + <object class="GtkLabel" id="screen_sharing_label"> <property name="visible">True</property> <property name="can_focus">False</property> <property name="xalign">0</property> @@ -558,7 +564,7 @@ </packing> </child> <child> - <object class="GtkBox" id="remote-control-box"> + <object class="GtkBox" id="remote_control_box"> <property name="visible">True</property> <property name="can_focus">False</property> <property name="orientation">vertical</property> @@ -569,14 +575,14 @@ <property name="can_focus">False</property> <property name="spacing">6</property> <child> - <object class="GtkLabel" id="remote-control-label"> + <object class="GtkLabel" id="remote_control_label"> <property name="visible">True</property> <property name="can_focus">False</property> <property name="halign">start</property> <property name="hexpand">True</property> <property name="label" translatable="yes">_Allow connections to control the screen</property> <property name="use_underline">True</property> - <property name="mnemonic_widget">remote-control-checkbutton</property> + <property name="mnemonic_widget">remote_control_checkbutton</property> </object> <packing> <property name="expand">False</property> @@ -585,7 +591,7 @@ </packing> </child> <child> - <object class="GtkCheckButton" id="remote-control-checkbutton"> + <object class="GtkCheckButton" id="remote_control_checkbutton"> <property name="visible">True</property> <property name="can_focus">True</property> </object> @@ -603,25 +609,25 @@ </packing> </child> <child> - <object class="GtkGrid" id="remote-control-grid"> + <object class="GtkGrid" id="remote_control_grid"> <property name="visible">True</property> <property name="can_focus">False</property> <property name="row_spacing">6</property> <child> - <object class="GtkGrid" id="password-grid"> + <object class="GtkGrid" id="password_grid"> <property name="visible">True</property> <property name="can_focus">False</property> <property name="row_spacing">6</property> <property name="column_spacing">6</property> <child> - <object class="GtkLabel" id="remote-control-password-label"> + <object class="GtkLabel" id="remote_control_password_label"> <property name="visible">True</property> <property name="can_focus">False</property> <property name="halign">start</property> <property name="margin_left">12</property> <property name="label" translatable="yes">_Password:</property> <property name="use_underline">True</property> - <property name="mnemonic_widget">remote-control-password-entry</property> + <property name="mnemonic_widget">remote_control_password_entry</property> </object> <packing> <property name="left_attach">0</property> @@ -631,7 +637,7 @@ </packing> </child> <child> - <object class="GtkEntry" id="remote-control-password-entry"> + <object class="GtkEntry" id="remote_control_password_entry"> <property name="visible">True</property> <property name="can_focus">True</property> <property name="hexpand">True</property> @@ -648,7 +654,7 @@ </packing> </child> <child> - <object class="GtkCheckButton" id="show-password-checkbutton"> + <object class="GtkCheckButton" id="show_password_checkbutton"> <property name="label" translatable="yes">_Show Password</property> <property name="visible">True</property> <property name="can_focus">True</property> @@ -693,14 +699,14 @@ </packing> </child> <child> - <object class="GtkRadioButton" id="approve-connections-radiobutton"> + <object class="GtkRadioButton" id="approve_connections_radiobutton"> <property name="label" translatable="yes">_New connections must ask for access</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">False</property> <property name="xalign">0</property> <property name="draw_indicator">True</property> - <property name="group">require-password-radiobutton</property> + <property name="group">require_password_radiobutton</property> <property name="use_underline">True</property> </object> <packing> @@ -711,7 +717,7 @@ </packing> </child> <child> - <object class="GtkRadioButton" id="require-password-radiobutton"> + <object class="GtkRadioButton" id="require_password_radiobutton"> <property name="label" translatable="yes">_Require a password</property> <property name="visible">True</property> <property name="can_focus">True</property> @@ -759,7 +765,7 @@ </object> </child> <child type="titlebar"> - <object class="GtkHeaderBar" id="screen-sharing-headerbar"> + <object class="GtkHeaderBar" id="screen_sharing_headerbar"> <property name="visible">True</property> <property name="can_focus">False</property> <property name="title" translatable="yes">Screen Sharing</property> @@ -770,7 +776,7 @@ </object> </child> </object> - <object class="GtkDialog" id="media-sharing-dialog"> + <object class="GtkDialog" id="media_sharing_dialog"> <property name="can_focus">False</property> <property name="border_width">5</property> <property name="title" translatable="yes">Media Sharing</property> @@ -792,7 +798,7 @@ </packing> </child> <child> - <object class="GtkGrid" id="grid4"> + <object class="GtkGrid" id="shared_folders_grid"> <property name="visible">True</property> <property name="can_focus">False</property> <property name="margin_start">12</property> @@ -822,7 +828,7 @@ <property name="can_focus">False</property> <property name="xalign">0</property> <property name="label" translatable="yes">Folders</property> - <property name="mnemonic_widget">shared-folders-listbox</property> + <property name="mnemonic_widget">shared_folders_listbox</property> <attributes> <attribute name="weight" value="bold"/> </attributes> @@ -834,12 +840,12 @@ </packing> </child> <child> - <object class="GtkFrame" id="shared-folders-frame"> + <object class="GtkFrame" id="shared_folders_frame"> <property name="visible">True</property> <property name="can_focus">False</property> <property name="shadow_type">in</property> <child> - <object class="GtkListBox" id="shared-folders-listbox"> + <object class="GtkListBox" id="shared_folders_listbox"> <property name="visible">True</property> <property name="can_focus">True</property> </object> @@ -864,7 +870,7 @@ </object> </child> <child type="titlebar"> - <object class="GtkHeaderBar" id="media-sharing-headerbar"> + <object class="GtkHeaderBar" id="media_sharing_headerbar"> <property name="visible">True</property> <property name="can_focus">False</property> <property name="title" translatable="yes">Media Sharing</property> |