Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 401350 Details for
Bug 546788
app-arch/engrampa always depends on caja patch
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
caja_schema_fix
caja_schema_fix.patch (text/plain), 1.68 KB, created by
Geert Braekmans
on 2015-04-16 12:21:36 UTC
(
hide
)
Description:
caja_schema_fix
Filename:
MIME Type:
Creator:
Geert Braekmans
Created:
2015-04-16 12:21:36 UTC
Size:
1.68 KB
patch
obsolete
>diff -Naur mate-file-archiver-1.6.0.orig/src/fr-window.c mate-file-archiver-1.6.0/src/fr-window.c >--- mate-file-archiver-1.6.0.orig/src/fr-window.c 2013-04-01 01:30:22.000000000 +0200 >+++ mate-file-archiver-1.6.0/src/fr-window.c 2013-12-11 18:50:10.513432161 +0100 >@@ -4606,6 +4606,9 @@ > char *value; > gboolean result; > >+ if (window->priv->settings_caja == NULL) >+ return FALSE; >+ > value = g_settings_get_string (window->priv->settings_caja, CAJA_CLICK_POLICY); > result = (value != NULL) && (strncmp (value, "single", 6) == 0); > g_free (value); >@@ -5390,6 +5393,7 @@ > GtkToolItem *open_recent_tool_item; > GtkWidget *menu_item; > GError *error = NULL; >+ const char * const *schemas; > > /* data common to all windows. */ > >@@ -5407,7 +5411,17 @@ > window->priv->settings_ui = g_settings_new (ENGRAMPA_SCHEMA_UI); > window->priv->settings_general = g_settings_new (ENGRAMPA_SCHEMA_GENERAL); > window->priv->settings_dialogs = g_settings_new (ENGRAMPA_SCHEMA_DIALOGS); >- window->priv->settings_caja = g_settings_new (CAJA_SCHEMA); >+ >+ /* Only use the caja schema if it's installed */ >+ for (schemas = g_settings_list_schemas (); >+ *schemas != NULL; >+ schemas++) >+ { >+ if (g_strcmp0 (*schemas, CAJA_SCHEMA) == 0) { >+ window->priv->settings_caja = g_settings_new (CAJA_SCHEMA); >+ break; >+ } >+ } > > /* Create the application. */ > >@@ -6007,7 +6021,9 @@ > "changed::" PREF_LISTING_USE_MIME_ICONS, > G_CALLBACK (pref_use_mime_icons_changed), > window); >- g_signal_connect (window->priv->settings_caja, >+ >+ if (window->priv->settings_caja) >+ g_signal_connect (window->priv->settings_caja, > "changed::" CAJA_CLICK_POLICY, > G_CALLBACK (pref_click_policy_changed), > window);
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 546788
: 401350