[virt-tools-list] [PATCH virt-viewer] Update ui files

Jonathon Jongsma jjongsma at redhat.com
Mon Apr 18 17:40:30 UTC 2016


I tested it and it seems to work fine, but I noticed a couple minor changes such
as changing some spacing values from 6 to 5, changing a "fill" property from
True to false, and a couple of other minor things. Were those Intentional?

Jonathon



On Mon, 2016-04-11 at 09:54 +0200, Pavel Grunt wrote:
> Remove deprecated widgets and properties
> ---
>  src/remote-viewer-connect.xml     |  24 ++++----
>  src/virt-viewer-about.xml         |   7 +--
>  src/virt-viewer-auth.xml          |  49 ++++++++--------
>  src/virt-viewer-guest-details.xml |  34 ++++-------
>  src/virt-viewer-preferences.xml   | 115 ++++++++++++++++++-------------------
> -
>  src/virt-viewer-vm-connection.xml |   9 ++-
>  src/virt-viewer.xml               |  42 +++++---------
>  7 files changed, 125 insertions(+), 155 deletions(-)
> 
> diff --git a/src/remote-viewer-connect.xml b/src/remote-viewer-connect.xml
> index dcd14cf..88267e5 100644
> --- a/src/remote-viewer-connect.xml
> +++ b/src/remote-viewer-connect.xml
> @@ -1,26 +1,29 @@
>  <?xml version="1.0" encoding="UTF-8"?>
> -<!-- Generated with glade 3.18.3 -->
> +<!-- Generated with glade 3.20.0 -->
>  <interface>
> +  <requires lib="gtk+" version="3.10"/>
>    <object class="GtkWindow" id="remote-viewer-connection-window">
>      <property name="can_focus">False</property>
>      <property name="title" translatable="yes">Connection details</property>
>      <child>
> -      <object class="GtkVBox" id="main-box">
> +      <object class="GtkBox" id="main-box">
>          <property name="visible">True</property>
>          <property name="can_focus">False</property>
>          <property name="border_width">10</property>
> +        <property name="orientation">vertical</property>
>          <property name="spacing">20</property>
>          <child>
> -          <object class="GtkVBox" id="connection-address-box">
> +          <object class="GtkBox" id="connection-address-box">
>              <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="connection-address-label">
>                  <property name="visible">True</property>
>                  <property name="can_focus">False</property>
> +                <property name="halign">start</property>
>                  <property name="label" translatable="yes">Connection
> Address</property>
> -                <property name="xalign">0</property>
>                  <attributes>
>                    <attribute name="weight" value="bold"/>
>                  </attributes>
> @@ -45,9 +48,9 @@
>              <child>
>                <object class="GtkLabel" id="example-label">
>                  <property name="visible">True</property>
> -                <property name="can_focus">False</property>
> -                <property name="xalign">0</property>
>                  <property name="sensitive">False</property>
> +                <property name="can_focus">False</property>
> +                <property name="halign">start</property>
>                  <property name="label" translatable="yes">For example,
> spice://foo.example.org:5900</property>
>                </object>
>                <packing>
> @@ -64,23 +67,24 @@
>            </packing>
>          </child>
>          <child>
> -          <object class="GtkVBox" id="recent-chooser-box">
> +          <object class="GtkBox" id="recent-chooser-box">
>              <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="recent-chooser-label">
>                  <property name="visible">True</property>
>                  <property name="can_focus">False</property>
> +                <property name="halign">start</property>
>                  <property name="label" translatable="yes">Recent
> connections</property>
> -                <property name="xalign">0</property>
>                  <attributes>
>                    <attribute name="weight" value="bold"/>
>                  </attributes>
>                </object>
>                <packing>
>                  <property name="expand">False</property>
> -                <property name="fill">True</property>
> +                <property name="fill">False</property>
>                  <property name="position">0</property>
>                </packing>
>              </child>
> @@ -106,7 +110,7 @@
>            </packing>
>          </child>
>          <child>
> -          <object class="GtkHButtonBox" id="button-box">
> +          <object class="GtkButtonBox" id="button-box">
>              <property name="visible">True</property>
>              <property name="can_focus">False</property>
>              <property name="resize_mode">immediate</property>
> diff --git a/src/virt-viewer-about.xml b/src/virt-viewer-about.xml
> index 28e38c8..e05c907 100644
> --- a/src/virt-viewer-about.xml
> +++ b/src/virt-viewer-about.xml
> @@ -1,6 +1,7 @@
>  <?xml version="1.0" encoding="UTF-8"?>
> +<!-- Generated with glade 3.20.0 -->
>  <interface>
> -  <!-- interface-requires gtk+ 2.12 -->
> +  <requires lib="gtk+" version="3.10"/>
>    <object class="GtkAboutDialog" id="about">
>      <property name="can_focus">False</property>
>      <property name="border_width">5</property>
> @@ -36,6 +37,7 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 
>  02111-1307  USA
>  Marc-André Lureau
>  </property>
>      <property name="translator_credits" translatable="yes">The Fedora
> Translation Team</property>
> +    <property name="logo_icon_name">image-missing</property>
>      <signal name="delete-event" handler="virt_viewer_app_about_delete"
> swapped="no"/>
>      <signal name="response" handler="virt_viewer_app_about_close"
> swapped="no"/>
>      <child internal-child="vbox">
> @@ -57,9 +59,6 @@ Marc-André Lureau
>              <property name="position">0</property>
>            </packing>
>          </child>
> -        <child>
> -          <placeholder/>
> -        </child>
>        </object>
>      </child>
>    </object>
> diff --git a/src/virt-viewer-auth.xml b/src/virt-viewer-auth.xml
> index 2920780..edf769f 100644
> --- a/src/virt-viewer-auth.xml
> +++ b/src/virt-viewer-auth.xml
> @@ -1,6 +1,7 @@
>  <?xml version="1.0" encoding="UTF-8"?>
> +<!-- Generated with glade 3.20.0 -->
>  <interface>
> -  <!-- interface-requires gtk+ 2.12 -->
> +  <requires lib="gtk+" version="3.10"/>
>    <object class="GtkDialog" id="auth">
>      <property name="can_focus">False</property>
>      <property name="border_width">5</property>
> @@ -28,7 +29,6 @@
>                  <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>
>                </object>
>                <packing>
> @@ -45,7 +45,6 @@
>                  <property name="can_default">True</property>
>                  <property name="has_default">True</property>
>                  <property name="receives_default">True</property>
> -                <property name="use_action_appearance">False</property>
>                  <property name="use_underline">True</property>
>                </object>
>                <packing>
> @@ -66,9 +65,7 @@
>            <object class="GtkLabel" id="message">
>              <property name="visible">True</property>
>              <property name="can_focus">False</property>
> -            <property name="xalign">0</property>
> -            <property name="yalign">0</property>
> -            <property name="label" translatable="yes">label</property>
> +            <property name="halign">start</property>
>              <property name="use_markup">True</property>
>            </object>
>            <packing>
> @@ -78,32 +75,35 @@
>            </packing>
>          </child>
>          <child>
> -          <object class="GtkTable" id="table1">
> +          <object class="GtkGrid">
>              <property name="visible">True</property>
>              <property name="can_focus">False</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>
> +            <property name="row_spacing">5</property>
> +            <property name="column_spacing">5</property>
> +            <property name="column_homogeneous">True</property>
>              <child>
>                <object class="GtkLabel" id="prompt-password">
>                  <property name="visible">True</property>
>                  <property name="can_focus">False</property>
> -                <property name="xalign">1</property>
> +                <property name="halign">baseline</property>
>                  <property name="label"
> translatable="yes">Password:</property>
>                </object>
>                <packing>
> +                <property name="left_attach">0</property>
>                  <property name="top_attach">1</property>
> -                <property name="bottom_attach">2</property>
>                </packing>
>              </child>
>              <child>
>                <object class="GtkLabel" id="prompt-username">
>                  <property name="visible">True</property>
>                  <property name="can_focus">False</property>
> -                <property name="xalign">1</property>
> +                <property name="halign">baseline</property>
>                  <property name="label"
> translatable="yes">Username:</property>
>                </object>
> +              <packing>
> +                <property name="left_attach">0</property>
> +                <property name="top_attach">0</property>
> +              </packing>
>              </child>
>              <child>
>                <object class="GtkEntry" id="cred-username">
> @@ -112,7 +112,7 @@
>                </object>
>                <packing>
>                  <property name="left_attach">1</property>
> -                <property name="right_attach">2</property>
> +                <property name="top_attach">0</property>
>                </packing>
>              </child>
>              <child>
> @@ -124,30 +124,33 @@
>                </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>
>                </packing>
>              </child>
>              <child>
>                <object class="GtkCheckButton" id="show-password">
> +                <property name="label" translatable="yes">Show
> password</property>
>                  <property name="visible">True</property>
>                  <property name="can_focus">True</property>
> -                <property name="active">False</property>
> -                <property name="label" translatable="yes">Show
> password</property>
> +                <property name="receives_default">False</property>
> +                <property name="halign">start</property>
> +                <property name="valign">start</property>
> +                <property name="vexpand">False</property>
> +                <property name="draw_indicator">True</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>
>                </packing>
>              </child>
> +            <child>
> +              <placeholder/>
> +            </child>
>            </object>
>            <packing>
> -            <property name="expand">False</property>
> +            <property name="expand">True</property>
>              <property name="fill">True</property>
> -            <property name="position">2</property>
> +            <property name="position">3</property>
>            </packing>
>          </child>
>        </object>
> diff --git a/src/virt-viewer-guest-details.xml b/src/virt-viewer-guest
> -details.xml
> index 209272f..4571d90 100644
> --- a/src/virt-viewer-guest-details.xml
> +++ b/src/virt-viewer-guest-details.xml
> @@ -1,11 +1,10 @@
>  <?xml version="1.0" encoding="UTF-8"?>
> -<!-- Generated with glade 3.16.0 on Thu Jan 16 16:13:38 2014 -->
> +<!-- Generated with glade 3.20.0 -->
>  <interface>
> -  <!-- interface-requires gtk+ 3.0 -->
> +  <requires lib="gtk+" version="3.10"/>
>    <object class="GtkDialog" id="guestdetailsdialog">
>      <property name="can_focus">False</property>
>      <property name="title" translatable="yes">Guest Details</property>
> -    <property name="resizable">True</property>
>      <property name="default_width">400</property>
>      <property name="type_hint">dialog</property>
>      <signal name="response"
> handler="virt_viewer_window_guest_details_response" swapped="no"/>
> @@ -41,74 +40,65 @@
>            </packing>
>          </child>
>          <child>
> -          <object class="GtkTable" id="grid1">
> +          <object class="GtkGrid">
>              <property name="visible">True</property>
>              <property name="can_focus">False</property>
>              <property name="border_width">6</property>
> -            <property name="row_spacing">6</property>
> -            <property name="column_spacing">6</property>
> -            <property name="n_rows">2</property>
> +            <property name="row_spacing">5</property>
> +            <property name="column_spacing">5</property>
>              <child>
>                <object class="GtkLabel" id="label1">
>                  <property name="visible">True</property>
>                  <property name="can_focus">False</property>
> -                <property name="xalign">1</property>
>                  <property name="label" translatable="yes">Name:</property>
>                </object>
>                <packing>
> -                <property name="x_options">GTK_SHRINK | GTK_FILL</property>
> -                <property name="y_options">GTK_FILL</property>
> +                <property name="left_attach">0</property>
> +                <property name="top_attach">0</property>
>                </packing>
>              </child>
>              <child>
>                <object class="GtkLabel" id="label2">
>                  <property name="visible">True</property>
>                  <property name="can_focus">False</property>
> -                <property name="xalign">1</property>
>                  <property name="label" translatable="yes">GUID:</property>
>                </object>
>                <packing>
> +                <property name="left_attach">0</property>
>                  <property name="top_attach">1</property>
> -                <property name="bottom_attach">2</property>
> -                <property name="x_options">GTK_SHRINK | GTK_FILL</property>
> -                <property name="y_options">GTK_FILL</property>
>                </packing>
>              </child>
>              <child>
>                <object class="GtkLabel" id="namevaluelabel">
>                  <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">label</property>
>                  <property name="selectable">True</property>
>                </object>
>                <packing>
>                  <property name="left_attach">1</property>
> -                <property name="right_attach">2</property>
> -                <property name="y_options">GTK_FILL</property>
> +                <property name="top_attach">0</property>
>                </packing>
>              </child>
>              <child>
>                <object class="GtkLabel" id="guidvaluelabel">
>                  <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">label</property>
>                  <property name="selectable">True</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>
>            </object>
>            <packing>
>              <property name="expand">False</property>
>              <property name="fill">True</property>
> -            <property name="position">1</property>
> +            <property name="position">0</property>
>            </packing>
>          </child>
>        </object>
> diff --git a/src/virt-viewer-preferences.xml b/src/virt-viewer-preferences.xml
> index f9738c5..9c20cf4 100644
> --- a/src/virt-viewer-preferences.xml
> +++ b/src/virt-viewer-preferences.xml
> @@ -1,7 +1,7 @@
>  <?xml version="1.0" encoding="UTF-8"?>
> +<!-- Generated with glade 3.20.0 -->
>  <interface>
> -  <!-- interface-requires gtk+ 2.6 -->
> -  <!-- interface-naming-policy toplevel-contextual -->
> +  <requires lib="gtk+" version="3.10"/>
>    <object class="GtkDialog" id="preferences">
>      <property name="can_focus">False</property>
>      <property name="border_width">5</property>
> @@ -9,11 +9,12 @@
>      <property name="type_hint">normal</property>
>      <signal name="delete-event" handler="gtk_widget_hide_on_delete"
> swapped="no"/>
>      <child internal-child="vbox">
> -      <object class="GtkVBox" id="dialog-vbox1">
> +      <object class="GtkBox" id="dialog-vbox1">
>          <property name="visible">True</property>
>          <property name="can_focus">False</property>
> +        <property name="orientation">vertical</property>
>          <child internal-child="action_area">
> -          <object class="GtkHButtonBox" id="dialog-action_area1">
> +          <object class="GtkButtonBox" id="dialog-action_area1">
>              <property name="visible">True</property>
>              <property name="can_focus">False</property>
>              <property name="layout_style">end</property>
> @@ -35,80 +36,70 @@
>              <property name="visible">True</property>
>              <property name="can_focus">True</property>
>              <child>
> -              <object class="GtkVBox" id="vbox1">
> +              <object class="GtkGrid">
>                  <property name="visible">True</property>
>                  <property name="can_focus">False</property>
> -                <property name="border_width">18</property>
> -                <property name="spacing">6</property>
> +                <property name="border_width">6</property>
> +                <property name="row_spacing">6</property>
> +                <property name="column_spacing">12</property>
>                  <child>
> -                  <object class="GtkLabel" id="label2">
> +                  <object class="GtkFileChooserButton" id="fcsharefolder">
>                      <property name="visible">True</property>
>                      <property name="can_focus">False</property>
> -                    <property name="xalign">0</property>
> -                    <property name="label" translatable="yes">Folder
> sharing</property>
> -                    <attributes>
> -                      <attribute name="weight" value="bold"/>
> -                    </attributes>
> +                    <property name="action">select-folder</property>
> +                  </object>
> +                  <packing>
> +                    <property name="left_attach">1</property>
> +                    <property name="top_attach">1</property>
> +                  </packing>
> +                </child>
> +                <child>
> +                  <object class="GtkCheckButton" id="cbsharefolderro">
> +                    <property name="label" translatable="yes">Read
> -only</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="valign">start</property>
> +                    <property name="draw_indicator">True</property>
> +                  </object>
> +                  <packing>
> +                    <property name="left_attach">0</property>
> +                    <property name="top_attach">2</property>
> +                  </packing>
> +                </child>
> +                <child>
> +                  <object class="GtkCheckButton" id="cbsharefolder">
> +                    <property name="label" translatable="yes">Share
> folder</property>
> +                    <property name="visible">True</property>
> +                    <property name="can_focus">True</property>
> +                    <property name="receives_default">False</property>
> +                    <property name="draw_indicator">True</property>
>                    </object>
>                    <packing>
> -                    <property name="expand">False</property>
> -                    <property name="fill">False</property>
> -                    <property name="position">0</property>
> +                    <property name="left_attach">0</property>
> +                    <property name="top_attach">1</property>
>                    </packing>
>                  </child>
>                  <child>
> -                  <object class="GtkTable" id="table1">
> +                  <object class="GtkLabel" id="label2">
>                      <property name="visible">True</property>
>                      <property name="can_focus">False</property>
> -                    <property name="border_width">6</property>
> -                    <property name="n_rows">2</property>
> -                    <property name="n_columns">2</property>
> -                    <property name="column_spacing">12</property>
> -                    <property name="row_spacing">6</property>
> -                    <child>
> -                      <object class="GtkCheckButton" id="cbsharefolder">
> -                        <property name="label" translatable="yes">Share
> folder</property>
> -                        <property name="visible">True</property>
> -                        <property name="can_focus">True</property>
> -                        <property name="receives_default">False</property>
> -                        <property name="draw_indicator">True</property>
> -                      </object>
> -                      <packing>
> -                        <property name="x_options"/>
> -                      </packing>
> -                    </child>
> -                    <child>
> -                      <object class="GtkCheckButton" id="cbsharefolderro">
> -                        <property name="label" translatable="yes">Read
> -only</property>
> -                        <property name="visible">True</property>
> -                        <property name="can_focus">True</property>
> -                        <property name="receives_default">False</property>
> -                        <property name="draw_indicator">True</property>
> -                      </object>
> -                      <packing>
> -                        <property name="right_attach">2</property>
> -                        <property name="top_attach">1</property>
> -                        <property name="bottom_attach">2</property>
> -                      </packing>
> -                    </child>
> -                    <child>
> -                      <object class="GtkFileChooserButton"
> id="fcsharefolder">
> -                        <property name="visible">True</property>
> -                        <property name="can_focus">False</property>
> -                        <property name="action">select-folder</property>
> -                      </object>
> -                      <packing>
> -                        <property name="left_attach">1</property>
> -                        <property name="right_attach">2</property>
> -                      </packing>
> -                    </child>
> +                    <property name="halign">start</property>
> +                    <property name="label" translatable="yes">Folder
> sharing</property>
> +                    <attributes>
> +                      <attribute name="weight" value="bold"/>
> +                    </attributes>
>                    </object>
>                    <packing>
> -                    <property name="expand">False</property>
> -                    <property name="fill">False</property>
> -                    <property name="position">1</property>
> +                    <property name="left_attach">0</property>
> +                    <property name="top_attach">0</property>
> +                    <property name="width">2</property>
>                    </packing>
>                  </child>
> +                <child>
> +                  <placeholder/>
> +                </child>
>                </object>
>              </child>
>              <child type="tab">
> diff --git a/src/virt-viewer-vm-connection.xml b/src/virt-viewer-vm
> -connection.xml
> index f190c92..47fea0a 100644
> --- a/src/virt-viewer-vm-connection.xml
> +++ b/src/virt-viewer-vm-connection.xml
> @@ -1,6 +1,7 @@
>  <?xml version="1.0" encoding="UTF-8"?>
> -<!-- Generated with glade 3.16.1 -->
> +<!-- Generated with glade 3.20.0 -->
>  <interface>
> +  <requires lib="gtk+" version="3.10"/>
>    <object class="GtkDialog" id="vm-connection-dialog">
>      <property name="can_focus">False</property>
>      <property name="border_width">5</property>
> @@ -21,7 +22,7 @@
>              <property name="layout_style">end</property>
>              <child>
>                <object class="GtkButton" id="button-cancel">
> -                  <property name="label"
> translatable="yes">_Cancel</property>
> +                <property name="label" translatable="yes">_Cancel</property>
>                  <property name="visible">True</property>
>                  <property name="can_focus">True</property>
>                  <property name="receives_default">True</property>
> @@ -90,9 +91,7 @@
>            <object class="GtkLabel" id="label">
>              <property name="visible">True</property>
>              <property name="can_focus">False</property>
> -            <property name="xalign">0</property>
> -            <property name="yalign">0</property>
> -            <property name="xpad">4</property>
> +            <property name="halign">start</property>
>              <property name="label" translatable="yes">Available virtual
> machines</property>
>              <property name="ellipsize">end</property>
>              <property name="width_chars">26</property>
> diff --git a/src/virt-viewer.xml b/src/virt-viewer.xml
> index 52c6c93..f8832f0 100644
> --- a/src/virt-viewer.xml
> +++ b/src/virt-viewer.xml
> @@ -1,6 +1,7 @@
>  <?xml version="1.0" encoding="UTF-8"?>
> +<!-- Generated with glade 3.20.0 -->
>  <interface>
> -  <!-- interface-requires gtk+ 2.6 -->
> +  <requires lib="gtk+" version="3.10"/>
>    <object class="GtkAccelGroup" id="accelgroup"/>
>    <object class="GtkApplicationWindow" id="viewer">
>      <property name="can_focus">False</property>
> @@ -8,9 +9,10 @@
>      <property name="default_height">768</property>
>      <signal name="delete-event" handler="virt_viewer_window_delete"
> swapped="no"/>
>      <child>
> -      <object class="GtkVBox" id="viewer-box">
> +      <object class="GtkBox" id="viewer-box">
>          <property name="visible">True</property>
>          <property name="can_focus">False</property>
> +        <property name="orientation">vertical</property>
>          <child>
>            <object class="GtkMenuBar" id="top-menu">
>              <property name="visible">True</property>
> @@ -19,7 +21,6 @@
>                <object class="GtkMenuItem" id="menu-file">
>                  <property name="visible">True</property>
>                  <property name="can_focus">False</property>
> -                <property name="use_action_appearance">False</property>
>                  <property name="label" translatable="yes">_File</property>
>                  <property name="use_underline">True</property>
>                  <child type="submenu">
> @@ -31,7 +32,6 @@
>                        <object class="GtkMenuItem" id="menu-file-screenshot">
>                          <property name="visible">True</property>
>                          <property name="can_focus">False</property>
> -                        <property
> name="use_action_appearance">False</property>
>                          <property name="label"
> translatable="yes">Screenshot</property>
>                          <property name="use_underline">True</property>
>                          <signal name="activate"
> handler="virt_viewer_window_menu_file_screenshot" swapped="no"/>
> @@ -42,7 +42,6 @@
>                          <property name="visible">True</property>
>                          <property name="sensitive">False</property>
>                          <property name="can_focus">False</property>
> -                        <property
> name="use_action_appearance">False</property>
>                          <property name="label" translatable="yes">USB device
> selection</property>
>                          <property name="use_underline">True</property>
>                          <signal name="activate"
> handler="virt_viewer_window_menu_file_usb_device_selection" swapped="no"/>
> @@ -51,7 +50,6 @@
>                      <child>
>                        <object class="GtkMenuItem" id="menu-file-smartcard
> -insert">
>                          <property name="can_focus">False</property>
> -                        <property
> name="use_action_appearance">False</property>
>                          <property name="accel_path"><virt
> -viewer>/file/smartcard-insert</property>
>                          <property name="label" translatable="yes">Smartcard
> insertion</property>
>                          <property name="use_underline">True</property>
> @@ -61,7 +59,6 @@
>                      <child>
>                        <object class="GtkMenuItem" id="menu-file-smartcard
> -remove">
>                          <property name="can_focus">False</property>
> -                        <property
> name="use_action_appearance">False</property>
>                          <property name="accel_path"><virt
> -viewer>/file/smartcard-remove</property>
>                          <property name="label" translatable="yes">Smartcard
> removal</property>
>                          <property name="use_underline">True</property>
> @@ -85,13 +82,12 @@
>                      </child>
>                      <child>
>                        <object class="GtkMenuItem" id="imagemenuitem5">
> -                        <property name="label"
> translatable="yes">_Quit</property>
>                          <property name="visible">True</property>
>                          <property name="can_focus">False</property>
> -                        <property
> name="use_action_appearance">False</property>
> +                        <property name="label"
> translatable="yes">_Quit</property>
>                          <property name="use_underline">True</property>
> -                        <accelerator key="q" signal="activate"
> modifiers="GDK_SHIFT_MASK | GDK_CONTROL_MASK"/>
>                          <signal name="activate"
> handler="virt_viewer_window_menu_file_quit" swapped="no"/>
> +                        <accelerator key="q" signal="activate"
> modifiers="GDK_SHIFT_MASK | GDK_CONTROL_MASK"/>
>                        </object>
>                      </child>
>                    </object>
> @@ -102,7 +98,6 @@
>                <object class="GtkMenuItem" id="menu-view">
>                  <property name="visible">True</property>
>                  <property name="can_focus">False</property>
> -                <property name="use_action_appearance">False</property>
>                  <property name="label" translatable="yes">_View</property>
>                  <property name="use_underline">True</property>
>                  <child type="submenu">
> @@ -114,7 +109,6 @@
>                        <object class="GtkCheckMenuItem" id="menu-view
> -fullscreen">
>                          <property name="visible">True</property>
>                          <property name="can_focus">False</property>
> -                        <property
> name="use_action_appearance">False</property>
>                          <property name="accel_path"><virt
> -viewer>/view/toggle-fullscreen</property>
>                          <property name="label" translatable="yes">Full
> screen</property>
>                          <property name="use_underline">True</property>
> @@ -125,7 +119,6 @@
>                        <object class="GtkMenuItem" id="menu-view-zoom">
>                          <property name="visible">True</property>
>                          <property name="can_focus">False</property>
> -                        <property
> name="use_action_appearance">False</property>
>                          <property name="label"
> translatable="yes">_Zoom</property>
>                          <property name="use_underline">True</property>
>                          <child type="submenu">
> @@ -135,22 +128,20 @@
>                              <property
> name="accel_group">accelgroup</property>
>                              <child>
>                                <object class="GtkMenuItem" id="menu-view-zoom
> -in">
> -                                <property name="accel_path"><virt
> -viewer>/view/zoom-in</property>
> -                                <property name="label"
> translatable="yes">Zoom _In</property>
>                                  <property name="visible">True</property>
>                                  <property name="can_focus">False</property>
> -                                <property
> name="use_action_appearance">False</property>
> +                                <property name="accel_path"><virt
> -viewer>/view/zoom-in</property>
> +                                <property name="label"
> translatable="yes">Zoom _In</property>
>                                  <property
> name="use_underline">True</property>
>                                  <signal name="activate"
> handler="virt_viewer_window_menu_view_zoom_in" swapped="no"/>
>                                </object>
>                              </child>
>                              <child>
>                                <object class="GtkMenuItem" id="menu-view-zoom
> -out">
> -                                <property name="accel_path"><virt
> -viewer>/view/zoom-out</property>
> -                                <property name="label"
> translatable="yes">Zoom _Out</property>
>                                  <property name="visible">True</property>
>                                  <property name="can_focus">False</property>
> -                                <property
> name="use_action_appearance">False</property>
> +                                <property name="accel_path"><virt
> -viewer>/view/zoom-out</property>
> +                                <property name="label"
> translatable="yes">Zoom _Out</property>
>                                  <property
> name="use_underline">True</property>
>                                  <signal name="activate"
> handler="virt_viewer_window_menu_view_zoom_out" swapped="no"/>
>                                </object>
> @@ -163,11 +154,10 @@
>                              </child>
>                              <child>
>                                <object class="GtkMenuItem" id="menu-view-zoom
> -reset">
> -                                <property name="accel_path"><virt
> -viewer>/view/zoom-reset</property>
> -                                <property name="label"
> translatable="yes">_Normal Size</property>
>                                  <property name="visible">True</property>
>                                  <property name="can_focus">False</property>
> -                                <property
> name="use_action_appearance">False</property>
> +                                <property name="accel_path"><virt
> -viewer>/view/zoom-reset</property>
> +                                <property name="label"
> translatable="yes">_Normal Size</property>
>                                  <property
> name="use_underline">True</property>
>                                  <signal name="activate"
> handler="virt_viewer_window_menu_view_zoom_reset" swapped="no"/>
>                                </object>
> @@ -180,7 +170,6 @@
>                        <object class="GtkMenuItem" id="menu-displays">
>                          <property name="visible">True</property>
>                          <property name="can_focus">False</property>
> -                        <property
> name="use_action_appearance">False</property>
>                          <property name="label"
> translatable="yes">Displays</property>
>                          <property name="use_underline">True</property>
>                        </object>
> @@ -188,7 +177,6 @@
>                      <child>
>                        <object class="GtkMenuItem" id="menu-view-release
> -cursor">
>                          <property name="can_focus">False</property>
> -                        <property
> name="use_action_appearance">False</property>
>                          <property name="accel_path"><virt
> -viewer>/view/release-cursor</property>
>                          <property name="label" translatable="yes">Release
> cursor</property>
>                          <property name="use_underline">True</property>
> @@ -203,7 +191,6 @@
>                <object class="GtkMenuItem" id="menu-send">
>                  <property name="visible">True</property>
>                  <property name="can_focus">False</property>
> -                <property name="use_action_appearance">False</property>
>                  <property name="label" translatable="yes">_Send
> key</property>
>                  <property name="use_underline">True</property>
>                </object>
> @@ -212,7 +199,6 @@
>                <object class="GtkMenuItem" id="menu-help">
>                  <property name="visible">True</property>
>                  <property name="can_focus">False</property>
> -                <property name="use_action_appearance">False</property>
>                  <property name="label" translatable="yes">_Help</property>
>                  <property name="use_underline">True</property>
>                  <child type="submenu">
> @@ -223,7 +209,6 @@
>                        <object class="GtkMenuItem" id="menu-help-guest
> -details">
>                          <property name="visible">True</property>
>                          <property name="can_focus">False</property>
> -                        <property
> name="use_action_appearance">False</property>
>                          <property name="label" translatable="yes">_Guest
> Details</property>
>                          <property name="use_underline">True</property>
>                          <signal name="activate"
> handler="virt_viewer_window_menu_help_guest_details" swapped="no"/>
> @@ -231,10 +216,9 @@
>                      </child>
>                      <child>
>                        <object class="GtkMenuItem" id="imagemenuitem10">
> -                        <property name="label"
> translatable="yes">_About</property>
>                          <property name="visible">True</property>
>                          <property name="can_focus">False</property>
> -                        <property
> name="use_action_appearance">False</property>
> +                        <property name="label"
> translatable="yes">_About</property>
>                          <property name="use_underline">True</property>
>                          <signal name="activate"
> handler="virt_viewer_window_menu_help_about" swapped="no"/>
>                        </object>




More information about the virt-tools-list mailing list