From laurent.sansonetti at gmail.com Thu Dec 1 19:25:49 2005 From: laurent.sansonetti at gmail.com (Laurent Sansonetti) Date: Fri, 2 Dec 2005 01:25:49 +0100 Subject: [Alexandria-list] drag-and-drop Message-ID: <1be7247c0512011625o5685d3c7y5a8e00372ea4fd7f@mail.gmail.com> Hi, I implemented drag-and-drop of books to libraries. Code is in CVS. Some points though: 1/ you need at least GTK+ 2.8.0 to enable dragging from the icon view ; 2/ for the multiple books dragging icon, the counter badge is temporary, it will soon be replaced with real pixmaps. More details: http://www.rubymonks.org/~lrz/diary/?date=20051202#p01 Laurent From arrak at arrak.org Thu Dec 1 22:08:17 2005 From: arrak at arrak.org (Arrakis Muadib) Date: Thu, 01 Dec 2005 22:08:17 -0500 Subject: [Alexandria-list] drag-and-drop In-Reply-To: <1be7247c0512011625o5685d3c7y5a8e00372ea4fd7f@mail.gmail.com> References: <1be7247c0512011625o5685d3c7y5a8e00372ea4fd7f@mail.gmail.com> Message-ID: <1133492897.4190.3.camel@localhost.localdomain> Cool! I will update my cvs archive and test right now! Did you saw any problem with your implementation? And By the way there is some problems with my book provider, some times, the book's informations are all mixed, i'll investiged and re-submit it to the cvs. math > Hi, > > I implemented drag-and-drop of books to libraries. Code is in CVS. > > Some points though: > > 1/ you need at least GTK+ 2.8.0 to enable dragging from the icon view ; > 2/ for the multiple books dragging icon, the counter badge is > temporary, it will soon be replaced with real pixmaps. > > More details: http://www.rubymonks.org/~lrz/diary/?date=20051202#p01 > > Laurent > > _______________________________________________ > Alexandria-list mailing list > Alexandria-list at rubyforge.org > http://rubyforge.org/mailman/listinfo/alexandria-list -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part Url : http://rubyforge.org/pipermail/alexandria-list/attachments/20051201/3a7157be/attachment.bin From laurent.sansonetti at gmail.com Fri Dec 2 08:18:17 2005 From: laurent.sansonetti at gmail.com (Laurent Sansonetti) Date: Fri, 2 Dec 2005 14:18:17 +0100 Subject: [Alexandria-list] drag-and-drop In-Reply-To: <1133492897.4190.3.camel@localhost.localdomain> References: <1be7247c0512011625o5685d3c7y5a8e00372ea4fd7f@mail.gmail.com> <1133492897.4190.3.camel@localhost.localdomain> Message-ID: <1be7247c0512020518q756aff73vcfa89cfc52fca381@mail.gmail.com> Hi, On 12/2/05, Arrakis Muadib wrote: > Cool! > > I will update my cvs archive and test right now! > Groovy! > Did you saw any problem with your implementation? > Not at all. The only problem I discovered is that when you double click on a book row or a book icon to open its properties, when closing the properties window the row/icon is still being dragged. But this problem is not linked to the custom treeview DND implementation, as we have the same problem with the icon view. I will try to fix this today. > And By the way there is some problems with my book provider, some times, > the book's informations are all mixed, i'll investiged and re-submit it > to the cvs. > Oki doki. Also could you write a test case for your provider in tests/test_providers.rb? Cheers Laurent From laurent.sansonetti at gmail.com Sat Dec 3 14:51:08 2005 From: laurent.sansonetti at gmail.com (Laurent Sansonetti) Date: Sat, 3 Dec 2005 20:51:08 +0100 Subject: [Alexandria-list] drag-and-drop In-Reply-To: <1133599144.10588.2.camel@localhost.localdomain> References: <1be7247c0512011625o5685d3c7y5a8e00372ea4fd7f@mail.gmail.com> <1133492897.4190.3.camel@localhost.localdomain> <1be7247c0512020518q756aff73vcfa89cfc52fca381@mail.gmail.com> <1133599144.10588.2.camel@localhost.localdomain> Message-ID: <1be7247c0512031151y744349br9f6bba240db954f2@mail.gmail.com> Hi Liam, On 12/3/05, Liam Davison wrote: > Hi Laurent > > This sounds very cool, but I'm not having any luck. I'm running Ubuntu > 5.10, so I have Gnome 2.12 and GTK 2.8.3, but it's not working for me: > > > $ alexandria > ----------------------- > Alexandria just crashed > ----------------------- > Timestamp: Sat Dec 03 08:38:07 GMT 2005 > Message: undefined method `enable_model_drag_source' for > # > Backtrace: > /usr/local/lib/site_ruby/1.8/alexandria/ui/main_app.rb:382:in > `setup_view_source_dnd' > /usr/local/lib/site_ruby/1.8/alexandria/ui/main_app.rb:407:in > `setup_books_iconview' > /usr/local/lib/site_ruby/1.8/alexandria/ui/main_app.rb:1321:in > `initialize_ui' > /usr/local/lib/site_ruby/1.8/alexandria/ui/main_app.rb:89:in > `initialize' > /usr/local/lib/site_ruby/1.8/alexandria/ui.rb:46:in `main' > /usr/local/lib/site_ruby/1.8/alexandria.rb:68:in `main' > /usr/bin/alexandria:10 > Release: CVS > Uname -a: Linux penelope 2.6.12-10-k7 #1 Fri Nov 18 12:46:18 UTC 2005 > i686 GNU/Linux > Strange, as Gtk::IconView#enable_model_drag_source has been added since GTK+ 2.8. What is your version of Ruby-GNOME2? Also currently I am checking if GTK+ is 2.8.0 or greater to enable the code, this is not the good way as you may have GTK+ 2.8.x but an old version of Ruby-GNOME2. I suspect this is your case. You should have Ruby-GNOME2 0.14.0 or greater. Laurent From laurent.sansonetti at gmail.com Wed Dec 14 19:08:22 2005 From: laurent.sansonetti at gmail.com (Laurent Sansonetti) Date: Thu, 15 Dec 2005 01:08:22 +0100 Subject: [Alexandria-list] undo/redo Message-ID: <1be7247c0512141608k1dde1557v40e0a51f4e41d08f@mail.gmail.com> Hi, I just added a basic undo/redo functionality to CVS, to handle books move and books/libraries deletion. I am not sure we want to preserve other actions (maybe preserving the edition of the properties of a book?). I wrote this feature very fast (less than an hour) so I am pretty sure there are some nasty bugs around. However I did some quick tests and it seems to work fine. It would be nice if you could check out the sources and try a bit this feature. Also, I plan to update the Undo/Redo menu item title according to the latest Undo/Redo action (for instance, Undo Move Book, or Redo Delete Library...) soon. I can see the tail of 0.7.0! Laurent From realbluehead at gmail.com Sun Dec 25 04:04:06 2005 From: realbluehead at gmail.com (Carles Rius) Date: Sun, 25 Dec 2005 10:04:06 +0100 Subject: [Alexandria-list] About translating alexandria to the Catalan language Message-ID: Hi! I'm from catalonia, between spain and france and I'd like to know if I could help translating alexandria to my language, Catalan. Thank you! -- Carles Rius i Cruz From aymeric at nnx.com Fri Dec 30 14:35:16 2005 From: aymeric at nnx.com (Aymeric Nys) Date: Fri, 30 Dec 2005 14:35:16 -0500 Subject: [Alexandria-list] Crash Message-ID: <1135971316.10833.15.camel@veckman> Hi, alexandria crashed, I was not able to start it. aymeric at veckman ~ $ alexandria /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb: line 21 libglade-WARNING **:Could not load support for `gnome': libgnome.so: Ne peut ouvrir le fichier d'objet partag?: Aucun fichier ou r?pertoire de ce type /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb: line 21 libglade-WARNING **:Could not load support for `bonobo': libbonobo.so: Ne peut ouvrir le fichier d'objet partag?: Aucun fichier ou r?pertoire de ce type /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb: line 21 libglade-WARNING **:unknown property `enable_layout_config' for class `GnomeApp' /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb: line 21 libglade-WARNING **:could not find a parent that handles internal children for `dock' /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb: line 21 libglade-WARNING **:could not find a parent that handles internal children for `appbar' ----------------------- Alexandria just crashed ----------------------- Timestamp: ven d?c 30 14:18:27 EST 2005 Message: undefined method `model=' for nil:NilClass Backtrace: /usr/lib/ruby/site_ruby/1.8/alexandria/ui/main_app.rb:358:in `setup_books_listview' /usr/lib/ruby/site_ruby/1.8/alexandria/ui/main_app.rb:1106:in `initialize_ui' /usr/lib/ruby/site_ruby/1.8/alexandria/ui/main_app.rb:85:in `initialize' /usr/lib/ruby/site_ruby/1.8/alexandria/ui.rb:41:in `main' /usr/lib/ruby/site_ruby/1.8/alexandria.rb:66:in `main' /usr/bin/alexandria:10 Release: 0.6.1 Uname -a: Linux veckman 2.6.14-gentoo-r2n #1 PREEMPT Thu Dec 29 16:25:10 EST 2005 ppc 7455, altivec supported PowerBook6,3 GNU/Linux -- Please report this dump to 'alexandria-list at rubyforge.org' with some additional information, such as the description of the crash and the steps to reproduce it (if it's possible). As I do not have libgnome.so and libbonobo.so but libgnome-2.so and libbonobo-2.so I have made a link. But what I receive now is: aymeric at veckman ~ $ alexandria /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb: line 21 libglade-WARNING **:could not find `gnome' init function: `glade_module_register_widgets': /usr/lib/libgnome-2.so.0: undefined symbol: glade_module_register_widgets /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb: line 21 libglade-WARNING **:could not find `bonobo' init function: `glade_module_register_widgets': /usr/lib/libbonobo-2.so.0: undefined symbol: glade_module_register_widgets /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb: line 21 libglade-WARNING **:unknown property `enable_layout_config' for class `GnomeApp' /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb: line 21 libglade-WARNING **:could not find a parent that handles internal children for `dock' /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb: line 21 libglade-WARNING **:could not find a parent that handles internal children for `appbar' ----------------------- Alexandria just crashed ----------------------- Timestamp: ven d?c 30 14:20:53 EST 2005 Message: undefined method `model=' for nil:NilClass Backtrace: /usr/lib/ruby/site_ruby/1.8/alexandria/ui/main_app.rb:358:in `setup_books_listview' /usr/lib/ruby/site_ruby/1.8/alexandria/ui/main_app.rb:1106:in `initialize_ui' /usr/lib/ruby/site_ruby/1.8/alexandria/ui/main_app.rb:85:in `initialize' /usr/lib/ruby/site_ruby/1.8/alexandria/ui.rb:41:in `main' /usr/lib/ruby/site_ruby/1.8/alexandria.rb:66:in `main' /usr/bin/alexandria:10 Release: 0.6.1 Uname -a: Linux veckman 2.6.14-gentoo-r2n #1 PREEMPT Thu Dec 29 16:25:10 EST 2005 ppc 7455, altivec supported PowerBook6,3 GNU/Linux -- Please report this dump to 'alexandria-list at rubyforge.org' with some additional information, such as the description of the crash and the steps to reproduce it (if it's possible). I use alexandria-0.6.1, ruby-1.8.4, ruby-gnome2, ruby-libglade-0.14.1 Thanks for your help. -- Aymeric Nys From humberaquino at gmail.com Tue Dec 20 14:02:44 2005 From: humberaquino at gmail.com (Humber Aquino) Date: Tue, 20 Dec 2005 19:02:44 -0000 Subject: [Alexandria-list] Alexandria just crashed Message-ID: <37fd0c50512201113u7d0e1c9cpc7682be6799bbbf5@mail.gmail.com> bash-2.05b$ alexandria ----------------------- Alexandria just crashed ----------------------- Timestamp: Tue Dec 20 16:08:18 PYST 2005 Message: wrong number of arguments (1 for 2) Backtrace: /usr/lib/ruby/site_ruby/1.8/alexandria/ui/main_app.rb:528:in `move' /usr/lib/ruby/site_ruby/1.8/alexandria/ui/main_app.rb:528:in `restore_preferences' /usr/lib/ruby/site_ruby/1.8/alexandria/ui/main_app.rb:81:in `initialize' /usr/lib/ruby/site_ruby/1.8/alexandria/ui.rb:40:in `main' /usr/lib/ruby/site_ruby/1.8/alexandria.rb:60:in `main' /usr/bin/alexandria:10 Release: 0.5.1 Uname -a: Linux onizuka-sensei 2.6.8.1 #20 Fri Jun 17 12:02:05 PYT 2005 i686 Mobile Intel(R) Celeron(R) CPU 2.40GHz GenuineIntel GNU/Linux -- Please report this dump to 'alexandria-list at rubyforge.org' with some additional information, such as the description of the crash and the steps to reproduce it (if it's possible).