473,614 Members | 2,361 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Metacity error: The file format is invalid

eboyjr14
27 New Member
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 1610

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

Similar topics

4
4011
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 than the one I think he will provide. The test data, A:\\"514650.txt", appears at the end of the program. The problem is that the program won't read this file and the debugger as far as i know how to work it won't point out the mistake of any....
6
1886
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 this function. bool processdrecord( ofstream& prnfile, ofstream& validdata, char* record ) { drecord Newdrecord; char customercode;
3
2810
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 my knowledge nothing was changed on the server. Here is the error: Error in File C:\DOCUME~1\WEBSERVER\ASPNET\Local Settings\Temp\temp_57908cf8-dba0-4327-b785-95de5cf6e523.rpt: Invalid export DLL or export format.
6
2139
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 matter what icons are loaded. The first always shows up and any icons after that give me the error. Here is the offending code: The "DestinationPath" variable is the full path and filename of the icon
0
23474
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) 5: Procedure call or argument is not valid. 6: Overflow. 7: Out of memory.
3
4769
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 SYSPROC.ALTOBJ ( 'APPLY_CONTINUE_ON_ERROR', 'CREATE TABLE RANDMAN.ACCTADDRESS ( ACCT BIGINT NOT NULL , FY BIGINT NOT NULL , PROV CHARACTER (2) , AMT DECIMAL (8, 2) ) IN DB2_GAST_DATA ', -1, ? ); ;
22
3251
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 seats as 0 and the flight no. is also repeating. If any can tell why is this please help me. #include<stdio.h> #include<ctype.h> #include<conio.h>
4
6302
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 Notice: Undefined index: args in /home/mattehz/public_html/acssr/trunk/inc_error.php on line 92 Warning: Invalid argument supplied for foreach() in /home/mattehz/public_html/acssr/trunk/inc_error.php on line 92
0
8621
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8576
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
8427
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7050
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6087
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5538
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4119
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2565
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1712
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.