[evolution-patches] shell/e-sidebar.c: Display correctly in RTL (right-to-left) langauges
- From: Trent Lloyd <lathiat bur st>
- To: evolution-patches lists ximian com
- Subject: [evolution-patches] shell/e-sidebar.c: Display correctly in RTL (right-to-left) langauges
- Date: Thu, 22 Apr 2004 20:53:47 +0800
Hi Guys,
This patch makes the sidebar display the changer for Mail/Tasks/etc
correctly in right to left languages.
There are still a number of other issues, but this is a start :)
Cheers,
Trent
Index: shell/ChangeLog
===================================================================
RCS file: /cvs/gnome/evolution/shell/ChangeLog,v
retrieving revision 1.1418
diff -u -r1.1418 ChangeLog
--- shell/ChangeLog 21 Apr 2004 04:08:55 -0000 1.1418
+++ shell/ChangeLog 22 Apr 2004 12:53:52 -0000
@@ -1,3 +1,9 @@
+2004-04-22 Trent Lloyd <lathiat bur st>
+
+ * e-sidebar.c (do_layout_text_buttons): take into account the position
+ of the sidebar which isnt on the very left in right to left languages,
+ otherwise the buttons are drawn in the wrong place.
+
2004-04-21 Not Zed <NotZed Ximian com>
* e-user-creatable-items-handler.c (execute_verb): if we're
Index: shell/e-sidebar.c
===================================================================
RCS file: /cvs/gnome/evolution/shell/e-sidebar.c,v
retrieving revision 1.6
diff -u -r1.6 e-sidebar.c
--- shell/e-sidebar.c 12 Jan 2004 04:08:16 -0000 1.6
+++ shell/e-sidebar.c 22 Apr 2004 12:53:55 -0000
@@ -213,7 +213,7 @@
int len, extra_width;
y -= max_btn_height;
- x = H_PADDING;
+ x = H_PADDING + allocation->x;
len = g_slist_length (rows[i]);
extra_width = (allocation->width - (len * max_btn_width ) - (len * H_PADDING)) / len;
for (p = rows [i]; p != NULL; p = p->next) {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]