[transmageddon] Add a sizegroup for the two bottom actionbuttons to make them same width



commit 7f581efb24bfefda5d4a6a0e86f22d85676a443d
Author: Christian Fredrik Kalager Schaller <uraeus linuxrising org>
Date:   Thu Jun 26 10:48:14 2014 +0200

    Add a sizegroup for the two bottom actionbuttons to make them same width

 src/transmageddon.py |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/src/transmageddon.py b/src/transmageddon.py
index 4e451a7..7fb757f 100644
--- a/src/transmageddon.py
+++ b/src/transmageddon.py
@@ -284,6 +284,9 @@ class TransmageddonUI(Gtk.ApplicationWindow):
        self.builder.connect_signals(self) # Initialize User Interface
        self.add(self.box)
 
+       actionbuttonssizegroup= Gtk.SizeGroup(Gtk.SizeGroupMode.HORIZONTAL)
+       actionbuttonssizegroup.add_widget(self.cancelbutton)
+       actionbuttonssizegroup.add_widget(self.transcodebutton)
        
        def get_file_path_from_dnd_dropped_uri(self, uri):
            # get the path to file


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]