[polari/wip/dmoelgaard/initial-setup: 6/12] connections: Fix intial visibility of already-added label
- From: Florian Müllner <fmuellner src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [polari/wip/dmoelgaard/initial-setup: 6/12] connections: Fix intial visibility of already-added label
- Date: Mon, 7 Aug 2017 03:25:06 +0000 (UTC)
commit dd9af8e30e107379b4c0f3d21e34adcba06be1a4
Author: Florian Müllner <fmuellner gnome org>
Date: Wed Aug 2 01:21:20 2017 +0100
connections: Fix intial visibility of already-added label
While we are careful to set up the widget in a way to only show the
label for insensitive rows, any ancestor may still mess it up with
a show_all() call. Guard against this by excluding the label from
show_all().
src/connections.js | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/connections.js b/src/connections.js
index ddeef61..099f7d0 100644
--- a/src/connections.js
+++ b/src/connections.js
@@ -53,6 +53,7 @@ var ConnectionRow = new Lang.Class({
let insensitiveDesc = new Gtk.Label({ label: _("Already added"),
hexpand: true,
+ no_show_all: true,
halign: Gtk.Align.END });
box.add(insensitiveDesc);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]