diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2013-06-11 03:21:10 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2013-06-11 03:48:13 +0800 |
commit | b7331351e8de694cf3c55aaa6061d03ea2cd0f6b (patch) | |
tree | 092775226db923297480c060c9dcd8d8dc3507d3 /doc | |
parent | e57bb50187f7f9cc8f3e2bc49b64c14ddbfea81d (diff) | |
download | gsoc2013-evolution-b7331351e8de694cf3c55aaa6061d03ea2cd0f6b.tar gsoc2013-evolution-b7331351e8de694cf3c55aaa6061d03ea2cd0f6b.tar.gz gsoc2013-evolution-b7331351e8de694cf3c55aaa6061d03ea2cd0f6b.tar.bz2 gsoc2013-evolution-b7331351e8de694cf3c55aaa6061d03ea2cd0f6b.tar.lz gsoc2013-evolution-b7331351e8de694cf3c55aaa6061d03ea2cd0f6b.tar.xz gsoc2013-evolution-b7331351e8de694cf3c55aaa6061d03ea2cd0f6b.tar.zst gsoc2013-evolution-b7331351e8de694cf3c55aaa6061d03ea2cd0f6b.zip |
Reimplement the main toolbar's "prefer-item" feature.
This fixes a bug in the old implementation where the application could
crash after a second shell window was created and destroyed, because a
signal handler with the destroyed shell window as the closure was left
connected.
But moreover this simplifies the implementation by using a property
binding plus transform function instead of juggling signal handlers,
and also adds code comments where things get a little tricky.
Removed (now unused) functions:
e_shell_window_get_toolbar_new_prefer_item
e_shell_window_set_toolbar_new_prefer_item
(cherry picked from commit 4f7b4d81e757bfed1b42b888207a0fdf6fae8533)
Diffstat (limited to 'doc')
-rw-r--r-- | doc/reference/libeshell/libeshell-sections.txt | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/doc/reference/libeshell/libeshell-sections.txt b/doc/reference/libeshell/libeshell-sections.txt index 5734ef3a15..dc491900a7 100644 --- a/doc/reference/libeshell/libeshell-sections.txt +++ b/doc/reference/libeshell/libeshell-sections.txt @@ -344,8 +344,6 @@ e_shell_window_get_taskbar_visible e_shell_window_set_taskbar_visible e_shell_window_get_toolbar_visible e_shell_window_set_toolbar_visible -e_shell_window_get_toolbar_new_prefer_item -e_shell_window_set_toolbar_new_prefer_item e_shell_window_register_new_item_actions e_shell_window_register_new_source_actions e_shell_window_get_menu_bar_box |