[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#905790: Patch available



I had some time to check further, there is an Ubuntu patch that makes
ibus-gtk rather check whether this was an upgrade or not, and only makes
the message display when upgrading from a very old version with the old
hotkey.

Upstream has tagged this notabug in their bug tracker:
https://code.google.com/archive/p/ibus/issues/1677

The Ubuntu patch can be obtained from this tarball:
https://launchpad.net/ubuntu/+archive/primary/+sourcefiles/ibus/1.5.11-1
ubuntu2.1/ibus_1.5.11-1ubuntu2.1.debian.tar.xz
DSC:
https://launchpad.net/ubuntu/+archive/primary/+sourcefiles/ibus/1.5.11-1
ubuntu2.1/ibus_1.5.11-1ubuntu2.1.dsc

Here is what it does:

"""
Description: don't show notification if not upgrading from a previous
version
Author: Marc Deslauriers <marc.deslauriers@ubuntu.com>
Bug: http://code.google.com/p/ibus/issues/detail?id=1677
Bug-Ubuntu: https://bugs.launchpad.net/ibus/+bug/1255542
Forwarded: yes

Index: ibus-1.5.11/ui/gtk3/panel.vala
===================================================================
--- ibus-1.5.11.orig/ui/gtk3/panel.vala
+++ ibus-1.5.11/ui/gtk3/panel.vala
@@ -753,6 +753,7 @@ class Panel : IBus.PanelService {
         string current_version = null;

         if (compare_versions(prev_version, "1.5.3") < 0)
+       if (prev_version != "" && compare_versions(prev_version,
"1.5.3") < 0)
             update_version_1_5_3();

         if (compare_versions(prev_version, "1.5.8") < 0)

"""

Please consider adding this patch in Debian too, it's a really big
papercut and a deterrent to new users. Thanks!


Reply to: