From: Hans F. <fu...@us...> - 2004-07-03 05:59:01
|
Update of /cvsroot/neelix/neelix/view/qt In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv12348/view/qt Modified Files: mw.ui qt.rb Log Message: Just took out a few debug statements and fixed a few minor bugs. Also removed menu entries that we're not using yet from the UI. Now we just need to figure out how to package this thing. Jamis, you've ventured into gems. Would that be appropriate in this case? Index: mw.ui =================================================================== RCS file: /cvsroot/neelix/neelix/view/qt/mw.ui,v retrieving revision 1.7 retrieving revision 1.8 diff -u -d -r1.7 -r1.8 --- mw.ui 30 Jun 2004 14:34:06 -0000 1.7 +++ mw.ui 3 Jul 2004 05:58:51 -0000 1.8 @@ -9,7 +9,7 @@ <x>0</x> <y>0</y> <width>747</width> - <height>540</height> + <height>543</height> </rect> </property> <property name="caption"> @@ -357,9 +357,6 @@ <cstring>MenuBar</cstring> </property> <item text="&File" name="fileMenu"> - <action name="fileNewAction"/> - <action name="fileOpenAction"/> - <action name="fileSaveAsAction"/> <separator/> <action name="fileExitAction"/> </item> Index: qt.rb =================================================================== RCS file: /cvsroot/neelix/neelix/view/qt/qt.rb,v retrieving revision 1.9 retrieving revision 1.10 diff -u -d -r1.9 -r1.10 --- qt.rb 3 Jul 2004 00:39:47 -0000 1.9 +++ qt.rb 3 Jul 2004 05:58:52 -0000 1.10 @@ -233,16 +233,13 @@ def ingredient_moved(section,fromIndex,toIndex) r = @shelf.currentItem.data - puts "from #{fromIndex} to #{toIndex} ingred #{r.ingredients[fromIndex]}" - toIndex -= 1 if fromIndex < toIndex r.ingredients.insert(toIndex, r.ingredients.delete_at(fromIndex)) - - puts r.ingredients end def recipename_changed(text) @shelf.currentItem.data.name = text + @shelf.currentItem.setText(0,text) end def author_changed(text) @shelf.currentItem.data.author = text |