diff options
author | raveit65 <[email protected]> | 2017-03-01 14:23:48 +0100 |
---|---|---|
committer | raveit65 <[email protected]> | 2017-03-01 14:23:48 +0100 |
commit | 9366f4696c76ca2dcc838cadc1603680af91b446 (patch) | |
tree | fd2335e15fa31e25028c5dfcae3aa53422766bba | |
parent | 595a64d504741beda3769489e7c6c2733d1bee8a (diff) | |
download | mate-control-center-9366f4696c76ca2dcc838cadc1603680af91b446.tar.bz2 mate-control-center-9366f4696c76ca2dcc838cadc1603680af91b446.tar.xz |
about-me ui: avoid deprecated widgets
-rw-r--r-- | capplets/about-me/mate-about-me-dialog.ui | 26 | ||||
-rw-r--r-- | capplets/about-me/mate-about-me-fingerprint.ui | 87 | ||||
-rw-r--r-- | capplets/about-me/mate-about-me-password.ui | 160 |
3 files changed, 186 insertions, 87 deletions
diff --git a/capplets/about-me/mate-about-me-dialog.ui b/capplets/about-me/mate-about-me-dialog.ui index 77f48248..d33f7b9a 100644 --- a/capplets/about-me/mate-about-me-dialog.ui +++ b/capplets/about-me/mate-about-me-dialog.ui @@ -1,6 +1,12 @@ <?xml version="1.0" encoding="UTF-8"?> +<!-- Generated with glade 3.20.0 --> <interface> - <!-- interface-requires gtk+ 3.0 --> + <requires lib="gtk+" version="3.14"/> + <!-- interface-license-type gplv2 --> + <!-- interface-name mate-about-me-dialog --> + <!-- interface-description about me dialog window --> + <!-- interface-copyright MATE Developers --> + <!-- interface-authors Wolfgang Ulbrich --> <object class="GtkDialog" id="about-me-dialog"> <property name="can_focus">False</property> <property name="border_width">5</property> @@ -41,18 +47,19 @@ </packing> </child> <child> - <object class="GtkVBox" id="vbox55"> + <object class="GtkBox" id="vbox55"> <property name="visible">True</property> <property name="can_focus">False</property> <property name="border_width">5</property> + <property name="orientation">vertical</property> <property name="spacing">12</property> <child> - <object class="GtkHBox" id="hbox58"> + <object class="GtkBox" id="hbox58"> <property name="visible">True</property> <property name="can_focus">False</property> <property name="spacing">48</property> <child> - <object class="GtkHBox" id="hbox59"> + <object class="GtkBox" id="hbox59"> <property name="visible">True</property> <property name="can_focus">False</property> <property name="spacing">12</property> @@ -78,7 +85,7 @@ <object class="GtkLabel" id="fullname"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="xalign">0</property> + <property name="halign">start</property> <property name="label" translatable="yes">Full Name</property> </object> <packing> @@ -95,12 +102,13 @@ </packing> </child> <child> - <object class="GtkVBox" id="buttons_vbox"> + <object class="GtkBox" id="buttons_vbox"> <property name="visible">True</property> <property name="can_focus">False</property> + <property name="orientation">vertical</property> <property name="spacing">6</property> <child> - <object class="GtkHBox" id="hbox60"> + <object class="GtkBox" id="hbox60"> <property name="visible">True</property> <property name="can_focus">False</property> <property name="spacing">12</property> @@ -108,7 +116,7 @@ <object class="GtkLabel" id="label1012"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="yalign">0</property> + <property name="valign">start</property> <property name="label" translatable="yes">User name:</property> </object> <packing> @@ -121,7 +129,7 @@ <object class="GtkLabel" id="login"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="yalign">0</property> + <property name="valign">start</property> </object> <packing> <property name="expand">True</property> diff --git a/capplets/about-me/mate-about-me-fingerprint.ui b/capplets/about-me/mate-about-me-fingerprint.ui index 7f154336..bf49c7a6 100644 --- a/capplets/about-me/mate-about-me-fingerprint.ui +++ b/capplets/about-me/mate-about-me-fingerprint.ui @@ -1,7 +1,12 @@ -<?xml version="1.0"?> +<?xml version="1.0" encoding="UTF-8"?> +<!-- Generated with glade 3.20.0 --> <interface> - <requires lib="gtk+" version="2.16"/> - <!-- interface-naming-policy toplevel-contextual --> + <requires lib="gtk+" version="3.14"/> + <!-- interface-license-type gplv2 --> + <!-- interface-name mate-about-me-fingerprint --> + <!-- interface-description about me fingerprint dialog window --> + <!-- interface-copyright MATE Developer --> + <!-- interface-authors Wolfgang Ulbrich --> <object class="GtkListStore" id="model1"> <columns> <!-- column-name gchararray --> @@ -35,35 +40,41 @@ </data> </object> <object class="GtkAssistant" id="assistant"> + <property name="can_focus">False</property> <property name="border_width">12</property> <property name="title" translatable="yes">Enable Fingerprint Login</property> <child> <placeholder/> </child> <child> - <object class="GtkVBox" id="page1"> + <object class="GtkBox" id="page1"> <property name="visible">True</property> + <property name="can_focus">False</property> <property name="border_width">12</property> <property name="orientation">vertical</property> <property name="spacing">12</property> <child> - <object class="GtkHBox" id="hbox74"> + <object class="GtkBox" id="hbox74"> <property name="visible">True</property> + <property name="can_focus">False</property> <property name="spacing">6</property> <child> <object class="GtkImage" id="image"> <property name="visible">True</property> + <property name="can_focus">False</property> <property name="stock">gtk-dialog-info</property> - <property name="icon-size">6</property> + <property name="icon_size">6</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="intro-label"> <property name="visible">True</property> + <property name="can_focus">False</property> <property name="label">To enable fingerprint login, you need to save one of your fingerprints, using the Acme Foobar 5000.</property> <property name="wrap">True</property> </object> @@ -75,12 +86,15 @@ </child> </object> <packing> + <property name="expand">False</property> + <property name="fill">True</property> <property name="position">0</property> </packing> </child> <child> - <object class="GtkVBox" id="vbox70"> + <object class="GtkBox" id="vbox70"> <property name="visible">True</property> + <property name="can_focus">False</property> <property name="orientation">vertical</property> <child> <object class="GtkRadioButton" id="radiobutton1"> @@ -88,6 +102,7 @@ <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">False</property> + <property name="halign">start</property> <property name="use_underline">True</property> <property name="active">True</property> <property name="draw_indicator">True</property> @@ -104,6 +119,7 @@ <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">False</property> + <property name="halign">start</property> <property name="use_underline">True</property> <property name="draw_indicator">True</property> <property name="group">radiobutton1</property> @@ -115,14 +131,16 @@ </packing> </child> <child> - <object class="GtkHBox" id="hbox77"> + <object class="GtkBox" id="hbox77"> <property name="visible">True</property> + <property name="can_focus">False</property> <child> <object class="GtkRadioButton" id="radiobutton3"> <property name="label" translatable="yes">Other finger: </property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">False</property> + <property name="halign">start</property> <property name="use_underline">True</property> <property name="draw_indicator">True</property> <property name="group">radiobutton1</property> @@ -137,6 +155,8 @@ <object class="GtkComboBox" id="finger_combobox"> <property name="visible">True</property> <property name="sensitive">False</property> + <property name="can_focus">False</property> + <property name="hexpand">True</property> <property name="model">model1</property> <child> <object class="GtkCellRendererText" id="renderer1"/> @@ -147,32 +167,39 @@ </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">2</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="title" translatable="yes">Select finger</property> + <property name="has_padding">False</property> </packing> </child> <child> - <object class="GtkVBox" id="page2"> + <object class="GtkBox" id="page2"> <property name="visible">True</property> + <property name="can_focus">False</property> <property name="orientation">vertical</property> <child> <object class="GtkLabel" id="enroll-label"> <property name="visible">True</property> + <property name="can_focus">False</property> <property name="label">In order to save your fingerprints, you need to swipe your thumb on the "Acme foobar" device.</property> <property name="wrap">True</property> </object> @@ -183,58 +210,74 @@ </packing> </child> <child> - <object class="GtkHBox" id="enroll_hbox"> + <object class="GtkBox" id="enroll_hbox"> <property name="visible">True</property> + <property name="can_focus">False</property> <child> <placeholder/> </child> <child> <object class="GtkImage" id="image1"> <property name="visible">True</property> + <property name="can_focus">False</property> <property name="stock">gtk-no</property> - <property name="icon-size">6</property> + <property name="icon_size">6</property> </object> <packing> + <property name="expand">False</property> + <property name="fill">True</property> <property name="position">1</property> </packing> </child> <child> <object class="GtkImage" id="image2"> <property name="visible">True</property> + <property name="can_focus">False</property> <property name="stock">gtk-no</property> - <property name="icon-size">6</property> + <property name="icon_size">6</property> </object> <packing> + <property name="expand">False</property> + <property name="fill">True</property> <property name="position">2</property> </packing> </child> <child> <object class="GtkImage" id="image3"> <property name="visible">True</property> + <property name="can_focus">False</property> <property name="stock">gtk-no</property> - <property name="icon-size">6</property> + <property name="icon_size">6</property> </object> <packing> + <property name="expand">False</property> + <property name="fill">True</property> <property name="position">3</property> </packing> </child> <child> <object class="GtkImage" id="image4"> <property name="visible">True</property> + <property name="can_focus">False</property> <property name="stock">gtk-no</property> - <property name="icon-size">6</property> + <property name="icon_size">6</property> </object> <packing> + <property name="expand">False</property> + <property name="fill">True</property> <property name="position">4</property> </packing> </child> <child> <object class="GtkImage" id="image5"> <property name="visible">True</property> + <property name="can_focus">False</property> <property name="stock">gtk-no</property> - <property name="icon-size">6</property> + <property name="icon_size">6</property> </object> <packing> + <property name="expand">False</property> + <property name="fill">True</property> <property name="position">5</property> </packing> </child> @@ -243,12 +286,15 @@ </child> </object> <packing> + <property name="expand">False</property> + <property name="fill">True</property> <property name="position">1</property> </packing> </child> <child> <object class="GtkLabel" id="status-label"> <property name="visible">True</property> + <property name="can_focus">False</property> </object> <packing> <property name="expand">False</property> @@ -259,17 +305,28 @@ </object> <packing> <property name="title">Swipe finger on reader</property> + <property name="has_padding">False</property> </packing> </child> <child> <object class="GtkLabel" id="page3"> <property name="visible">True</property> + <property name="can_focus">False</property> <property name="label" translatable="yes">Your fingerprint was successfully saved. You should now be able to log in using your fingerprint reader.</property> <property name="wrap">True</property> </object> <packing> <property name="page_type">summary</property> <property name="title" translatable="yes">Done!</property> + <property name="has_padding">False</property> + </packing> + </child> + <child internal-child="action_area"> + <object class="GtkBox"> + <property name="can_focus">False</property> + </object> + <packing> + <property name="has_padding">False</property> </packing> </child> </object> diff --git a/capplets/about-me/mate-about-me-password.ui b/capplets/about-me/mate-about-me-password.ui index 35de4cfa..380b6e42 100644 --- a/capplets/about-me/mate-about-me-password.ui +++ b/capplets/about-me/mate-about-me-password.ui @@ -1,28 +1,81 @@ -<?xml version="1.0"?> +<?xml version="1.0" encoding="UTF-8"?> +<!-- Generated with glade 3.20.0 --> <interface> - <requires lib="gtk+" version="2.16"/> - <!-- interface-naming-policy toplevel-contextual --> + <requires lib="gtk+" version="3.14"/> + <!-- interface-license-type gplv2 --> + <!-- interface-name mate-about-me-password --> + <!-- interface-copyright MATE Developers --> + <!-- interface-authors Wolfgang Ulbrich --> <object class="GtkDialog" id="change-password"> + <property name="can_focus">False</property> <property name="border_width">6</property> <property name="title" translatable="yes">Change password</property> <property name="resizable">False</property> <property name="type_hint">dialog</property> <child internal-child="vbox"> - <object class="GtkVBox" id="dialog-vbox"> + <object class="GtkBox" id="dialog-vbox"> <property name="visible">True</property> + <property name="can_focus">False</property> <property name="orientation">vertical</property> <property name="spacing">6</property> + <child internal-child="action_area"> + <object class="GtkButtonBox" id="dialog-action-area"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="layout_style">end</property> + <child> + <object class="GtkButton" id="cancel-button"> + <property name="label">gtk-close</property> + <property name="visible">True</property> + <property name="can_focus">True</property> + <property name="can_default">True</property> + <property name="receives_default">False</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> + <child> + <object class="GtkButton" id="change-password-button"> + <property name="label" translatable="yes">Change pa_ssword</property> + <property name="visible">True</property> + <property name="sensitive">False</property> + <property name="can_focus">True</property> + <property name="can_default">True</property> + <property name="has_default">True</property> + <property name="receives_default">False</property> + <property name="use_underline">True</property> + </object> + <packing> + <property name="expand">False</property> + <property name="fill">False</property> + <property name="position">1</property> + </packing> + </child> + </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> <child> - <object class="GtkHBox" id="container-hbox"> + <object class="GtkBox" id="container-hbox"> <property name="visible">True</property> + <property name="can_focus">False</property> <property name="border_width">6</property> <property name="spacing">12</property> <child> <object class="GtkImage" id="dialog-image"> <property name="visible">True</property> - <property name="yalign">0</property> + <property name="can_focus">False</property> + <property name="valign">start</property> <property name="icon_name">gtk-dialog-authentication</property> - <property name="icon-size">6</property> + <property name="icon_size">6</property> </object> <packing> <property name="expand">False</property> @@ -31,14 +84,16 @@ </packing> </child> <child> - <object class="GtkVBox" id="main-vbox"> + <object class="GtkBox" id="main-vbox"> <property name="visible">True</property> + <property name="can_focus">False</property> <property name="orientation">vertical</property> <property name="spacing">6</property> <child> <object class="GtkLabel" id="header-label"> <property name="visible">True</property> - <property name="xalign">0</property> + <property name="can_focus">False</property> + <property name="halign">start</property> <property name="label" translatable="yes">Change your password</property> <attributes> <attribute name="weight" value="bold"/> @@ -54,8 +109,9 @@ <child> <object class="GtkLabel" id="description-label"> <property name="visible">True</property> - <property name="xalign">0</property> - <property name="yalign">0</property> + <property name="can_focus">False</property> + <property name="halign">start</property> + <property name="valign">start</property> <property name="label" translatable="yes">To change your password, enter your current password in the field below and click <b>Authenticate</b>. After you have authenticated, enter your new password, retype it for verification and click <b>Change password</b>.</property> <property name="use_markup">True</property> @@ -68,19 +124,22 @@ After you have authenticated, enter your new password, retype it for verificatio </packing> </child> <child> - <object class="GtkHBox" id="entry-hbox"> + <object class="GtkBox" id="entry-hbox"> <property name="visible">True</property> + <property name="can_focus">False</property> <property name="spacing">6</property> <child> - <object class="GtkVBox" id="entry-labels-vbox"> + <object class="GtkBox" id="entry-labels-vbox"> <property name="visible">True</property> + <property name="can_focus">False</property> <property name="orientation">vertical</property> <property name="spacing">6</property> <property name="homogeneous">True</property> <child> <object class="GtkLabel" id="current-password-label"> <property name="visible">True</property> - <property name="xalign">0</property> + <property name="can_focus">False</property> + <property name="halign">start</property> <property name="label" translatable="yes">Current _password:</property> <property name="use_underline">True</property> <property name="mnemonic_widget">current-password</property> @@ -95,7 +154,8 @@ After you have authenticated, enter your new password, retype it for verificatio <object class="GtkLabel" id="new-password-label"> <property name="visible">True</property> <property name="sensitive">False</property> - <property name="xalign">0</property> + <property name="can_focus">False</property> + <property name="halign">start</property> <property name="label" translatable="yes">_New password:</property> <property name="use_underline">True</property> <property name="mnemonic_widget">new-password</property> @@ -110,7 +170,8 @@ After you have authenticated, enter your new password, retype it for verificatio <object class="GtkLabel" id="retyped-password-label"> <property name="visible">True</property> <property name="sensitive">False</property> - <property name="xalign">0</property> + <property name="can_focus">False</property> + <property name="halign">start</property> <property name="label" translatable="yes">_Retype new password:</property> <property name="use_underline">True</property> <property name="mnemonic_widget">retyped-password</property> @@ -129,14 +190,16 @@ After you have authenticated, enter your new password, retype it for verificatio </packing> </child> <child> - <object class="GtkVBox" id="entry-vbox"> + <object class="GtkBox" id="entry-vbox"> <property name="visible">True</property> + <property name="can_focus">False</property> <property name="orientation">vertical</property> <property name="spacing">6</property> <property name="homogeneous">True</property> <child> - <object class="GtkHBox" id="auth-hbox"> + <object class="GtkBox" id="auth-hbox"> <property name="visible">True</property> + <property name="can_focus">False</property> <property name="spacing">6</property> <child> <object class="GtkEntry" id="current-password"> @@ -145,6 +208,8 @@ After you have authenticated, enter your new password, retype it for verificatio <property name="visibility">False</property> </object> <packing> + <property name="expand">True</property> + <property name="fill">True</property> <property name="position">0</property> </packing> </child> @@ -156,15 +221,18 @@ After you have authenticated, enter your new password, retype it for verificatio <child> <object class="GtkAlignment" id="alignment1"> <property name="visible">True</property> + <property name="can_focus">False</property> <property name="xscale">0</property> <property name="yscale">0</property> <child> - <object class="GtkHBox" id="hbox73"> + <object class="GtkBox" id="hbox73"> <property name="visible">True</property> + <property name="can_focus">False</property> <property name="spacing">2</property> <child> <object class="GtkImage" id="image2"> <property name="visible">True</property> + <property name="can_focus">False</property> <property name="stock">gtk-apply</property> </object> <packing> @@ -176,6 +244,7 @@ After you have authenticated, enter your new password, retype it for verificatio <child> <object class="GtkLabel" id="label1070"> <property name="visible">True</property> + <property name="can_focus">False</property> <property name="label" translatable="yes">_Authenticate</property> <property name="use_underline">True</property> </object> @@ -198,6 +267,8 @@ After you have authenticated, enter your new password, retype it for verificatio </child> </object> <packing> + <property name="expand">False</property> + <property name="fill">True</property> <property name="position">0</property> </packing> </child> @@ -230,6 +301,8 @@ After you have authenticated, enter your new password, retype it for verificatio </child> </object> <packing> + <property name="expand">True</property> + <property name="fill">True</property> <property name="position">1</property> </packing> </child> @@ -243,60 +316,22 @@ After you have authenticated, enter your new password, retype it for verificatio <child> <object class="GtkLabel" id="status-label"> <property name="visible">True</property> + <property name="can_focus">False</property> <property name="label" translatable="yes">Please type your password again in the <b>Retype new password</b> field.</property> <property name="use_markup">True</property> <property name="justify">center</property> <property name="wrap">True</property> </object> <packing> + <property name="expand">False</property> + <property name="fill">True</property> <property name="position">3</property> </packing> </child> </object> <packing> - <property name="position">1</property> - </packing> - </child> - </object> - <packing> - <property name="expand">False</property> - <property name="fill">False</property> - <property name="position">1</property> - </packing> - </child> - <child internal-child="action_area"> - <object class="GtkHButtonBox" id="dialog-action-area"> - <property name="visible">True</property> - <property name="layout_style">end</property> - <child> - <object class="GtkButton" id="cancel-button"> - <property name="label">gtk-close</property> - <property name="visible">True</property> - <property name="can_focus">True</property> - <property name="can_default">True</property> - <property name="receives_default">False</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> - <child> - <object class="GtkButton" id="change-password-button"> - <property name="label" translatable="yes">Change pa_ssword</property> - <property name="visible">True</property> - <property name="sensitive">False</property> - <property name="can_focus">True</property> - <property name="can_default">True</property> - <property name="has_default">True</property> - <property name="receives_default">False</property> - <property name="use_underline">True</property> - </object> - <packing> <property name="expand">False</property> - <property name="fill">False</property> + <property name="fill">True</property> <property name="position">1</property> </packing> </child> @@ -304,8 +339,7 @@ After you have authenticated, enter your new password, retype it for verificatio <packing> <property name="expand">False</property> <property name="fill">False</property> - <property name="pack_type">end</property> - <property name="position">0</property> + <property name="position">1</property> </packing> </child> </object> |