aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid <dbphillipsnz@gmail.com>2014-09-19 19:10:10 +1200
committerDavid <dbphillipsnz@gmail.com>2014-09-19 19:10:10 +1200
commit6fda12771616428817a8ccf35925c964f92e7a06 (patch)
tree16cf0b556d8f7965c0d9858237229201c08b3e0c
parentaeac90cdf9a6a94ad510a2bd51921208ff27162b (diff)
downloadparamano-6fda12771616428817a8ccf35925c964f92e7a06.tar.xz
Misc clean-up
-rw-r--r--paramano.c4
-rw-r--r--paramano.desktop7
-rw-r--r--paramano.h4
-rw-r--r--paramano_set.c4
-rw-r--r--paramano_set_interface.h4
5 files changed, 8 insertions, 15 deletions
diff --git a/paramano.c b/paramano.c
index 68043b6..1167a88 100644
--- a/paramano.c
+++ b/paramano.c
@@ -43,8 +43,8 @@
int main(int argc, char** argv)
{
setlocale(LC_ALL, "");
- bindtextdomain("trayfreq",LOCALEDIR);
- textdomain("trayfreq");
+ bindtextdomain("paramano",LOCALEDIR);
+ textdomain("paramano");
debug("Set gettext up\n");
if(!gtk_init_check(&argc, &argv))
diff --git a/paramano.desktop b/paramano.desktop
deleted file mode 100644
index 0905549..0000000
--- a/paramano.desktop
+++ /dev/null
@@ -1,7 +0,0 @@
-[Desktop Entry]
-Version=1.0
-Encoding=UTF-8
-Name=trayfreq
-GenericName=trayfreq
-Exec=/usr/bin/trayfreq
-Type=Application
diff --git a/paramano.h b/paramano.h
index bcdbf52..f2753f4 100644
--- a/paramano.h
+++ b/paramano.h
@@ -16,8 +16,8 @@
* <http://www.gnu.org/licenses/>. *
************************************************************************/
-#ifndef TRAYFREQ_H
-#define TRAYFREQ_H
+#ifndef PARAMANO_H
+#define PARAMANO_H
void config_init();
diff --git a/paramano_set.c b/paramano_set.c
index 8af2c01..e724049 100644
--- a/paramano_set.c
+++ b/paramano_set.c
@@ -112,8 +112,8 @@ void get_argument_summary(int argc, char **argv, argument_summary *argsum)
int main(int argc, char *argv[])
{
setlocale(LC_ALL,"");
- bindtextdomain("trayfreq",LOCALEDIR);
- textdomain("trayfreq");
+ bindtextdomain("paramano",LOCALEDIR);
+ textdomain("paramano");
debug("Set gettext up\n");
diff --git a/paramano_set_interface.h b/paramano_set_interface.h
index 1353854..d0040f2 100644
--- a/paramano_set_interface.h
+++ b/paramano_set_interface.h
@@ -16,8 +16,8 @@
* <http://www.gnu.org/licenses/>. *
************************************************************************/
-#ifndef TRAYFREQ_SET_INTERFACE_H
-#define TRAYFREQ_SET_INTERFACE_H
+#ifndef PARAMANO_SET_INTERFACE_H
+#define PARAMANO_SET_INTERFACE_H
void si_gov(char* gov, int core);
void si_freq(int freq, int core);