[gtranslator] Show the selected row always in the center of the message table.
- From: Ignacio Casal Quinteiro <icq src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtranslator] Show the selected row always in the center of the message table.
- Date: Sat, 17 Apr 2010 17:57:19 +0000 (UTC)
commit 52a1f0263fe9516e24e21b42b93dc0163a97896b
Author: Ignacio Casal Quinteiro <icq gnome org>
Date: Sat Apr 17 19:56:55 2010 +0200
Show the selected row always in the center of the message table.
src/gtr-message-table.c | 4 +---
1 files changed, 1 insertions(+), 3 deletions(-)
---
diff --git a/src/gtr-message-table.c b/src/gtr-message-table.c
index 8dc856d..686f03b 100644
--- a/src/gtr-message-table.c
+++ b/src/gtr-message-table.c
@@ -98,10 +98,8 @@ showed_message_cb (GtrTab * tab, GtrMsg * msg, GtrMessageTable * table)
gtk_tree_selection_select_iter (selection, &iter);
- gtk_tree_path_next (path);
-
gtk_tree_view_scroll_to_cell (GTK_TREE_VIEW (table->priv->treeview),
- path, NULL, FALSE, 0.0, 0.0);
+ path, NULL, TRUE, 0.5, 0.0);
gtk_tree_path_free (path);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]