[Tails-dev] [PATCH] Feature #7009: Make the Greeter's help w…

Delete this message

Reply to this message
Autor: Andres Gomez Ramirez
Data:  
Dla: tails-dev@boum.org
Temat: [Tails-dev] [PATCH] Feature #7009: Make the Greeter's help window resolution-aware
Hello,

I'm sending a patch for Feature #7009: Make the Greeter's help window resolution-aware, https://labs.riseup.net/code/issues/7009.

Cheers,

KuronoFrom 279fc82a315d5bbd8124e115a032406745c7c736 Mon Sep 17 00:00:00 2001
From: kurono <andres.gomez@???>
Date: Tue, 8 Apr 2014 22:27:58 +0200
Subject: [PATCH] Feature #7009: Make the Greeter's help window
resolution-aware

---
 glade/helpwindow.glade     |    2 +-
 tailsgreeter/helpwindow.py |    1 +
 2 files changed, 2 insertions(+), 1 deletion(-)


diff --git a/glade/helpwindow.glade b/glade/helpwindow.glade
index 0303001..b616c32 100644
--- a/glade/helpwindow.glade
+++ b/glade/helpwindow.glade
@@ -61,7 +61,7 @@
             </child>
           </object>
           <packing>
-            <property name="expand">False</property>
+            <property name="expand">True</property>
             <property name="fill">True</property>
             <property name="position">1</property>
           </packing>
diff --git a/tailsgreeter/helpwindow.py b/tailsgreeter/helpwindow.py
index b5b7c0e..8c48237 100644
--- a/tailsgreeter/helpwindow.py
+++ b/tailsgreeter/helpwindow.py
@@ -51,6 +51,7 @@ class HelpWindow(TranslatableWindow):
         self.html_help.load_uri(uri)
         self.help_container.add_child(builder, self.html_help, None)
         self.html_help.show()
+        self.window.resize(self.window.get_size()[0], self.window.get_screen().get_height())
         self.window.run()


     def close(self, *args):
-- 
1.7.9.5