[Xfce4-commits] <xfce4-cpugraph-plugin:master> Launch the proper type of terminal

Florian noreply at xfce.org
Sat Apr 17 16:16:07 CEST 2010


Updating branch refs/heads/master
         to 6f90e71a8a3f472cfa20cfe07b2fb1d475fd00d3 (commit)
       from 3ff0c4636dc13a4db5f14d5fef3a4da51ce96f58 (commit)

commit 6f90e71a8a3f472cfa20cfe07b2fb1d475fd00d3
Author: Florian Rivoal <frivoal at gmail.com>
Date:   Sun Feb 7 03:08:05 2010 +0900

    Launch the proper type of terminal
    
    When the CPU graph is clicked, the default action is to run top in a
    terminal emulator. Use exo-open to launch the appropriate type of
    terminal emulator, rather than hardcoding xterm.

 panel-plugin/cpu.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/panel-plugin/cpu.h b/panel-plugin/cpu.h
index 1a9580d..91cbffe 100644
--- a/panel-plugin/cpu.h
+++ b/panel-plugin/cpu.h
@@ -18,7 +18,7 @@
 
 #include "os.h"
 
-#define DEFAULT_COMMAND "xterm top"
+#define DEFAULT_COMMAND "exo-open --launch TerminalEmulator top"
 
 #define BORDER  8
 



More information about the Xfce4-commits mailing list