This is an automated email from the git hooks/post-receive script.

git pushed a commit to branch v-0.28
in repository enlightenment-mxd.

View the commit online.

commit 2ee1d7bed7a42d81bc8f0c76cdf6bb773e4c487d
Author: Valera <[email protected]>
AuthorDate: Sun Nov 29 18:04:58 2026 +0000

    Обновить src/modules/systray/e_mod_notifier_host.c
---
 src/modules/systray/e_mod_notifier_host.c | 12 +++---------
 1 file changed, 3 insertions(+), 9 deletions(-)

diff --git a/src/modules/systray/e_mod_notifier_host.c b/src/modules/systray/e_mod_notifier_host.c
index 16959c878..ab7246e13 100644
--- a/src/modules/systray/e_mod_notifier_host.c
+++ b/src/modules/systray/e_mod_notifier_host.c
@@ -276,7 +276,7 @@ _clicked_item_cb(void *data, Evas *evas, Evas_Object *obj EINA_UNUSED, void *eve
 
    EINA_SAFETY_ON_NULL_RETURN(gadcon);
 
-   /* Левая кнопка - активация приложения */
+   /* left button */
    if (ev->button == 1)
      {
         Eldbus_Proxy *proxy = ii->item->proxy;
@@ -300,7 +300,7 @@ _clicked_item_cb(void *data, Evas *evas, Evas_Object *obj EINA_UNUSED, void *eve
           }
      }
 
-   /* Правая кнопка - контекстное меню */
+   /* right button */
    if (ev->button == 3)
      {
         Eldbus_Proxy *proxy = ii->item->proxy;
@@ -309,11 +309,7 @@ _clicked_item_cb(void *data, Evas *evas, Evas_Object *obj EINA_UNUSED, void *eve
 
         evas_pointer_canvas_xy_get(e_comp->evas, &x_pos, &y_pos);
 
-        /* Сначала пытаемся показать меню из dbusmenu, если оно есть.
-         * Это работает для большинства приложений (в т.ч. Flameshot,
-         * Qt-приложения) и не зависит от поддержки метода ContextMenu.
-         * Проверяем sub_items, а не is_submenu, т.к. для корневого
-         * элемента флаг is_submenu не обязателен. */
+       
         if (ii->item->dbus_item && ii->item->dbus_item->sub_items)
           {
              root_item = ii->item->dbus_item;
@@ -336,7 +332,6 @@ _clicked_item_cb(void *data, Evas *evas, Evas_Object *obj EINA_UNUSED, void *eve
              return;
           }
 
-        /* Если dbusmenu нет - пробуем метод ContextMenu */
         if (proxy)
           {
              msg = eldbus_proxy_method_call_new(proxy, "ContextMenu");
@@ -352,7 +347,6 @@ _clicked_item_cb(void *data, Evas *evas, Evas_Object *obj EINA_UNUSED, void *eve
           }
      }
 
-   /* Fallback для левой кнопки: если Activate не сработал */
    if (ev->button == 1)
      {
         if (ii->item->dbus_item && ii->item->dbus_item->sub_items)

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.

Reply via email to