Update to 1.4.29

- Translation update from Weblate (Malayalam (ml), new, 100%, Swedish (sv) 100%)
This commit is contained in:
Mike FABIAN 2024-04-10 18:03:12 +02:00 committed by Parag Nemade
parent 37e8ccd895
commit 31c9bc91cd
No known key found for this signature in database
GPG Key ID: 71932951EB71E972
4 changed files with 3 additions and 45 deletions

1
.gitignore vendored
View File

@ -33,3 +33,4 @@ ibus-m17n-1.3.0.tar.gz
/ibus-m17n-1.4.26.tar.gz
/ibus-m17n-1.4.27.tar.gz
/ibus-m17n-1.4.28.tar.gz
/ibus-m17n-1.4.29.tar.gz

View File

@ -1,43 +0,0 @@
From 02022c17212357afb5cec727edd8f095aa40d98d Mon Sep 17 00:00:00 2001
From: Daiki Ueno <ueno@unixuser.org>
Date: Thu, 29 Sep 2011 10:17:28 +0900
Subject: [PATCH 2/4] Hide status from the panel if status == title.
---
src/engine.c | 8 +++++++-
1 files changed, 7 insertions(+), 1 deletions(-)
Index: ibus-m17n-1.3.4/src/engine.c
===================================================================
--- ibus-m17n-1.4.0.orig/src/engine.c 2018-10-23 15:32:43.000000000 +0200
+++ ibus-m17n-1.4.0/src/engine.c 2018-10-24 08:35:49.463479480 +0200
@@ -41,6 +41,7 @@
gint lookup_table_orientation;
gboolean use_us_layout;
+ gchar *title;
MInputMethod *im;
};
@@ -236,6 +237,10 @@
"org.freedesktop.ibus.engine.m17n",
g_strdup_printf ("/org/freedesktop/ibus/engine/m17n/%s/%s/",
lang, name));
+ MPlist *l = minput_get_title_icon (msymbol (lang), msymbol (name));
+ if (l && mplist_key (l) == Mtext) {
+ klass->title = ibus_m17n_mtext_to_utf8 (mplist_value (l));
+ }
g_free (lang);
g_free (name);
@@ -961,8 +966,9 @@
else if (command == Minput_status_draw) {
gchar *status;
status = ibus_m17n_mtext_to_utf8 (m17n->context->status);
+ IBusM17NEngineClass *klass = (IBusM17NEngineClass *) G_OBJECT_GET_CLASS (m17n);
- if (status && strlen (status)) {
+ if (status && strlen (status) && g_strcmp0 (status, klass->title)) {
IBusText *text;
text = ibus_text_new_from_string (status);
ibus_property_set_label (m17n->status_prop, text);

View File

@ -1,7 +1,7 @@
%global require_ibus_version 1.4.0
Name: ibus-m17n
Version: 1.4.28
Version: 1.4.29
Release: %autorelease
Summary: The M17N engine for IBus platform
License: GPL-2.0-or-later

View File

@ -1 +1 @@
SHA512 (ibus-m17n-1.4.28.tar.gz) = b96dea6a46f50529aeb0b828f8846b1e856e0fc0bb3dbf14ea384283156741653ff396e1647a835c505292cfea78f788ec0a391a57622b8f4c3e13fb35f191fc
SHA512 (ibus-m17n-1.4.29.tar.gz) = bb3b3f44fa5a79e7e15c71b30760f7b29454a47b167f12cc4bde52ee03151f794795fd0d9bb6a2a7877a0afc909f81342d50461da3d49a905255c76288023edb