patch for stock icons in libbonoboui



Hi:

Attached is a patch to std-ui.xml that replaces the stock icons names
with their GTK+-2 equivalents.

OK to commit?

-Bill
? patch.diff
? samples/bonoboui-hello/Makefile.in
? samples/bonoboui-hello/Makefile
? samples/bonoboui-hello/bonoboui-hello
? samples/compound-doc/container/sample-container
? samples/controls/bonobo-sample-controls
Index: doc/std-ui.xml
===================================================================
RCS file: /cvs/gnome/libbonoboui/doc/std-ui.xml,v
retrieving revision 1.1
diff -u -r1.1 std-ui.xml
--- doc/std-ui.xml	2001/07/12 18:12:38	1.1
+++ doc/std-ui.xml	2002/01/07 20:52:38
@@ -2,88 +2,88 @@
 
 <commands>
         <cmd name="FileNew" _label="New" sensitive="0"
-	_tip="Start a new document" pixtype="stock" pixname="New"/>
+	_tip="Start a new document" pixtype="stock" pixname="gtk-new"/>
         
         <cmd name="FileOpen" _label="Open"
-	_tip="Open a file" pixtype="stock" pixname="Open" accel="F3"/>
+	_tip="Open a file" pixtype="stock" pixname="gtk-open" accel="F3"/>
 	
         <cmd name="FileSave" _label="Save" hidden="1"
-	_tip="Save the current file" pixtype="stock" pixname="Save"
+	_tip="Save the current file" pixtype="stock" pixname="gtk-save"
 	accel="*Control*s"/>
 	
         <cmd name="FileSaveAs" _label="Save As"
           _tip="Save the current file with a different name"
-	  pixtype="stock" pixname="Save As"/>
+	  pixtype="stock" pixname="gtk-save-as"/>
 
 	<cmd name="FileDelete" _label="Delete"
 	_tip="Delete the current file"
-	pixtype="stock" pixname="Trash"/>
+	pixtype="stock" pixname="gtk-delete"/>
 
         <cmd name="FileRevert" _label="Revert"
           _tip="Revert to a saved version of the file"
-          pixtype="stock" pixname="Revert"/>
+          pixtype="stock" pixname="gtk-revert"/>
 	
         <cmd name="FilePrint" _label="Print"
-	_tip="Print the current file" pixtype="stock" pixname="Print"/>
+	_tip="Print the current file" pixtype="stock" pixname="gtk-print"/>
 	
         <cmd name="FilePrintSetup" _label="Print Setup"
           _tip="Setup the page settings for your current printer"
-	  pixtype="stock" pixname="Print"/>
+	  pixtype="stock" pixname="gtk-print"/>
 
 	<cmd name="FilePrintPreview" _label="Print Preview"
-	_tip="Print preview"/>
+	_tip="Print preview" pixtype="stoc" pixname="gtk-print-preview"/>
 	
         <cmd name="FileClose" _label="Close"
-	_tip="Close the current file" pixtype="stock" pixname="Close"
+	_tip="Close the current file" pixtype="stock" pixname="gtk-close"
 	accel="*Control*w"/>
 	
         <cmd name="FileExit" _label="Exit" _tip="Exit the program"
-           pixtype="stock" pixname="Exit" accel="*Control*q"/>
+           pixtype="stock" pixname="gtk-quit" accel="*Control*q"/>
 
 
         <cmd name="EditCut" _label="Cut" _tip="Cut the selection"
-          pixtype="stock" pixname="Cut" accel="*Control*x"/>
+          pixtype="stock" pixname="gtk-cut" accel="*Control*x"/>
 	
         <cmd name="EditCopy" _label="Copy"
-	_tip="Copy the selection" pixtype="stock" pixname="Copy"
+	_tip="Copy the selection" pixtype="stock" pixname="gtk-copy"
 	accel="*Control*c"/>
 	
         <cmd name="EditPaste" _label="Paste"
-	_tip="Paste the clipboard" pixtype="stock" pixname="Paste"
+	_tip="Paste the clipboard" pixtype="stock" pixname="gtk-paste"
 	accel="*Control*v"/>
 	
         <cmd name="EditClear" _label="Clear"
 	_tip="Clear the selection"/>
 	
         <cmd name="EditUndo" _label="Undo" _tip="Undo the last action"
-          pixtype="stock" pixname="Undo" accel="*Control*z"/>
+          pixtype="stock" pixname="gtk-undo" accel="*Control*z"/>
 	
         <cmd name="EditRedo" _label="Redo" _tip="Redo the undone action"
-          pixtype="stock" pixname="Redo" accel="*Control*r"/>
+          pixtype="stock" pixname="gtk-redo" accel="*Control*r"/>
 	
         <cmd name="EditFind" _label="Find" _tip="Search for a string"
-          pixtype="stock" pixname="Search" accel="F6"/>
+          pixtype="stock" pixname="gtk-find" accel="F6"/>
 	
         <cmd name="EditFindAgain" _label="Find Again" _tip="Search again for the same string"
-          pixtype="stock" pixname="Search" accel="*Shift*F6"/>
+          pixtype="stock" pixname="gtk-find" accel="*Shift*F6"/>
 	
         <cmd name="EditReplace" _label="Replace" _tip="Replace a string"
-          pixtype="stock" pixname="Search/Replace" accel="F7"/>
+          pixtype="stock" pixname="gtk-find-and-replace" accel="F7"/>
 	
         <cmd name="EditProperties" _label="Properties" _tip="Modify the file's properties"
-	  pixtype="stock" pixname="Properties"/>
+	  pixtype="stock" pixname="gtk-properties"/>
 
 	<cmd name="EditSelectAll" _label="Select All" _tip="Select everything"/>
 
         <cmd name="SettingsPreferences" _label="Preferences" _tip="Configure the application"
-	  pixtype="stock" pixname="Preferences"/>
+	  pixtype="stock" pixname="gtk-preferences"/>
 
 
 	<cmd name="GoPrevious" _label="Previous" _tip="Go to the previous item"
-	pixtype="stock" pixname="Back"/>
+	pixtype="stock" pixname="gtk-go-back"/>
 
 	<cmd name="GoNext" _label="Next" _tip="Go to the next item"
-	pixtype="stock" pixname="Forward"/>
+	pixtype="stock" pixname="gtk-go-forward"/>
 
 
         <cmd name="WindowCreateNew" _label="Create New Window"
@@ -96,28 +96,27 @@
 	accel="*Control*n"/>
 
         <cmd name="GamePause" _label="Pause game" _tip="Pause the game" 
-	  pixtype="stock" pixname="Timer Stopped"/>
+	  pixtype="stock" pixname="gtk-stop"/>
 
         <cmd name="GameRestart" _label="Restart game" _tip="Restart the game"/>
 
         <cmd name="GameUndo" _label="Undo move" _tip="Undo the last move"
-	  pixtype="stock" pixname="Undo" accel="*Control*z"/>
+	  pixtype="stock" pixname="gtk-undo" accel="*Control*z"/>
 
         <cmd name="GameRedo" _label="Redo move" _tip="Redo the undone move"
-	  pixtype="stock" pixname="Redo" accel="*Control*r"/>
+	  pixtype="stock" pixname="gtk-redo" accel="*Control*r"/>
 
         <cmd name="GameHint" _label="Hint" _tip="Get a hint for your next move"/>
 	
-        <cmd name="GameScores" _label="Scores" _tip="View the scores"
-	  pixtype="stock" pixname="Scores"/>
+        <cmd name="GameScores" _label="Scores" _tip="View the scores"/>
 
         <cmd name="GameEnd" _label="End game" _tip="End the current game"/>
 
 	<cmd name="BonoboCustomize" _label="Customize" _tip="Customize toolbars"
-	pixtype="stock" pixname="Preferences"/>
+	pixtype="stock" pixname="gtk-preferences"/>
 
         <cmd name="HelpAbout" _label="About..." _tip="About this application"
-	 pixtype="stock" pixname="About"/>
+	 pixtype="stock" pixname="gtk-missing-image"/>
 
 	<cmd name="DebugDumpXml" _label="Dump XML" _tip="Dump the UI Xml description" hidden="1"/>
 
@@ -268,4 +267,4 @@
 	<item name="main"/>
 </status>
 
-</Root>
\ No newline at end of file
+</Root>


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]