[gcalctool] Code moved to ui.c
- From: Robert Ancell <rancell src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gcalctool] Code moved to ui.c
- Date: Mon, 5 Apr 2010 23:53:18 +0000 (UTC)
commit ed47bd272d8da1fdd2eaa5b1df5917912b9dcdb5
Author: Robert Ancell <robert ancell gmail com>
Date: Tue Apr 6 08:21:36 2010 +1000
Code moved to ui.c
src/ui-display.c | 6 ------
1 files changed, 0 insertions(+), 6 deletions(-)
---
diff --git a/src/ui-display.c b/src/ui-display.c
index ebfc72e..078d810 100644
--- a/src/ui-display.c
+++ b/src/ui-display.c
@@ -264,12 +264,6 @@ ui_display_set(MathDisplay *display, char *str, int cursor)
gtk_text_buffer_get_iter_at_offset(display->priv->display_buffer, &iter, cursor);
gtk_text_buffer_place_cursor(display->priv->display_buffer, &iter);
gtk_text_view_scroll_to_iter(GTK_TEXT_VIEW(display->priv->display_item), &iter, 0.0, TRUE, 1.0, 0.0);
-
- /* Align to the right */
- /*FIXME: if (cursor < 0) {
- adj = gtk_scrolled_window_get_hadjustment(GTK_SCROLLED_WINDOW(display));
- gtk_adjustment_set_value(adj, gtk_adjustment_get_upper(adj) - gtk_adjustment_get_page_size(adj));
- }*/
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]