Hello community, here is the log from the commit of package gnote for openSUSE:Factory checked in at 2018-02-14 09:45:51 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/gnote (Old) and /work/SRC/openSUSE:Factory/.gnote.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "gnote" Wed Feb 14 09:45:51 2018 rev:56 rq:575814 version:3.26.0 Changes: -------- --- /work/SRC/openSUSE:Factory/gnote/gnote.changes 2017-09-25 13:59:18.387763004 +0200 +++ /work/SRC/openSUSE:Factory/.gnote.new/gnote.changes 2018-02-14 09:45:58.196174452 +0100 @@ -1,0 +2,7 @@ +Sun Feb 11 05:51:40 UTC 2018 - [email protected] + +- Add shortkey-ctrl-o-alt-w.patch: + When left-click the note tree view, shortkey should be enable + ( bgo#792859 ). + +------------------------------------------------------------------- New: ---- shortkey-ctrl-o-alt-w.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ gnote.spec ++++++ --- /var/tmp/diff_new_pack.DpL6JV/_old 2018-02-14 09:46:02.452019355 +0100 +++ /var/tmp/diff_new_pack.DpL6JV/_new 2018-02-14 09:46:02.492017897 +0100 @@ -1,7 +1,7 @@ # # spec file for package gnote # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -25,6 +25,8 @@ Group: Productivity/Text/Editors Url: http://live.gnome.org/Gnote Source: http://download.gnome.org/sources/gnote/3.26/%{name}-%{version}.tar.xz +# PATCH-FIX-UPSTREAM shortkey-ctrl-o-alt-w.patch bgo#792859 [email protected] -- When left-click the note tree view, shortkey should be enable. +Patch0: shortkey-ctrl-o-alt-w.patch %if 0%{?suse_version} > 1325 BuildRequires: libboost_test-devel %else @@ -71,6 +73,7 @@ %prep %setup -q +%patch0 -p1 translation-update-upstream %build ++++++ shortkey-ctrl-o-alt-w.patch ++++++ diff --git a/src/searchnoteswidget.cpp b/src/searchnoteswidget.cpp index 9aa7bed..1186158 100644 --- a/src/searchnoteswidget.cpp +++ b/src/searchnoteswidget.cpp @@ -946,6 +946,8 @@ bool SearchNotesWidget::on_treeview_button_released(GdkEventButton *ev) bool SearchNotesWidget::on_treeview_key_pressed(GdkEventKey * ev) { + Gtk::Menu *menu = get_note_list_context_menu(); + switch(ev->keyval) { case GDK_KEY_Delete: delete_selected_notes(); @@ -955,7 +957,6 @@ bool SearchNotesWidget::on_treeview_key_pressed(GdkEventKey * ev) // Pop up the context menu if a note is selected Note::List selected_notes = get_selected_notes(); if(!selected_notes.empty()) { - Gtk::Menu *menu = get_note_list_context_menu(); popup_context_menu_at_location(menu, 0, 0); } break;
