[gnome-characters] characterList: Reduce the gap between "Recently Used" panes
- From: Daiki Ueno <dueno src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-characters] characterList: Reduce the gap between "Recently Used" panes
- Date: Thu, 24 Aug 2017 14:56:45 +0000 (UTC)
commit ab9a0ba3a7cb8684650cbf718c9bdd93745c200d
Author: Daiki Ueno <dueno src gnome org>
Date: Wed Aug 23 13:18:59 2017 +0200
characterList: Reduce the gap between "Recently Used" panes
src/categoryList.js | 14 +++++++-------
src/characterList.js | 2 +-
src/window.js | 6 +++---
3 files changed, 11 insertions(+), 11 deletions(-)
---
diff --git a/src/categoryList.js b/src/categoryList.js
index f98131b..d2c6599 100644
--- a/src/categoryList.js
+++ b/src/categoryList.js
@@ -28,18 +28,18 @@ const Util = imports.util;
const CategoryList = [
{
- name: 'letters',
- category: Gc.Category.LETTER,
- title: N_('Letters & Symbols'),
- icon_name: 'characters-latin-symbolic',
- action_name: 'category'
- },
- {
name: 'emojis',
category: Gc.Category.EMOJI,
title: N_('Emojis'),
icon_name: 'characters-emoji-smileys',
action_name: 'category'
+ },
+ {
+ name: 'letters',
+ category: Gc.Category.LETTER,
+ title: N_('Letters & Symbols'),
+ icon_name: 'characters-latin-symbolic',
+ action_name: 'category'
}
];
diff --git a/src/characterList.js b/src/characterList.js
index 6b7bb6a..82ba53c 100644
--- a/src/characterList.js
+++ b/src/characterList.js
@@ -646,7 +646,7 @@ var RecentCharacterListView = new Lang.Class({
fontFilter: null
});
params = Params.fill(params, {
- hexpand: true, vexpand: true
+ hexpand: true, vexpand: false
});
this.parent(params);
diff --git a/src/window.js b/src/window.js
index bd62dad..7574e28 100644
--- a/src/window.js
+++ b/src/window.js
@@ -337,7 +337,7 @@ const MainView = new Lang.Class({
let characterList;
let categories = this._categoryListView.getCategoryList();
let recentBox = new Gtk.Box({ orientation: Gtk.Orientation.VERTICAL,
- hexpand: true, vexpand: true });
+ hexpand: true, vexpand: false });
for (let i in categories) {
let category = categories[i];
@@ -359,9 +359,9 @@ const MainView = new Lang.Class({
this._recentCharacterLists[category.name] = characterList;
if (i > 0) {
let separator = new Gtk.Separator({});
- recentBox.pack_end(separator, false, false, 0);
+ recentBox.pack_start(separator, false, false, 0);
}
- recentBox.pack_end(characterList, true, true, 0);
+ recentBox.pack_start(characterList, false, false, 0);
}
let scroll = new Gtk.ScrolledWindow({
hscrollbar_policy: Gtk.PolicyType.NEVER,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]