gnome-shell/gnome-shell-disable-ibus-when-not-installed.patch
Bjørn Lie 0598ce145e Accepting request 525996 from home:xiaoguang_wang:branches:GNOME:Factory
- Update sle-classic patches to version 3.26.0:
  + Update SLEClassicExt.js
  + Update gnome-shell-1007468-lock-screen-SUSE-logo-missing.patch
  + Update gnome-shell-disable-ibus-when-not-installed.patch
  + Update gnome-shell-domain.patch
  + Update gnome-shell-gdm-login-applet.patch
  + Update gs-fate318433-prevent-same-account-multi-logins.patch
  + Update gs-sle-classic-ext.patch

OBS-URL: https://build.opensuse.org/request/show/525996
OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/gnome-shell?expand=0&rev=322
2017-09-14 11:46:11 +00:00

16 lines
516 B
Diff

Index: gnome-shell-3.26.0/js/misc/ibusManager.js
===================================================================
--- gnome-shell-3.26.0.orig/js/misc/ibusManager.js
+++ gnome-shell-3.26.0/js/misc/ibusManager.js
@@ -45,6 +45,10 @@ var IBusManager = new Lang.Class({
_PRELOAD_ENGINES_DELAY_TIME: 30, // sec
_init: function() {
+ let daemon = Gio.File.new_for_path('/usr/bin/ibus-daemon');
+ if (!daemon.query_exists(null))
+ return;
+
if (!IBus)
return;