public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in app-i18n/ibus-fbterm/files: ibus-fbterm-0.9.1-ibus-1.4.1.patch
@ 2012-06-22  0:09 Naohiro Aota (naota)
  0 siblings, 0 replies; only message in thread
From: Naohiro Aota (naota) @ 2012-06-22  0:09 UTC (permalink / raw
  To: gentoo-commits

naota       12/06/22 00:09:45

  Added:                ibus-fbterm-0.9.1-ibus-1.4.1.patch
  Log:
  New package app-i18n/ibus-fbterm.
  
  (Portage version: 2.2.0_alpha110/cvs/Linux x86_64)

Revision  Changes    Path
1.1                  app-i18n/ibus-fbterm/files/ibus-fbterm-0.9.1-ibus-1.4.1.patch

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-i18n/ibus-fbterm/files/ibus-fbterm-0.9.1-ibus-1.4.1.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-i18n/ibus-fbterm/files/ibus-fbterm-0.9.1-ibus-1.4.1.patch?rev=1.1&content-type=text/plain

Index: ibus-fbterm-0.9.1-ibus-1.4.1.patch
===================================================================
diff -Nurap ibus-fbterm-0.9.1.orig//src/display.c ibus-fbterm-0.9.1//src/display.c
--- ibus-fbterm-0.9.1.orig//src/display.c	2012-06-06 17:59:26.000000000 +0900
+++ ibus-fbterm-0.9.1//src/display.c	2012-06-06 18:05:22.000000000 +0900
@@ -212,7 +212,7 @@ static void calculate_status_win()
 		IBusProperty *prop = ibus_prop_list_get(property_list, i);
 		if (!prop) break;
 
-		w += text_width(prop->label->text);
+		w += text_width(ibus_property_get_label(prop)->text);
 	}
 
 	status_bar_win.x = cursor_x;
@@ -238,8 +238,8 @@ static void draw_status_bar()
 		IBusProperty *prop = ibus_prop_list_get(property_list, i);
 		if (!prop) break;
 
-		draw_text(x, y, COLOR_FG, COLOR_BG, prop->label->text, strlen(prop->label->text));
-		x += FW(text_width(prop->label->text));
+		draw_text(x, y, COLOR_FG, COLOR_BG, ibus_property_get_label(prop)->text, strlen(ibus_property_get_label(prop)->text));
+		x += FW(text_width(ibus_property_get_label(prop)->text));
 
 		char space = ' ';
 		draw_text(x, y, COLOR_FG, COLOR_BG, &space, 1);






^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2012-06-22  0:10 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-06-22  0:09 [gentoo-commits] gentoo-x86 commit in app-i18n/ibus-fbterm/files: ibus-fbterm-0.9.1-ibus-1.4.1.patch Naohiro Aota (naota)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox