summaryrefslogtreecommitdiff
path: root/src/defaulttable.h
diff options
context:
space:
mode:
authorinfirit <[email protected]>2014-12-18 00:23:57 +0100
committerinfirit <[email protected]>2014-12-18 00:23:57 +0100
commit12975909c589880030db6125ad6dcbea889edcdc (patch)
treefc374a8a3b855b5024d09f9edb2e47ca755cb7ac /src/defaulttable.h
parent0dea7ab1931fb33f35eceab66dffcd56f4550f68 (diff)
downloadmate-system-monitor-12975909c589880030db6125ad6dcbea889edcdc.tar.bz2
mate-system-monitor-12975909c589880030db6125ad6dcbea889edcdc.tar.xz
Make indentation uniform across source files
No more tabs, 4 spaces instead. And remove trailing whitespace.
Diffstat (limited to 'src/defaulttable.h')
-rw-r--r--src/defaulttable.h56
1 files changed, 28 insertions, 28 deletions
diff --git a/src/defaulttable.h b/src/defaulttable.h
index 6b5a096..261dde5 100644
--- a/src/defaulttable.h
+++ b/src/defaulttable.h
@@ -9,41 +9,41 @@
struct PrettyTableItem
{
- Glib::RefPtr<Glib::Regex> command;
- std::string icon;
+ Glib::RefPtr<Glib::Regex> command;
+ std::string icon;
- PrettyTableItem(const std::string& a_command, const std::string& a_icon)
- : command(Glib::Regex::create("^(" + a_command + ")$")),
- icon(a_icon)
- { }
+PrettyTableItem(const std::string& a_command, const std::string& a_icon)
+: command(Glib::Regex::create("^(" + a_command + ")$")),
+ icon(a_icon)
+ { }
};
#define ITEM PrettyTableItem
/* The current table is only a test */
static const PrettyTableItem default_table[] = {
- ITEM("(ba|z|tc|c|k)?sh", "utilities-terminal"),
- ITEM("(k|sys|u)logd|logger", "internet-news-reader"),
- ITEM("X(org)?", "display"),
- ITEM("apache2?|httpd|lighttpd", "internet-web-browser"),
- ITEM(".*applet(-?2)?", "mate-applets"),
- ITEM("atd|cron|CRON|ntpd", "date"),
- ITEM("cupsd|lpd?", "printer"),
- ITEM("cvsd|mtn|git|svn", "file-manager"),
- ITEM("emacs(server|\\d+)?", "mate-emacs"),
- ITEM("evolution.*", "internet-mail"),
- ITEM("famd|gam_server", "file-manager"),
- ITEM("mateconfd-2", "preferences-desktop"),
- ITEM("getty", "input-keyboard"),
- ITEM("gdb|((gcc|g\\+\\+)(-.*)?)|ar|ld|make", "applications-development"),
- ITEM("marco", "mate-window-manager"),
- ITEM("sendmail|exim\\d?", "internet-mail"),
- ITEM("squid", "proxy"),
- ITEM("ssh(d|-agent)", "ssh-askpass-mate"),
- ITEM("top|vmstat", "system-monitor"),
- ITEM("vim?", "vim"),
- ITEM("x?inetd", "internet-web-browser"),
- ITEM("vino.*", "mate-remote-desktop")
+ ITEM("(ba|z|tc|c|k)?sh", "utilities-terminal"),
+ ITEM("(k|sys|u)logd|logger", "internet-news-reader"),
+ ITEM("X(org)?", "display"),
+ ITEM("apache2?|httpd|lighttpd", "internet-web-browser"),
+ ITEM(".*applet(-?2)?", "mate-applets"),
+ ITEM("atd|cron|CRON|ntpd", "date"),
+ ITEM("cupsd|lpd?", "printer"),
+ ITEM("cvsd|mtn|git|svn", "file-manager"),
+ ITEM("emacs(server|\\d+)?", "mate-emacs"),
+ ITEM("evolution.*", "internet-mail"),
+ ITEM("famd|gam_server", "file-manager"),
+ ITEM("mateconfd-2", "preferences-desktop"),
+ ITEM("getty", "input-keyboard"),
+ ITEM("gdb|((gcc|g\\+\\+)(-.*)?)|ar|ld|make", "applications-development"),
+ ITEM("marco", "mate-window-manager"),
+ ITEM("sendmail|exim\\d?", "internet-mail"),
+ ITEM("squid", "proxy"),
+ ITEM("ssh(d|-agent)", "ssh-askpass-mate"),
+ ITEM("top|vmstat", "system-monitor"),
+ ITEM("vim?", "vim"),
+ ITEM("x?inetd", "internet-web-browser"),
+ ITEM("vino.*", "mate-remote-desktop")
};
#undef ITEM