Use the X-GNOME-FullName desktop file key
This commit is contained in:
		@@ -2,6 +2,7 @@
 | 
				
			|||||||
Type=Application
 | 
					Type=Application
 | 
				
			||||||
Name=fiv
 | 
					Name=fiv
 | 
				
			||||||
GenericName=Image Browser
 | 
					GenericName=Image Browser
 | 
				
			||||||
 | 
					X-GNOME-FullName=fiv Image Browser
 | 
				
			||||||
Icon=fiv
 | 
					Icon=fiv
 | 
				
			||||||
Exec=fiv --browse -- %u
 | 
					Exec=fiv --browse -- %u
 | 
				
			||||||
NoDisplay=true
 | 
					NoDisplay=true
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -704,8 +704,9 @@ append_opener(GtkWidget *menu, GAppInfo *opener, const OpenContext *template)
 | 
				
			|||||||
	ctx->content_type = g_strdup(template->content_type);
 | 
						ctx->content_type = g_strdup(template->content_type);
 | 
				
			||||||
	ctx->app_info = opener;
 | 
						ctx->app_info = opener;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	// XXX: Would g_app_info_get_display_name() be any better?
 | 
						// On Linux, this prefers the obsoleted X-GNOME-FullName.
 | 
				
			||||||
	gchar *name = g_strdup_printf("Open With %s", g_app_info_get_name(opener));
 | 
						gchar *name =
 | 
				
			||||||
 | 
							g_strdup_printf("Open With %s", g_app_info_get_display_name(opener));
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	// It's documented that we can touch the child, if we want to use markup.
 | 
						// It's documented that we can touch the child, if we want to use markup.
 | 
				
			||||||
#if 0
 | 
					#if 0
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -2,6 +2,7 @@
 | 
				
			|||||||
Type=Application
 | 
					Type=Application
 | 
				
			||||||
Name=fiv
 | 
					Name=fiv
 | 
				
			||||||
GenericName=Image Viewer
 | 
					GenericName=Image Viewer
 | 
				
			||||||
 | 
					X-GNOME-FullName=fiv Image Viewer
 | 
				
			||||||
Icon=fiv
 | 
					Icon=fiv
 | 
				
			||||||
Exec=fiv -- %u
 | 
					Exec=fiv -- %u
 | 
				
			||||||
Terminal=false
 | 
					Terminal=false
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user