[Mageia-sysadm] [462] Add fedora patch
root at mageia.org
root at mageia.org
Mon Feb 7 10:41:39 CET 2011
Revision: 462
Author: dmorgan
Date: 2011-02-07 10:41:38 +0100 (Mon, 07 Feb 2011)
Log Message:
-----------
Add fedora patch
* make GTK+ apps display menu images in KDE
Modified Paths:
--------------
theme/xsettings-kde/trunk/xsettings-kde.c
Modified: theme/xsettings-kde/trunk/xsettings-kde.c
===================================================================
--- theme/xsettings-kde/trunk/xsettings-kde.c 2011-02-07 09:19:57 UTC (rev 461)
+++ theme/xsettings-kde/trunk/xsettings-kde.c 2011-02-07 09:41:38 UTC (rev 462)
@@ -67,7 +67,7 @@
* Gtk/Modules => not supported
* Gtk/FileChooserBackend => forced to gnome-vfs
* Gtk/ButtonImages => supported
- * Gtk/MenuImages => can't be configured in KDE
+ * Gtk/MenuImages => can't be configured in KDE, always set to true
* Gtk/MenuBarAccel => not supported
* Xft/Antialias => KDE uses .fonts.conf directly
* Xft/Hinting => KDE uses .fonts.conf directly
@@ -485,6 +485,8 @@
for (i = 0 ; i < max_display ; i++) {
xsettings_manager_set_string(managers[i], "Gtk/FileChooserBackend", "gio");
xsettings_manager_set_string(managers[i], "Net/FallbackIconTheme", "gnome");
+ /* KDE always shows menu images, so make sure GTK+ does, too */
+ xsettings_manager_set_int(managers[i], "Gtk/MenuImages", 1);
xsettings_manager_notify (managers[i]);
}
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: </pipermail/mageia-sysadm/attachments/20110207/52b0ff67/attachment.html>
More information about the Mageia-sysadm
mailing list