diff options
author | rst0git <rstoyanov1@gmail.com> | 2017-04-12 11:47:41 +0100 |
---|---|---|
committer | Cole Robinson <crobinso@redhat.com> | 2017-04-12 09:22:56 -0400 |
commit | 04d46d4baadb30f4ed9a738f062b394b01e51021 (patch) | |
tree | 95ad9520f4df12fb3ff35363c31c5491c7fed43c /ui/manager.ui | |
parent | ff3b4dc5b0b21393dbccc0f5f691b17bf1a761bd (diff) | |
download | virt-manager-04d46d4baadb30f4ed9a738f062b394b01e51021.tar.gz |
Replace GtkHBox and GtkVBox with GtkBox.
Problem:
- GtkHBox and GtkVBox have been deprecated since version 3.2 and should not be used in newly-written code.
Solution: Replace GtkHBox and GtkVBox with GtkBox.
- I have used the find function in text-editor to find all occurances of "GtkVBox" and "GtkHBox" then replaced them with "GtkBox".
- Then append on a new line immediately after "<property name="orientation">...</property>" with value "horizontal" or "vertical" accordingly.
Diffstat (limited to 'ui/manager.ui')
-rw-r--r-- | ui/manager.ui | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/ui/manager.ui b/ui/manager.ui index e52d9eb5..17de98fd 100644 --- a/ui/manager.ui +++ b/ui/manager.ui @@ -30,7 +30,8 @@ <signal name="configure-event" handler="on_vmm_manager_configure_event" swapped="no"/> <signal name="delete-event" handler="on_vm_manager_delete_event" swapped="no"/> <child> - <object class="GtkVBox" id="vbox1"> + <object class="GtkBox" id="vbox1"> + <property name="orientation">vertical</property> <property name="visible">True</property> <property name="can_focus">False</property> <child> @@ -268,7 +269,8 @@ </packing> </child> <child> - <object class="GtkVBox" id="vbox2"> + <object class="GtkBox" id="vbox2"> + <property name="orientation">vertical</property> <property name="visible">True</property> <property name="can_focus">False</property> <child> |