debian/patches: Remove all obsolete patches.
Description: fix FTBFS with clang instead of gcc | ||
Author: Nicolas Sévelin-Radiguet <[email protected]> | ||
Last-Update: 2014-03-30 | ||
--- a/src/setup.c | ||
+++ b/src/setup.c | ||
@@ -428,7 +428,7 @@ | ||
gboolean retval = TRUE; | ||
if (!gtk_tree_model_get_iter_first (model, &iter)) | ||
- return; | ||
+ return FALSE; | ||
do { | ||
gtk_tree_model_get (model, &iter, |
This diff is collapsed.
From b0e03bac1f3b420ac1b7ac76d6008dd4ed942cbf Mon Sep 17 00:00:00 2001 | ||
From: Daiki Ueno <[email protected]> | ||
Date: Mon, 13 May 2013 15:45:33 +0900 | ||
Subject: [PATCH] Fix ibus-m17n-preferences.ui location | ||
--- | ||
src/setup.c | 2 +- | ||
1 file changed, 1 insertion(+), 1 deletion(-) | ||
diff --git a/src/setup.c b/src/setup.c | ||
index 513fabf..4de8fb1 100644 | ||
--- a/src/setup.c | ||
+++ b/src/setup.c | ||
@@ -570,7 +570,7 @@ setup_dialog_new (IBusConfig *config, | ||
error = NULL; | ||
if (gtk_builder_add_from_file (builder, | ||
- PKGDATADIR "setup/ibus-m17n-preferences.ui", | ||
+ PKGDATADIR "/setup/ibus-m17n-preferences.ui", | ||
&error) == 0) { | ||
g_warning ("can't read ibus-m17n-preferences.ui: %s", | ||
error->message); | ||
-- | ||
1.8.1.4 | ||
From e5c742c56abaadaa5d5a018c0d9004bf2d0a100c Mon Sep 17 00:00:00 2001 | ||
From: Mike FABIAN <[email protected]> | ||
Date: Mon, 12 Aug 2013 18:51:59 +0200 | ||
Subject: [PATCH] engine: fix preedit background colour and underlining | ||
BUG=rhbz#995842 | ||
Review URL: https://codereview.appspot.com/12688049 | ||
Patch from Mike FABIAN <[email protected]>. | ||
--- | ||
src/engine.c | 2 +- | ||
1 file changed, 1 insertion(+), 1 deletion(-) | ||
--- a/src/engine.c | ||
+++ b/src/engine.c | ||
@@ -293,7 +293,7 @@ | ||
"preedit_underline", | ||
G_VARIANT_TYPE_INT32); | ||
if (value != NULL) { | ||
- klass->preedit_background = g_variant_get_int32 (value); | ||
+ klass->preedit_underline = g_variant_get_int32 (value); | ||
g_variant_unref (value); | ||
} | ||
From 02022c17212357afb5cec727edd8f095aa40d98d Mon Sep 17 00:00:00 2001 | ||
From: Daiki Ueno <[email protected]> | ||
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(-) | ||
--- a/src/engine.c | ||
+++ b/src/engine.c | ||
@@ -36,6 +36,7 @@ | ||
IBusPreeditFocusMode preedit_focus_mode; | ||
gint lookup_table_orientation; | ||
+ gchar *title; | ||
MInputMethod *im; | ||
}; | ||
@@ -245,6 +246,10 @@ | ||
} | ||
engine_name = g_strdup_printf ("m17n:%s:%s", lang, name); | ||
klass->config_section = g_strdup_printf ("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); | ||
@@ -903,8 +908,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); |
Please register or sign in to comment