Skip to content

Commit

Permalink
Rename ghex2 binary to ghex
Browse files Browse the repository at this point in the history
  • Loading branch information
kalev committed Aug 4, 2011
1 parent b9614df commit 612e2f2
Show file tree
Hide file tree
Showing 16 changed files with 26 additions and 26 deletions.
2 changes: 1 addition & 1 deletion data/ghex.desktop.in
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion help/C/ghex2.xml → help/C/ghex.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down
6 changes: 3 additions & 3 deletions help/Makefile.am
Original file line number Diff line number Diff line change
@@ -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
Expand Down
4 changes: 2 additions & 2 deletions help/cs/cs.po
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
4 changes: 2 additions & 2 deletions help/de/de.po
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
4 changes: 2 additions & 2 deletions help/es/es.po
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
4 changes: 2 additions & 2 deletions help/fr/fr.po
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion help/oc/oc.po
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion help/sl/sl.po
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
4 changes: 2 additions & 2 deletions help/sv/sv.po
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
4 changes: 2 additions & 2 deletions help/th/th.po
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
4 changes: 2 additions & 2 deletions help/zh_CN/zh_CN.po
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
4 changes: 2 additions & 2 deletions src/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ BUILT_SOURCES = \
ghex-marshal.c \
ghex-marshal.h

bin_PROGRAMS = ghex2
bin_PROGRAMS = ghex

lib_LTLIBRARIES = libgtkhex-3.la

Expand Down Expand Up @@ -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 \
Expand Down
2 changes: 1 addition & 1 deletion src/preferences.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions src/ui.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 "
Expand Down Expand Up @@ -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;
Expand Down

0 comments on commit 612e2f2

Please sign in to comment.