Bug 173688 - Gtk+ apps emit warnings on the console when Oxygen is selected
Summary: Gtk+ apps emit warnings on the console when Oxygen is selected
Status: RESOLVED FIXED
Alias: None
Product: Oxygen
Classification: Plasma
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: Camilla Boemann
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-10-27 17:14 UTC by Shlomi Fish
Modified: 2008-10-28 20:13 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Shlomi Fish 2008-10-27 17:14:32 UTC
Version:            (using Devel)
OS:                Linux
Installed from:    Compiled sources

When running gtk+ (2.x) apps from the command-line when the Oxygen theme is selected, once gets the following warnings:

{{{{{{{

(gvim:15558): Gtk-WARNING **: Theme directory scalable/animations/small/16x16 of theme oxygen has no size field


(gvim:15558): Gtk-WARNING **: Theme directory scalable/animations/small/22x22 of theme oxygen has no size field
}}}}}}}

This is annoying especially for gvim, etc. which are supposed to be as quiet as possible.
Comment 1 Rex Dieter 2008-10-27 17:19:14 UTC
confirmed. 

I'll take a look at fixing this soon, shouldn't be rocket science, :) (*cross fingers*)
Comment 2 Rex Dieter 2008-10-27 18:05:06 UTC
I'll apply this soonish, in the meantime, for review:

--- index.theme.orig    2008-10-14 10:47:44.000000000 -0500
+++ index.theme 2008-10-27 12:02:22.000000000 -0500
@@ -436,6 +436,20 @@
 MinSize=32
 MaxSize=256

+[scalable/animations/small/16x16]
+Size=16
+Context=Animations
+Type=Scalable
+MinSize=16
+MaxSize=16
+
+[scalable/animations/small/22x22]
+Size=22
+Context=Animations
+Type=Scalable
+MinSize=22
+MaxSize=22
+
 [scalable/apps]
 Size=128
 Context=Applications


alternatively, can consider removing scalable/animations/small/16x16 scalable/animations/small/22x22 from index.theme references altogether since oxygen currently doesn't (seem to) include anything in those dirs anyway.
Comment 3 Shlomi Fish 2008-10-27 18:24:01 UTC
(In reply to comment #2)
> I'll apply this soonish, in the meantime, for review:
> 

Applying this patch to my index.theme seems to fix this problem.

Regards,

-- Shlomi Fish

> --- index.theme.orig    2008-10-14 10:47:44.000000000 -0500
> +++ index.theme 2008-10-27 12:02:22.000000000 -0500
> @@ -436,6 +436,20 @@
>  MinSize=32
>  MaxSize=256
> 
> +[scalable/animations/small/16x16]
> +Size=16
> +Context=Animations
> +Type=Scalable
> +MinSize=16
> +MaxSize=16
> +
> +[scalable/animations/small/22x22]
> +Size=22
> +Context=Animations
> +Type=Scalable
> +MinSize=22
> +MaxSize=22
> +
>  [scalable/apps]
>  Size=128
>  Context=Applications
> 
> 
> alternatively, can consider removing scalable/animations/small/16x16
> scalable/animations/small/22x22 from index.theme references altogether since
> oxygen currently doesn't (seem to) include anything in those dirs anyway.
> 

Comment 4 Rex Dieter 2008-10-28 20:13:17 UTC
SVN commit 877147 by rdieter:

Fix "Gtk+ apps emit warnings on the console when Oxygen is selected"

BUG: 173688


 M  +14 -0     index.theme  


WebSVN link: http://websvn.kde.org/?view=rev&revision=877147