Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
DISCONTINUED:openSUSE:11.2
gnome-panel
gnome-panel-recent-check-exists.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File gnome-panel-recent-check-exists.patch of Package gnome-panel
diff -aur gnome-panel-2.24.0.old/gnome-panel/panel-recent.c gnome-panel-2.24.0/gnome-panel/panel-recent.c --- gnome-panel-2.24.0.old/gnome-panel/panel-recent.c 2008-09-22 23:21:05.000000000 +0200 +++ gnome-panel-2.24.0/gnome-panel/panel-recent.c 2008-10-22 15:08:05.000000000 +0200 @@ -44,6 +44,22 @@ show_uri (const char *uri, const char *mime_type, GdkScreen *screen, GError **error) { + GFile *file; + char *path; + + file = g_file_new_for_uri (uri); + path = g_file_get_path (file); + if (g_file_is_native (file) && + !g_file_test (path, G_FILE_TEST_EXISTS)) { + g_set_error (error, 0, 0, _("%s does not exist."), path); + g_object_unref (file); + g_free (path); + + return FALSE; + } + g_object_unref (file); + g_free (path); + return panel_show_uri_force_mime_type (screen, uri, mime_type, gtk_get_current_event_time (), error); Seulement dans gnome-panel-2.24.0/gnome-panel: .panel-recent.c.swp
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