[gnome-boxes/split-remote-outta-wizard: 6/6] wizard-source: Drop "Connect to a remote box" button
- From: Felipe Borges <felipeborges src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-boxes/split-remote-outta-wizard: 6/6] wizard-source: Drop "Connect to a remote box" button
- Date: Wed, 24 Jul 2019 11:56:26 +0000 (UTC)
commit 2b114702134bae73e8b2a11a3627450bc90c1960
Author: Felipe Borges <felipeborges gnome org>
Date: Tue Jul 16 14:21:46 2019 +0200
wizard-source: Drop "Connect to a remote box" button
Lets keep the underlying logic for RemoteMachines in the Wizard
code so we can still support opening vnc/rdp/ssh URLs.
data/ui/wizard-source.ui | 63 ------------------------------------------------
src/wizard-source.vala | 5 ----
2 files changed, 68 deletions(-)
---
diff --git a/data/ui/wizard-source.ui b/data/ui/wizard-source.ui
index 59e8369c..94c8a802 100644
--- a/data/ui/wizard-source.ui
+++ b/data/ui/wizard-source.ui
@@ -122,69 +122,6 @@
</object>
</child>
- <child>
- <object class="GtkButton" id="enter_url_button">
- <property name="visible">True</property>
- <signal name="clicked" handler="on_enter_url_button_clicked"/>
- <style>
- <class name="boxes-menu-row"/>
- </style>
- <child>
- <object class="GtkBox">
- <property name="visible">True</property>
- <property name="margin-top">10</property>
- <property name="margin-bottom">10</property>
- <property name="margin-start">20</property>
- <property name="margin-end">20</property>
- <property name="spacing">20</property>
- <property name="orientation">horizontal</property>
- <child>
- <object class="GtkBox">
- <property name="visible">True</property>
- <property name="orientation">vertical</property>
- <property name="spacing">2</property>
- <child>
- <object class="GtkLabel">
- <property name="visible">True</property>
- <property name="halign">start</property>
- <property name="use-underline">True</property>
- <property name="label" translatable="yes">Connect to a remote box</property>
- </object>
- </child>
- <child>
- <object class="GtkLabel">
- <property name="visible">True</property>
- <property name="halign">start</property>
- <property name="label" translatable="yes">Connect using RDP, SPICE, SSH, or
VNC.</property>
- <property name="xalign">0</property>
- <property name="wrap">True</property>
- <property name="max-width-chars">50</property>
- <style>
- <class name="dim-label"/>
- </style>
- </object>
- </child>
- </object>
- <packing>
- <property name="expand">True</property>
- <property name="fill">True</property>
- </packing>
- </child>
- <child>
- <object class="GtkLabel" id="enter_url_next_label">
- <property name="visible">True</property>
- <property name="label" translatable="yes">▶</property>
- </object>
- <packing>
- <property name="expand">False</property>
- <property name="fill">False</property>
- </packing>
- </child>
- </object>
- </child>
- </object>
- </child>
-
<child>
<object class="GtkButton" id="libvirt_sys_import_button">
<property name="visible">False</property>
diff --git a/src/wizard-source.vala b/src/wizard-source.vala
index f8bc956c..1b77c68b 100644
--- a/src/wizard-source.vala
+++ b/src/wizard-source.vala
@@ -425,11 +425,6 @@ public void cleanup () {
}
}
- [GtkCallback]
- private void on_enter_url_button_clicked () {
- page = SourcePage.URL;
- }
-
[GtkCallback]
private void on_url_entry_activated () {
activated ();
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]