Daniel Brötzmann pushed to branch master at gajim / gajim
Commits: 29110347 by wurstsalat at 2020-11-11T22:37:32+01:00 Accounts: Add icon to Add Account page - - - - - 1 changed file: - gajim/gtk/accounts.py Changes: ===================================== gajim/gtk/accounts.py ===================================== @@ -555,14 +555,24 @@ def _disable(): class AddNewAccountPage(Gtk.Box): def __init__(self): - Gtk.Box.__init__(self, orientation=Gtk.Orientation.VERTICAL) + Gtk.Box.__init__(self, + orientation=Gtk.Orientation.VERTICAL, + spacing=18) self.set_vexpand(True) self.set_hexpand(True) + self.set_margin_top(24) + pixbuf = Gtk.IconTheme.load_icon_for_scale( + Gtk.IconTheme.get_default(), + 'org.gajim.Gajim-symbolic', + 100, + self.get_scale_factor(), + 0) + self.add(Gtk.Image.new_from_pixbuf(pixbuf)) + button = Gtk.Button(label=_('Add Account')) button.get_style_context().add_class('suggested-action') button.set_action_name('app.add-account') button.set_halign(Gtk.Align.CENTER) - button.set_valign(Gtk.Align.CENTER) self.add(button) View it on GitLab: https://dev.gajim.org/gajim/gajim/-/commit/29110347c6368321e7a9a01419be21024018bbd8 -- View it on GitLab: https://dev.gajim.org/gajim/gajim/-/commit/29110347c6368321e7a9a01419be21024018bbd8 You're receiving this email because of your account on dev.gajim.org.
_______________________________________________ Commits mailing list Commits@gajim.org https://lists.gajim.org/cgi-bin/listinfo/commits