[gnome-characters/wip/properties: 9/14] character: Remove decomposition row before adding
- From: Daiki Ueno <dueno src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-characters/wip/properties: 9/14] character: Remove decomposition row before adding
- Date: Tue, 10 Feb 2015 10:02:18 +0000 (UTC)
commit 5027298aa21b02c79b0b27c909ac791fe0e2d8c0
Author: Daiki Ueno <dueno src gnome org>
Date: Tue Feb 10 05:06:45 2015 +0900
character: Remove decomposition row before adding
src/character.js | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/character.js b/src/character.js
index bfc0f62..8b2092b 100644
--- a/src/character.js
+++ b/src/character.js
@@ -150,6 +150,8 @@ const CharacterDialog = new Lang.Class({
this._category_label.label = Gc.character_category(uc);
this._script_label.label = Gc.character_script(uc);
this._block_label.label = Gc.character_block(uc);
+
+ this._detail_grid.remove_row(4);
let result = Gc.character_decomposition(uc);
if (result.len > 0) {
let decomposition = [];
@@ -173,8 +175,6 @@ const CharacterDialog = new Lang.Class({
title,
Gtk.PositionType.RIGHT,
1, 1);
- } else {
- this._detail_grid.remove_row(4);
}
let children = this._related_listbox.get_children();
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]