]> git.pld-linux.org Git - packages/chromium-browser.git/commitdiff
use GNOME3 gnome-volume-control in Th auto/ti/chromium-browser-23.0.1271.64-2
authorElan Ruusamäe <glen@delfi.ee>
Thu, 15 Nov 2012 22:13:13 +0000 (00:13 +0200)
committerElan Ruusamäe <glen@delfi.ee>
Thu, 15 Nov 2012 22:13:13 +0000 (00:13 +0200)
patch from Fedora

chromium-browser.spec
gnome3-volume-control.patch [new file with mode: 0644]

index a1ff2cc2e9169f17d665a4c6c86ff813b5eaf8f0..0a06d233671d4b6b315308ca06532fe7bf1dc136 100644 (file)
@@ -98,6 +98,7 @@ Patch18:      nacl-no-untar.patch
 Patch19:       system-jsoncpp.patch
 Patch20:       system-speex.patch
 Patch21:       system-srtp.patch
+Patch22:       gnome3-volume-control.patch
 URL:           http://www.chromium.org/Home
 %{?with_gconf:BuildRequires:   GConf2-devel}
 BuildRequires: OpenGL-GLU-devel
@@ -251,6 +252,7 @@ cd src
 %patch17 -p0
 %patch19 -p1
 %patch21 -p1
+%patch22 -p1
 cd ..
 %patch18 -p1
 %patch20 -p1
diff --git a/gnome3-volume-control.patch b/gnome3-volume-control.patch
new file mode 100644 (file)
index 0000000..6001885
--- /dev/null
@@ -0,0 +1,12 @@
+diff -up chromium-14.0.835.186/media/audio/linux/audio_manager_linux.cc.gnome3 chromium-14.0.835.186/media/audio/linux/audio_manager_linux.cc
+--- chromium-14.0.835.186/media/audio/linux/audio_manager_linux.cc.gnome3      2011-09-20 04:26:05.000000000 -0400
++++ chromium-14.0.835.186/media/audio/linux/audio_manager_linux.cc     2011-09-27 10:06:22.987780465 -0400
+@@ -191,7 +191,7 @@ void AudioManagerLinux::ShowAudioInputSe
+   base::nix::DesktopEnvironment desktop = base::nix::GetDesktopEnvironment(
+       env.get());
+   std::string command((desktop == base::nix::DESKTOP_ENVIRONMENT_GNOME) ?
+-                      "gnome-volume-control" : "kmix");
++                      "gnome-control-center sound" : "kmix");
+   base::LaunchProcess(CommandLine(FilePath(command)), base::LaunchOptions(),
+                       NULL);
+ }
This page took 0.04224 seconds and 4 git commands to generate.