[gnome-boxes/simplify-assistant-landing-page: 5/5] assistant, rhel-downloads: Untangle dialog size from Assistant's
- From: Felipe Borges <felipeborges src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-boxes/simplify-assistant-landing-page: 5/5] assistant, rhel-downloads: Untangle dialog size from Assistant's
- Date: Fri, 21 Jan 2022 17:43:54 +0000 (UTC)
commit d86ef66dc5025f5b1a23d3d005064e461359eb41
Author: Felipe Borges <felipeborges gnome org>
Date: Fri Jan 21 18:38:46 2022 +0100
assistant, rhel-downloads: Untangle dialog size from Assistant's
No need to keep the same size. For the webview 800x600 is more
comfortable. And the dialog is resizable.
data/ui/assistant/rhel-download-dialog.ui | 3 ++-
src/assistant/rhel-download-dialog.vala | 4 ----
2 files changed, 2 insertions(+), 5 deletions(-)
---
diff --git a/data/ui/assistant/rhel-download-dialog.ui b/data/ui/assistant/rhel-download-dialog.ui
index ad8b9e1c..e7114ffc 100644
--- a/data/ui/assistant/rhel-download-dialog.ui
+++ b/data/ui/assistant/rhel-download-dialog.ui
@@ -3,7 +3,8 @@
<template class="BoxesRHELDownloadDialog" parent="GtkDialog">
<property name="modal">True</property>
<property name="type-hint">dialog</property>
- <property name="height-request">250</property>
+ <property name="width-request">800</property>
+ <property name="height-request">600</property>
<child internal-child="vbox">
<object class="GtkBox">
diff --git a/src/assistant/rhel-download-dialog.vala b/src/assistant/rhel-download-dialog.vala
index cee204b4..0b590183 100644
--- a/src/assistant/rhel-download-dialog.vala
+++ b/src/assistant/rhel-download-dialog.vala
@@ -44,10 +44,6 @@ public RHELDownloadDialog (VMAssistant dialog, AssistantDownloadableEntry entry)
web_view.load_uri (authentication_uri);
- int width, height;
- dialog.get_size_request (out width, out height);
- set_size_request (width, height);
-
bind_property ("visible", dialog, "visible", BindingFlags.INVERT_BOOLEAN);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]