[ghex] Rename ghex2 binary to ghex



commit 612e2f26f089ed6c5328c50bc1e2ef75dd2bdd09
Author: Kalev Lember <kalevlember gmail com>
Date:   Thu Aug 4 13:00:11 2011 +0300

    Rename ghex2 binary to ghex

 data/ghex.desktop.in               |    2 +-
 help/C/{ghex2.xml => ghex.xml}     |    2 +-
 help/Makefile.am                   |    6 +++---
 help/cs/cs.po                      |    4 ++--
 help/de/de.po                      |    4 ++--
 help/es/es.po                      |    4 ++--
 help/fr/fr.po                      |    4 ++--
 help/{ghex2.omf.in => ghex.omf.in} |    0
 help/oc/oc.po                      |    2 +-
 help/sl/sl.po                      |    2 +-
 help/sv/sv.po                      |    4 ++--
 help/th/th.po                      |    4 ++--
 help/zh_CN/zh_CN.po                |    4 ++--
 src/Makefile.am                    |    4 ++--
 src/preferences.c                  |    2 +-
 src/ui.c                           |    4 ++--
 16 files changed, 26 insertions(+), 26 deletions(-)
---
diff --git a/data/ghex.desktop.in b/data/ghex.desktop.in
index b4d3641..a30f65b 100644
--- a/data/ghex.desktop.in
+++ b/data/ghex.desktop.in
@@ -2,7 +2,7 @@
 _Name=GHex
 _GenericName=Hex Editor
 _Comment=Inspect and edit binary files
-Exec=ghex2 %F
+Exec=ghex %F
 Terminal=false
 Type=Application
 Icon=ghex
diff --git a/help/C/ghex2.xml b/help/C/ghex.xml
similarity index 99%
rename from help/C/ghex2.xml
rename to help/C/ghex.xml
index 033a11d..c71bf06 100644
--- a/help/C/ghex2.xml
+++ b/help/C/ghex.xml
@@ -202,7 +202,7 @@
 <varlistentry>
 <term>Command line</term>
 <listitem>
-<para>Execute the following command: <command>ghex2</command></para>
+<para>Execute the following command: <command>ghex</command></para>
 </listitem>
 </varlistentry>
 </variablelist>
diff --git a/help/Makefile.am b/help/Makefile.am
index 3344af9..8e388ee 100644
--- a/help/Makefile.am
+++ b/help/Makefile.am
@@ -1,11 +1,11 @@
 include $(top_srcdir)/gnome-doc-utils.make
 dist-hook: doc-dist-hook
 
-DOC_MODULE = ghex2
+DOC_MODULE = ghex
 DOC_ENTITIES =
 DOC_INCLUDES = legal.xml
-DOC_H_FILE = ghex2-docs.h
-DOC_H_DOCS = C/ghex2.xml
+DOC_H_FILE = ghex-docs.h
+DOC_H_DOCS = C/ghex.xml
 DOC_FIGURES =	\
 	figures/ghex_window_empty.png	\
 	figures/ghex_window_open.png
diff --git a/help/cs/cs.po b/help/cs/cs.po
index 669b5b8..0ec775a 100644
--- a/help/cs/cs.po
+++ b/help/cs/cs.po
@@ -341,8 +341,8 @@ msgid "Command line"
 msgstr "PÅÃkazovà ÅÃdek"
 
 #: C/ghex2.xml:205(para)
-msgid "Execute the following command: <command>ghex2</command>"
-msgstr "Spustit nÃsledujÃcà pÅÃkaz: <command>ghex2</command>"
+msgid "Execute the following command: <command>ghex</command>"
+msgstr "Spustit nÃsledujÃcà pÅÃkaz: <command>ghex</command>"
 
 #: C/ghex2.xml:212(title)
 msgid "When You Start GHex"
diff --git a/help/de/de.po b/help/de/de.po
index 256646e..279fd99 100644
--- a/help/de/de.po
+++ b/help/de/de.po
@@ -344,8 +344,8 @@ msgid "Command line"
 msgstr "Befehlszeile"
 
 #: C/ghex2.xml:203(para)
-msgid "Execute the following command: <command>ghex2</command>"
-msgstr "FÃhren Sie folgenden Befehl aus: <command>ghex2</command>"
+msgid "Execute the following command: <command>ghex</command>"
+msgstr "FÃhren Sie folgenden Befehl aus: <command>ghex</command>"
 
 #: C/ghex2.xml:210(title)
 msgid "When You Start GHex"
diff --git a/help/es/es.po b/help/es/es.po
index 2554a05..9391615 100644
--- a/help/es/es.po
+++ b/help/es/es.po
@@ -350,8 +350,8 @@ msgid "Command line"
 msgstr "LÃnea de comandos"
 
 #: C/ghex2.xml:205(para)
-msgid "Execute the following command: <command>ghex2</command>"
-msgstr "Ejecute el siguiente comando: <command>ghex2</command>"
+msgid "Execute the following command: <command>ghex</command>"
+msgstr "Ejecute el siguiente comando: <command>ghex</command>"
 
 #: C/ghex2.xml:212(title)
 msgid "When You Start GHex"
diff --git a/help/fr/fr.po b/help/fr/fr.po
index f5cf804..a490713 100644
--- a/help/fr/fr.po
+++ b/help/fr/fr.po
@@ -351,8 +351,8 @@ msgid "Command line"
 msgstr "Ligne de commande"
 
 #: C/ghex2.xml:205(para)
-msgid "Execute the following command: <command>ghex2</command>"
-msgstr "ÃxÃcutez la commande suivanteÂ: <command>ghex2</command>"
+msgid "Execute the following command: <command>ghex</command>"
+msgstr "ÃxÃcutez la commande suivanteÂ: <command>ghex</command>"
 
 #: C/ghex2.xml:212(title)
 msgid "When You Start GHex"
diff --git a/help/ghex2.omf.in b/help/ghex.omf.in
similarity index 100%
rename from help/ghex2.omf.in
rename to help/ghex.omf.in
diff --git a/help/oc/oc.po b/help/oc/oc.po
index 945b169..5b0d068 100644
--- a/help/oc/oc.po
+++ b/help/oc/oc.po
@@ -272,7 +272,7 @@ msgid "Command line"
 msgstr "Linha de comanda"
 
 #: C/ghex2.xml:195(para)
-msgid "Execute the following command: <command>ghex2</command>"
+msgid "Execute the following command: <command>ghex</command>"
 msgstr ""
 
 #: C/ghex2.xml:202(title)
diff --git a/help/sl/sl.po b/help/sl/sl.po
index 36d1f38..71ae3f4 100644
--- a/help/sl/sl.po
+++ b/help/sl/sl.po
@@ -243,7 +243,7 @@ msgid "Command line"
 msgstr ""
 
 #: C/ghex2.xml:205(para)
-msgid "Execute the following command: <command>ghex2</command>"
+msgid "Execute the following command: <command>ghex</command>"
 msgstr ""
 
 #: C/ghex2.xml:212(title)
diff --git a/help/sv/sv.po b/help/sv/sv.po
index c3a4e68..34083a6 100644
--- a/help/sv/sv.po
+++ b/help/sv/sv.po
@@ -226,8 +226,8 @@ msgid "Command line"
 msgstr "Kommandoraden"
 
 #: C/ghex2.xml:195(para)
-msgid "Execute the following command: <command>ghex2</command>"
-msgstr "KÃr fÃljande kommando: <command>ghex2</command>"
+msgid "Execute the following command: <command>ghex</command>"
+msgstr "KÃr fÃljande kommando: <command>ghex</command>"
 
 #: C/ghex2.xml:202(title)
 msgid "When You Start GHex"
diff --git a/help/th/th.po b/help/th/th.po
index f5d93ae..95ca1e1 100644
--- a/help/th/th.po
+++ b/help/th/th.po
@@ -309,8 +309,8 @@ msgid "Command line"
 msgstr "àààààààààààà"
 
 #: C/ghex2.xml:195(para)
-msgid "Execute the following command: <command>ghex2</command>"
-msgstr "ààààààààààààààààààà: <command>ghex2</command>"
+msgid "Execute the following command: <command>ghex</command>"
+msgstr "ààààààààààààààààààà: <command>ghex</command>"
 
 #: C/ghex2.xml:202(title)
 msgid "When You Start GHex"
diff --git a/help/zh_CN/zh_CN.po b/help/zh_CN/zh_CN.po
index 11c0337..4610449 100644
--- a/help/zh_CN/zh_CN.po
+++ b/help/zh_CN/zh_CN.po
@@ -307,8 +307,8 @@ msgid "Command line"
 msgstr "åäè"
 
 #: C/ghex2.xml:205(para)
-msgid "Execute the following command: <command>ghex2</command>"
-msgstr "æèåäåäï<command>ghex2</command>"
+msgid "Execute the following command: <command>ghex</command>"
+msgstr "æèåäåäï<command>ghex</command>"
 
 #: C/ghex2.xml:212(title)
 msgid "When You Start GHex"
diff --git a/src/Makefile.am b/src/Makefile.am
index 9cc05cb..aece0ea 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -14,7 +14,7 @@ BUILT_SOURCES = \
 	ghex-marshal.c	\
 	ghex-marshal.h
 
-bin_PROGRAMS = ghex2
+bin_PROGRAMS = ghex
 
 lib_LTLIBRARIES = libgtkhex-3.la
 
@@ -42,7 +42,7 @@ gtkhexinclude_HEADERS = \
 	hex-document.h 			\
 	gtkhex.h
 
-ghex2_SOURCES = \
+ghex_SOURCES = \
 	hex-document-ui.c preferences.c findreplace.c converter.c	\
 	config.c main.c ui.c chartable.c				\
 	print.c ghex-window.c ghex-window.h				\
diff --git a/src/preferences.c b/src/preferences.c
index ed6720f..b6268ba 100644
--- a/src/preferences.c
+++ b/src/preferences.c
@@ -445,7 +445,7 @@ prefs_response_cb(GtkDialog *dlg, gint response, PropertyUI *pui)
 
 	switch(response) {
 	case GTK_RESPONSE_HELP:
-		gtk_show_uri (NULL, "ghelp:ghex2?ghex-prefs",  gtk_get_current_event_time (), &error);
+		gtk_show_uri (NULL, "ghelp:ghex?ghex-prefs",  gtk_get_current_event_time (), &error);
 		if(NULL != error) {
 			GtkWidget *dialog;
 			dialog = gtk_message_dialog_new
diff --git a/src/ui.c b/src/ui.c
index 4c8035d..e67793d 100644
--- a/src/ui.c
+++ b/src/ui.c
@@ -145,7 +145,7 @@ about_cb (GtkAction *action,
 	                           "Copyright  2006 - 2010 GHex Contributors");
 
 	/* For documentation_credits */
-	#include "../help/ghex2-docs.h"
+	#include "../help/ghex-docs.h"
 
 	const gchar *license[] = {
 		N_("This program is free software; you can redistribute it and/or modify "
@@ -191,7 +191,7 @@ help_cb (GtkAction *action,
 {
 	GError *error = NULL;
 
-	gtk_show_uri (NULL, "ghelp:ghex2",  gtk_get_current_event_time (), &error);
+	gtk_show_uri (NULL, "ghelp:ghex",  gtk_get_current_event_time (), &error);
 
 	if (error != NULL) {
 		GtkWidget *dialog;



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]