File: 03_disable_engine_with_nspluginviewer.diff

package info (click to toggle)
gtk-qt-engine 1%3A1.1%2Bsvn5-4
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 664 kB
  • ctags: 417
  • sloc: cpp: 2,113; ansic: 1,472; makefile: 16; sh: 10
file content (15 lines) | stat: -rw-r--r-- 563 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
Description: Don't run the engine for nspluginviewer.
Author: Fathi Boudra <fabo@debian.org>
Last-Update: 2008-05-01
--- a/src/engine.cpp
+++ b/src/engine.cpp
@@ -110,7 +110,8 @@ Engine::Engine()
 	    commandLine.contains("metacity") ||
 	    commandLine.contains("xfwm4") ||
 	    commandLine.contains("gnome-settings-daemon") ||
-	    commandLine.contains("gnome-panel"))
+	    commandLine.contains("gnome-panel") ||
+	    commandLine.contains("nspluginviewer"))
 	{
 		m_enabled = false;
 		qDebug() << "Disabling the GTK-Qt Theme Engine for" << commandLine;