diff options
author | Nickolay V. Shmyrev <nshmyrev@yandex.ru> | 2008-09-07 16:27:14 (GMT) |
---|---|---|
committer | Nickolay V. Shmyrev <nshmyrev@src.gnome.org> | 2008-09-07 16:27:14 (GMT) |
commit | cfe4ba6711c12ea9ad1ddba4cbd60e964715170b (patch) | |
tree | 6efd3a235a74e8c092dfa1e96d5831d1b8595b10 /shell/ev-page-action.c | |
parent | c8ff46f7c9444ea484ac85b5a8a68d0905acad84 (diff) |
Patch for case unsensitive page label match by Michael Lee. See bug
2008-09-07 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
* shell/ev-page-cache.c (ev_page_cache_set_page_label):
Patch for case unsensitive page label match by Michael Lee.
See bug #550136.
* shell/ev-page-action.c (create_tool_item):
* test/Makefile.am:
* test/test1.py:
* test/test4.py:
* test/test5.py:
Added test for the above and updated other tests.
svn path=/trunk/; revision=3161
Diffstat (limited to 'shell/ev-page-action.c')
-rw-r--r-- | shell/ev-page-action.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/shell/ev-page-action.c b/shell/ev-page-action.c index ef87e75..cc3615a 100644 --- a/shell/ev-page-action.c +++ b/shell/ev-page-action.c @@ -163,6 +163,7 @@ create_tool_item (GtkAction *action) { EvPageActionWidget *proxy; GtkWidget *hbox; + AtkObject *obj; proxy = g_object_new (ev_page_action_widget_get_type (), NULL); gtk_container_set_border_width (GTK_CONTAINER (proxy), 6); @@ -172,6 +173,9 @@ create_tool_item (GtkAction *action) gtk_box_set_spacing (GTK_BOX (hbox), 6); proxy->entry = gtk_entry_new (); + obj = gtk_widget_get_accessible (proxy->entry); + atk_object_set_name (obj, "page-label-entry"); + g_signal_connect(proxy->entry, "scroll-event",G_CALLBACK(page_scroll_cb),action); gtk_widget_add_events(GTK_WIDGET(proxy->entry),GDK_BUTTON_MOTION_MASK); gtk_entry_set_width_chars (GTK_ENTRY (proxy->entry), 5); |