gnumeric r16649 - in trunk: . src
- From: jody svn gnome org
- To: svn-commits-list gnome org
- Subject: gnumeric r16649 - in trunk: . src
- Date: Mon, 23 Jun 2008 01:36:39 +0000 (UTC)
Author: jody
Date: Mon Jun 23 01:36:39 2008
New Revision: 16649
URL: http://svn.gnome.org/viewvc/gnumeric?rev=16649&view=rev
Log:
* Fix display confusion when reordering away from RTL sheet. [#499910]
Modified:
trunk/ChangeLog
trunk/NEWS
trunk/src/wbc-gtk.c
Modified: trunk/NEWS
==============================================================================
--- trunk/NEWS (original)
+++ trunk/NEWS Mon Jun 23 01:36:39 2008
@@ -19,6 +19,7 @@
* Add alignment to row/col headers for small scales. [#154687]
* Support Some XLM functions commonly used in charting.
* Fix xls import of charts in charts.
+ * Fix display confusion when reordering away from RTL sheet. [#499910]
Morten:
* Fix Excel export problem for strings that need quoting. [#530704]
Modified: trunk/src/wbc-gtk.c
==============================================================================
--- trunk/src/wbc-gtk.c (original)
+++ trunk/src/wbc-gtk.c Mon Jun 23 01:36:39 2008
@@ -673,15 +673,17 @@
G_GNUC_UNUSED GParamSpec *null_pspec,
SheetControlGUI const *scg)
{
- GtkWidget *w = (GtkWidget *)scg->wbcg->notebook;
- gboolean text_is_rtl = scg->sheet_control.sheet->text_is_rtl;
- GtkTextDirection dir = text_is_rtl
- ? GTK_TEXT_DIR_RTL
- : GTK_TEXT_DIR_LTR;
-
- if (dir != gtk_widget_get_direction (w))
- set_dir (w, &dir);
- g_object_set (scg->hs, "inverted", text_is_rtl, NULL);
+ if (scg == wbcg_cur_scg (scg->wbcg)) {
+ GtkWidget *w = (GtkWidget *)scg->wbcg->notebook;
+ gboolean text_is_rtl = scg->sheet_control.sheet->text_is_rtl;
+ GtkTextDirection dir = text_is_rtl
+ ? GTK_TEXT_DIR_RTL
+ : GTK_TEXT_DIR_LTR;
+
+ if (dir != gtk_widget_get_direction (w))
+ set_dir (w, &dir);
+ g_object_set (scg->hs, "inverted", text_is_rtl, NULL);
+ }
}
static void
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]