473,382 Members | 1,313 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,382 software developers and data experts.

Metacity error: The file format is invalid

eboyjr14
I have this xml metacity thing, and it is giving off this error:

The file format is invalid.
Expand|Select|Wrap|Line Numbers
  1. <?xml version="1.0"?>
  2. <metacity_theme>
  3.     <info>
  4.         <name>Royale</name>
  5.         <author>Devin Samarin</author>
  6.         <copyright>Devin Samarin, 2007</copyright>
  7.         <date>June 30, 2007</date>
  8.         <description>Royale - A copy of the theme used in Windows Media Center Edition</description>
  9.     </info>
  10.     <constant name="IconTitleSpacing" value="0"/>
  11.     <frame_geometry name="normal"  rounded_top_left="true" rounded_top_right="true" rounded_bottom_left="false" rounded_bottom_right="false" title_scale="medium">
  12.         <distance name="left_width" value="5"/>
  13.         <distance name="right_width" value="5"/>
  14.         <distance name="bottom_height" value="5"/>
  15.         <distance name="left_titlebar_edge" value="1"/>
  16.         <distance name="right_titlebar_edge" value="7"/>
  17.         <distance name="button_width" value="27"/>
  18.         <distance name="button_height" value="23"/>
  19.         <distance name="title_vertical_pad" value="0"/>
  20.         <border name="title_border" left="0" right="0" top="0" bottom="0"/>
  21.         <border name="button_border" left="0" right="0" top="0" bottom="0"/>
  22.     </frame_geometry>
  23.     <frame_geometry name="border" parent="normal" has_title="false">
  24.         <distance name="button_width" value="0"/>
  25.         <distance name="button_height" value="24"/>
  26.         <border name="title_border" left="0" right="0" top="0" bottom="0"/>
  27.         <border name="button_border" left="0" right="0" top="0" bottom="0"/>
  28.     </frame_geometry>
  29.     <draw_ops name="title-text-focused">
  30.         <title color="#060606" x="(width - title_width) / 2 +1" y="(height - title_height) / 2 + 1"/>
  31.         <title color="#ffffff" x="(width - title_width) / 2" y="(height - title_height) / 2"/>
  32.     </draw_ops>
  33.     <draw_ops name="title-text-unfocused">
  34.         <title color="#cecece" x="(width - title_width) / 2 +1" y="(height - title_height) / 2 + 1"/>
  35.         <title color="#ffffff" x="(width - title_width) / 2" y="(height - title_height) / 2"/>
  36.     </draw_ops>
  37.     <draw_ops name="blank">
  38.     </draw_ops>
  39.     <draw_ops name="title">
  40.         <image filename="titlebar-left-focused.png" x="0" y="0" width="object_width" height="height"/>
  41.         <image filename="titlebar-mid-focused.png" x="10" y="0" width="width - 10" height="height"/>
  42.         <image filename="titlebar-right-focused.png" x="width - object_width" y="0" width="object_width" height="height"/>
  43.     </draw_ops>
  44.     <draw_ops name="title-shaded">
  45.         <image filename="titlebar-left-shaded-focused.png" x="0" y="0" width="object_width" height="height"/>
  46.         <image filename="titlebar-mid-shaded-focused.png" x="10" y="0" width="width - 10" height="height"/>
  47.         <image filename="titlebar-right-shaded-focused.png" x="width - object_width" y="0" width="object_width" height="height"/>
  48.     </draw_ops>
  49.     <draw_ops name="frame-left-focused">
  50.         <image filename="frame-left-focused.png" x="0" y="0" width="width" height="height"/>
  51.     </draw_ops>
  52.     <draw_ops name="frame-right-focused">
  53.         <image filename="frame-right-focused.png" x="0" y="0" width="width" height="height"/>
  54.     </draw_ops>
  55.     <draw_ops name="frame-bottom-focused">
  56.         <image filename="frame-bottom-left-focused.png" x="0" y="0" width="5" height="object_height"/>
  57.         <image filename="frame-bottom-mid-focused.png" x="5" y="0" width="width - 10" height="object_height"/>
  58.         <image filename="frame-bottom-right-focused.png" x="width - object_width" y="0" width="object_width" height="object_height"/>
  59.     </draw_ops>
  60.     <draw_ops name="button-close-focused">
  61.         <image filename="close_normal.png" x="0" y="0" width="width" height="height"/>
  62.     </draw_ops>
  63.     <draw_ops name="button-close-unfocused">
  64.         <image filename="close_inactive.png" x="0" y="0" width="width" height="height"/>
  65.     </draw_ops>
  66.     <draw_ops name="button-close-pressed">
  67.         <image filename="close_down.png" x="0" y="0" width="width" height="height"/>
  68.     </draw_ops>
  69.     <draw_ops name="button-maximize-focused">
  70.         <image filename="max_normal.png" x="0" y="0" width="width" height="height"/>
  71.     </draw_ops>
  72.     <draw_ops name="button-maximize-unfocused">
  73.         <image filename="max_inactive.png" x="0" y="0" width="width" height="height"/>
  74.     </draw_ops>
  75.     <draw_ops name="button-maximize-pressed">
  76.         <image filename="max_down.png" x="0"  y="0" width="width" height="height"/>
  77.     </draw_ops>
  78.     <draw_ops name="button-minimize-focused">
  79.         <image filename="min_normal.png" x="0" y="0" width="width" height="height"/>
  80.     </draw_ops>
  81.     <draw_ops name="button-minimize-unfocused">
  82.         <image filename="min_inactive.png" x="0" y="0" width="width" height="height"/>
  83.     </draw_ops>
  84.     <draw_ops name="button-minimize-pressed">
  85.         <image filename="min_down.png" x="0" y="0" width="width" height="height"/>
  86.     </draw_ops>
  87.     <draw_ops name="button-menu-focused">
  88.         <image filename="button-menu-focused.png" x="0" y="0" width="width" height="height"/>
  89.     </draw_ops>
  90.     <draw_ops name="button-menu-unfocused">
  91.         <image filename="button-menu-unfocused.png" x="0" y="0" width="width" height="height"/>
  92.     </draw_ops>
  93.     <draw_ops name="button-menu-pressed">
  94.         <image filename="button-menu-pressed.png" x="0" y="0" width="width" height="height"/>
  95.     </draw_ops>
  96.     <frame_style name="normal-focused" geometry="normal">
  97.         <piece position="titlebar" draw_ops="title"/>
  98.         <piece position="left_edge" draw_ops="frame-left-focused"/>
  99.         <piece position="right_edge" draw_ops="frame-right-focused"/>
  100.         <piece position="bottom_edge" draw_ops="frame-bottom-focused"/>
  101.         <piece position="title" draw_ops="title-text-focused"/>
  102.         <button function="close" state="normal" draw_ops="button-close-unfocused"/>
  103.         <button function="close" state="prelight" draw_ops="button-close-focused"/>
  104.         <button function="close" state="pressed" draw_ops="button-close-pressed"/>
  105.         <button function="minimize" state="normal" draw_ops="button-minimize-unfocused"/>
  106.         <button function="minimize" state="prelight" draw_ops="button-minimize-focused"/>
  107.         <button function="minimize" state="pressed" draw_ops="button-minimize-pressed"/>
  108.         <button function="maximize" state="normal" draw_ops="button-maximize-unfocused"/>
  109.         <button function="maximize" state="prelight" draw_ops="button-maximize-focused"/>
  110.         <button function="maximize" state="pressed" draw_ops="button-maximize-pressed"/>
  111.         <button function="menu" state="normal" draw_ops="button-menu-unfocused"/>
  112.         <button function="menu" state="prelight" draw_ops="button-menu-focused"/>
  113.         <button function="menu" state="pressed" draw_ops="button-menu-pressed"/>
  114.     </frame_style>
  115.     <frame_style name="normal-unfocused" geometry="normal">
  116.         <piece position="titlebar" draw_ops="title"/>
  117.         <piece position="left_edge" draw_ops="frame-left-focused"/>
  118.         <piece position="right_edge" draw_ops="frame-right-focused"/>
  119.         <piece position="bottom_edge" draw_ops="frame-bottom-focused"/>
  120.         <piece position="title" draw_ops="title-text-unfocused"/>
  121.         <button function="close" state="normal" draw_ops="button-close-unfocused"/>
  122.         <button function="close" state="prelight" draw_ops="button-close-focused"/>
  123.         <button function="close" state="pressed" draw_ops="button-close-pressed"/>
  124.         <button function="minimize" state="normal" draw_ops="button-minimize-unfocused"/>
  125.         <button function="minimize" state="prelight" draw_ops="button-minimize-focused"/>
  126.         <button function="minimize" state="pressed" draw_ops="button-minimize-pressed"/>
  127.         <button function="maximize" state="normal" draw_ops="button-maximize-unfocused"/>
  128.         <button function="maximize" state="prelight" draw_ops="button-maximize-focused"/>
  129.         <button function="maximize" state="pressed" draw_ops="button-maximize-pressed"/>
  130.         <button function="menu" state="normal" draw_ops="button-menu-unfocused"/>
  131.         <button function="menu" state="prelight" draw_ops="button-menu-focused"/>
  132.         <button function="menu" state="pressed" draw_ops="button-menu-pressed"/>
  133.     </frame_style>
  134.     <frame_style name="normal-shaded-focused" geometry="normal" parent="normal-focused">
  135.         <piece position="titlebar" draw_ops="title-shaded"/>
  136.     </frame_style>
  137.     <frame_style name="normal-shaded-unfocused" geometry="normal" parent="normal-unfocused">
  138.         <piece position="titlebar" draw_ops="title-shaded"/>
  139.     </frame_style>
  140.     <frame_style_set name="normal">
  141.         <frame focus="yes" state="normal" resize="both" style="normal-focused"/>
  142.         <frame focus="no" state="normal" resize="both" style="normal-unfocused"/>
  143.         <frame focus="yes" state="maximized" style="normal-focused"/>
  144.         <frame focus="no" state="maximized" style="normal-unfocused"/>
  145.         <frame focus="yes" state="shaded" style="normal-shaded-focused"/>
  146.         <frame focus="no" state="shaded" style="normal-shaded-unfocused"/>
  147.         <frame focus="yes" state="maximized_and_shaded" style="normal-shaded-focused"/>
  148.         <frame focus="no" state="maximized_and_shaded" style="normal-shaded-unfocused"/>
  149.     </frame_style_set>
  150.     <window type="normal" style_set="normal"/>
  151.     <window type="dialog" style_set="normal"/>
  152.     <window type="modal_dialog" style_set="normal"/>
  153.     <window type="menu" style_set="normal"/>
  154.     <window type="utility" style_set="normal"/>
  155.     <window type="border" style_set="normal"/>
  156.     <menu_icon function="close" state="normal" draw_ops="button-close-focused"/>
  157.     <menu_icon function="maximize" state="normal" draw_ops="button-maximize-focused"/>
  158.     <menu_icon function="unmaximize" state="normal" draw_ops="button-maximize-focused"/>
  159.     <menu_icon function="minimize" state="normal" draw_ops="button-minimize-focused"/>
  160. </metacity_theme>
  161.  
Jun 30 '07 #1
0 1595

Sign in to post your reply or Sign up for a free account.

Similar topics

4
by: muser | last post by:
Can anyone run this program through their compiler or if they can see a logical error please point it out. I have my tutor working on it at the moment but I would rather a less ambigious response...
6
by: muser | last post by:
In the following function there is an access violation error, some memory can't be read. A week ago this code did compile. Can anyone possibly tell me why my compiler is unable to read part of...
3
by: Russ | last post by:
I have a page that uses crystal reports to generate reports from a SQl server database. As of a week ago everything was working fine, but now I am all of the sudden getting errors. To the best of...
6
by: Patrick Dugan | last post by:
Hello, I'm trying to load different images (icons) into a PictureBox1.Image. The first image loads just fine, but the second image always returns the error "Invalid property used." It doesn't...
0
by: HKSHK | last post by:
This list compares the error codes used in VB.NET 2003 with those used in VB6. Error Codes: ============ 3: This Error number is obsolete and no longer used. (Formerly: Return without GoSub)...
3
by: Randy | last post by:
I am trying to change a column to NOT NULLABLE and I get the following message. =SQL GENERATED================================================================ CONNECT TO TEST; CALL...
22
by: Amali | last post by:
I'm newdie in c programming. this is my first project in programming. I have to write a program for a airline reservation. this is what i have done yet. but when it runs it shows the number of...
4
by: mattehz | last post by:
Hey there, I am trying to upload old source files and came across these errors: Warning: Invalid argument supplied for foreach() in /home/mattehz/public_html/acssr/trunk/inc_html.php on line 59...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.