Accepting request 624430 from X11:Cinnamon:Factory
OBS-URL: https://build.opensuse.org/request/show/624430 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nemo?expand=0&rev=27
This commit is contained in:
commit
1e15fb69e8
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:d9397d7d67e9e45011273ff73c1ce9f7b9586ff6d7dbda4f143601b6387ac29d
|
||||
size 1424841
|
3
nemo-3.8.5.tar.gz
Normal file
3
nemo-3.8.5.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:cc5fa5f9ce7781297c6dd00ce2e30b6dfaa0498794dbab74dc0c995ca0a05b9c
|
||||
size 1424948
|
@ -1,15 +1,16 @@
|
||||
--- a/eel/eel-gtk-extensions.c
|
||||
+++ b/eel/eel-gtk-extensions.c
|
||||
@@ -287,7 +287,12 @@ eel_pop_up_context_menu (GtkMenu *menu,
|
||||
@@ -285,9 +285,13 @@ eel_pop_up_context_menu (GtkMenu *menu,
|
||||
button = 0;
|
||||
}
|
||||
|
||||
+#if GTK_CHECK_VERSION (3, 22, 0)
|
||||
gtk_menu_popup_at_pointer (menu, (GdkEvent *) event);
|
||||
if (button > 0) {
|
||||
gtk_menu_popup_at_pointer (menu, (GdkEvent *) event);
|
||||
} else {
|
||||
+#else
|
||||
+ gtk_menu_popup (menu, NULL, NULL, NULL, NULL,
|
||||
+ button, event ? event->time : GDK_CURRENT_TIME);
|
||||
+ if (TRUE) {
|
||||
+#endif
|
||||
|
||||
g_object_ref_sink (menu);
|
||||
g_object_unref (menu);
|
||||
gtk_menu_popup (menu, /* menu */
|
||||
NULL, /* parent_menu_shell */
|
||||
NULL, /* parent_menu_item */
|
||||
|
@ -1,3 +1,11 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Jul 20 09:32:54 UTC 2018 - sor.alexei@meowr.ru
|
||||
|
||||
- Update to version 3.8.5:
|
||||
* eel-gtk-extensions.c: Fix menu popups when a valid event is not
|
||||
provided.
|
||||
- Rebase nemo-gtk-3.20.patch.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Jul 5 13:05:25 UTC 2018 - sor.alexei@meowr.ru
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user