Remove branding from window title and menu item
This commit is contained in:
		@@ -1,6 +1,5 @@
 | 
				
			|||||||
[Desktop Entry]
 | 
					[Desktop Entry]
 | 
				
			||||||
_Name=Xedit
 | 
					_Name=Text Editor
 | 
				
			||||||
_GenericName=Text Editor
 | 
					 | 
				
			||||||
_Comment=Edit text files
 | 
					_Comment=Edit text files
 | 
				
			||||||
Exec=xedit %U
 | 
					Exec=xedit %U
 | 
				
			||||||
Terminal=false
 | 
					Terminal=false
 | 
				
			||||||
@@ -9,6 +8,5 @@ StartupNotify=true
 | 
				
			|||||||
MimeType=text/plain;
 | 
					MimeType=text/plain;
 | 
				
			||||||
Icon=accessories-text-editor
 | 
					Icon=accessories-text-editor
 | 
				
			||||||
Categories=GTK;Utility;TextEditor;
 | 
					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-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 (xedit_document_get_readonly (doc)) 
 | 
				
			||||||
	{
 | 
						{
 | 
				
			||||||
		if (dirname != NULL)
 | 
							if (dirname != NULL)
 | 
				
			||||||
			title = g_strdup_printf ("%s [%s] (%s) - Xedit",
 | 
								title = g_strdup_printf ("%s [%s] (%s)",
 | 
				
			||||||
						 name, 
 | 
											 name, 
 | 
				
			||||||
						 _("Read-Only"), 
 | 
											 _("Read-Only"), 
 | 
				
			||||||
						 dirname);
 | 
											 dirname);
 | 
				
			||||||
		else
 | 
							else
 | 
				
			||||||
			title = g_strdup_printf ("%s [%s] - Xedit",
 | 
								title = g_strdup_printf ("%s [%s]",
 | 
				
			||||||
						 name, 
 | 
											 name, 
 | 
				
			||||||
						 _("Read-Only"));
 | 
											 _("Read-Only"));
 | 
				
			||||||
	} 
 | 
						} 
 | 
				
			||||||
	else 
 | 
						else 
 | 
				
			||||||
	{
 | 
						{
 | 
				
			||||||
		if (dirname != NULL)
 | 
							if (dirname != NULL)
 | 
				
			||||||
			title = g_strdup_printf ("%s (%s) - Xedit",
 | 
								title = g_strdup_printf ("%s (%s)",
 | 
				
			||||||
						 name, 
 | 
											 name, 
 | 
				
			||||||
						 dirname);
 | 
											 dirname);
 | 
				
			||||||
		else
 | 
							else
 | 
				
			||||||
			title = g_strdup_printf ("%s - Xedit",
 | 
								title = g_strdup_printf ("%s",
 | 
				
			||||||
						 name);
 | 
											 name);
 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user