Remove branding from window title and menu item
This commit is contained in:
parent
d21fcb2595
commit
6397759eb1
|
@ -1,6 +1,5 @@
|
|||
[Desktop Entry]
|
||||
_Name=Xedit
|
||||
_GenericName=Text Editor
|
||||
_Name=Text Editor
|
||||
_Comment=Edit text files
|
||||
Exec=xedit %U
|
||||
Terminal=false
|
||||
|
@ -9,6 +8,5 @@ StartupNotify=true
|
|||
MimeType=text/plain;
|
||||
Icon=accessories-text-editor
|
||||
Categories=GTK;Utility;TextEditor;
|
||||
Keywords=text;editor;MATE;tabs;highlighting;code;multiple;files;pluggable;
|
||||
Keywords=text;editor;tabs;highlighting;code;multiple;files;pluggable;
|
||||
X-MATE-DocPath=xedit/xedit.xml
|
||||
_X-MATE-FullName=Xedit Text Editor
|
||||
|
|
|
@ -2175,23 +2175,23 @@ set_title (XeditWindow *window)
|
|||
if (xedit_document_get_readonly (doc))
|
||||
{
|
||||
if (dirname != NULL)
|
||||
title = g_strdup_printf ("%s [%s] (%s) - Xedit",
|
||||
title = g_strdup_printf ("%s [%s] (%s)",
|
||||
name,
|
||||
_("Read-Only"),
|
||||
dirname);
|
||||
else
|
||||
title = g_strdup_printf ("%s [%s] - Xedit",
|
||||
title = g_strdup_printf ("%s [%s]",
|
||||
name,
|
||||
_("Read-Only"));
|
||||
}
|
||||
else
|
||||
{
|
||||
if (dirname != NULL)
|
||||
title = g_strdup_printf ("%s (%s) - Xedit",
|
||||
title = g_strdup_printf ("%s (%s)",
|
||||
name,
|
||||
dirname);
|
||||
else
|
||||
title = g_strdup_printf ("%s - Xedit",
|
||||
title = g_strdup_printf ("%s",
|
||||
name);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue