[bijiben] New windows have notes too
- From: Pierre-Yves Luyten <pyluyten src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [bijiben] New windows have notes too
- Date: Thu, 12 Sep 2013 00:01:29 +0000 (UTC)
commit 4c7fc4a4e6934bbd7a30c37a5e3a8aafe5652033
Author: Pierre-Yves Luyten <py luyten fr>
Date: Thu Sep 12 01:59:12 2013 +0200
New windows have notes too
When a new winow is created just to open a note,
it first ensures which notes are to be displayed.
This is just a dirty workaround to be sure empty
windows are not displayed.
src/bjb-bijiben.c | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
---
diff --git a/src/bjb-bijiben.c b/src/bjb-bijiben.c
index f2d1e07..ceffb96 100644
--- a/src/bjb-bijiben.c
+++ b/src/bjb-bijiben.c
@@ -130,7 +130,10 @@ bijiben_new_window_internal (Bijiben *self,
bjb_window_base_switch_to (window, BJB_WINDOW_BASE_MAIN_VIEW);
if (note != NULL)
- bjb_window_base_switch_to_note (window, note);
+ {
+ bjb_controller_apply_needle (bjb_window_base_get_controller (window));
+ bjb_window_base_switch_to_note (window, note);
+ }
out:
if (path != NULL)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]