Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
DISCONTINUED:openSUSE:11.2:Update
dia
dia-xdg-open.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File dia-xdg-open.patch of Package dia
Index: dia-0.97/app/commands.c =================================================================== --- dia-0.97.orig/app/commands.c +++ dia-0.97/app/commands.c @@ -690,7 +690,7 @@ help_manual_callback (GtkAction *action) ShellExecuteA (0, "open", helpindex, NULL, helpdir, SW_SHOWNORMAL); #else command = getenv("BROWSER"); - command = g_strdup_printf("%s 'file://%s' &", command ? command : "gnome-open", helpindex); + command = g_strdup_printf("%s 'file://%s' &", command ? command : "xdg-open", helpindex); system(command); g_free(command); #endif @@ -708,7 +708,7 @@ activate_url (GtkAboutDialog *about, ShellExecuteA (0, "open", link, NULL, NULL, SW_SHOWNORMAL); #else gchar *command = getenv("BROWSER"); - command = g_strdup_printf("%s '%s' &", command ? command : "gnome-open", link); + command = g_strdup_printf("%s '%s' &", command ? command : "xdg-open", link); system(command); g_free(command); #endif
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor