Commit Graph

592 Commits

Author SHA1 Message Date
Till Adam 50bebf31e9 and that
SVN revision: 6044
2002-03-06 20:59:39 +00:00
Till Adam 6b3626b857 add the files, too
SVN revision: 6043
2002-03-06 20:59:16 +00:00
Till Adam 3dc62d700e rename E_View_Model to E_Dir. That was a stupid name to begin with. :)
SVN revision: 6042
2002-03-06 20:44:48 +00:00
rephorm d6f949c2b4 reflect new file names.
this should probably also create the .e_layout dir if it doesn't exist, and put the files in there. at the moment you have to run it with the .e_layout dir as part of the param ( build_iconbar_db.sh ~/.e/desktop/default/.e_layout/ )

then again, this will all be taken care of by the setup program and other methods eventually.


SVN revision: 6041
2002-03-05 17:47:36 +00:00
Till Adam be25ab672d * remove a bunch of unused variables
* scrollbars should not need to know the dir the view they are part of is in,
  because that can change without further notice. Access the dir through
  scrollbar->view->model->dir and replace the dir with the name of the view for
  named callbacks


SVN revision: 6040
2002-03-05 17:14:10 +00:00
Till Adam e0996f9fa7 I assume Brian meant to do that.
SVN revision: 6039
2002-03-05 16:50:19 +00:00
rephorm 949b22865e wow. now i'm really embarrassed. total brain fart in the commit yesterday. I really apologize.
SVN revision: 6038
2002-03-05 15:58:02 +00:00
rephorm a6da05f8b7 argh. forgot to add these...
thanks for pointing out all my mistakes till :)
hopefully thats everything.


SVN revision: 6037
2002-03-05 15:45:18 +00:00
rephorm b4aaf24a68 i think that should get things back to the way till had them.
for some reason, in e_configure,
  if ((v = e_view_machine_get_view_by_base_window(e->win)))
was acting as though true for all cases (including non views), and was segfaulting, so i made it
  v = e_view_machine_get_view_by_base_window(e->win);
  if (v)

any ideas why this would be necessary?


SVN revision: 6036
2002-03-04 23:57:56 +00:00
rephorm ce6d128739 Switched the layout over to using one bits file for layout, separate ones for element graphics (scrollbars / iconbars / etc). This allows more flexible (and cleaner) layout.
Instead of /path/.e_iconbar.bits.db, now uses /path/.e_layout/iconbar.bits.db.
Custom scrollbars can be placed in the .e_layout directory as well.

I should probably move the background db into here also, any objections?

So, to get your iconbar again, move the .e_iconbar[.bits].db to .e_layout/iconbar[.bits].db


SVN revision: 6034
2002-03-04 22:00:16 +00:00
rephorm 9777a14e73 The bits files for the new desktop/view layout system.
SVN revision: 6033
2002-03-04 21:55:33 +00:00
Till Adam e752aabcd1 fix annoying redraw bug (finally) and hide it under an indent run ;)
SVN revision: 6016
2002-03-03 10:40:07 +00:00
Till Adam fdb0dbc708 dont refcount the model twice for the first view
SVN revision: 6009
2002-03-02 16:40:57 +00:00
Till Adam e45338be4d shuffle around registering/unregistering of views and view models as per cK's
suggestion
remove unneeded function
remove comments for obvious one liners


SVN revision: 6008
2002-03-02 10:20:07 +00:00
sleuth 4302d0b872 Fix icon display state after dragging to a second instance of the
same dir.

Kevin Brosius <cobra@compuserve.com>


SVN revision: 6007
2002-03-02 08:57:46 +00:00
Till Adam a87318928e dont remove things from a list you are iterating over, thank you
SVN revision: 6006
2002-03-01 21:55:55 +00:00
Till Adam cf83b660f7 - add e_view_machine_get_view_by_[base|main]_window
- use it in about a zillion places
- now VM->views is only accessed from within e_view_machine.c


SVN revision: 6005
2002-03-01 20:50:46 +00:00
Till Adam 5a88ba9d13 user uses scrollbar -> something happens - better :)
SVN revision: 6004
2002-03-01 18:01:22 +00:00
Till Adam 622a5ccaf2 * dnd operations now only affect the currently focused view
SVN revision: 6003
2002-03-01 16:31:29 +00:00
Till Adam 09bd909ccb and that
SVN revision: 6002
2002-03-01 16:30:11 +00:00
atmosphere f0e1393763 free bgs when e_view_cleanup is called
SVN revision: 6001
2002-03-01 00:52:44 +00:00
Till Adam 4efdf11ee6 Move e_view_machine_get_model functionality into e_view_set_dir in view.c
where it makes more sense.


SVN revision: 5996
2002-02-27 22:46:14 +00:00
cpk 706a10b1db Did a little codewalk through the view code -- added lots of
segfault protection, renamed get_model_from_realpath() to
view_model_lookup(). Moved the realpath call to view_model_lookup(),
this way we need not rely on the realpath being passed in.
All minor stuff, really.

One thing I noticed: e_view_machine_get_model() is in the wrong
place and should change its name -- it is not related to the view
machine and does not return anything. It should probably become

e_view_register_model()

and live in view.c.

Also, Raster hasn't replied yet to my question regarding
the need for the explicit -lc in Makefile.am. It works fine
here without it and apparently breaks FreeBSD build, so I
think we should remove it.

Fixed a warning in focus.c due to missing icccm.h.

Added "void" to function declarations that don't accept
parameters.


SVN revision: 5994
2002-02-27 21:06:42 +00:00
Till Adam 12fe3a8611 prevent selections in multiple views of the same dir. I do it like this to
keep selection info out of the view_model because it really doesnt belong
there, I think.


SVN revision: 5992
2002-02-27 10:39:08 +00:00
Till Adam 963526152c - use the view->changed flag again and set it whenever necessary (I hope ;)
- hopefully fix core on bsd reported by kirby kuehl


SVN revision: 5988
2002-02-26 21:12:45 +00:00
Till Adam d3625546b5 This is meant to prevent drags from one view of a dir to another view of
the same dir. Kevin, is this the right place to do this?


SVN revision: 5986
2002-02-26 18:56:54 +00:00
Till Adam fd0bd775f6 re-enable drag and drop. Turned out to need only minimal adjustments. Not extensively tested, so I'd appreciate it if
people tried if this works like before.


SVN revision: 5983
2002-02-26 09:24:50 +00:00
rephorm a7e397198d RIP!
No more epplet support.
It should once again compile regardless of whether ferite is used or not.


SVN revision: 5981
2002-02-26 01:25:35 +00:00
Till Adam a21dcda8c8 update some docu and comments
SVN revision: 5979
2002-02-25 20:44:58 +00:00
Till Adam 335ce3545e and this one too ;)
SVN revision: 5978
2002-02-25 18:09:36 +00:00
Till Adam 5744b944d6 ok folks, here goes. The multiple view stuff as discussed in lenght. I've managed to get metadata back up, views save
their geometry on close. I'll start getting the documentation back in sync and commenting some more. Could anyone
willing to clean up/fix either the iconbar dnd stuff and/or the regular dnd stuff please announce it, so we dont start
duplicating work. Thanks.


SVN revision: 5977
2002-02-25 18:09:13 +00:00
rephorm abf7d8f0ee some patches by Nicolas Pomarede:
LMB will scroll one screen when pressed in the scrollbar area.
Middle and Right MB will move the scroll bar slider to the clicked
position directly.

So this is rather similar to the behaviour we have in standard GTK apps
for example.

Also, I corrected a small bug in view.c and scrollbar.c that could lead to
the scrollbar beeing redrawn outside the view (because "value" was
recalculated before "range" and "max" were set ; and since value depends
on max and range, this could lead to value of value that were too big).

Thanks Nicolas!


SVN revision: 5976
2002-02-24 06:48:14 +00:00
sleuth 1ee238ff53 Enlarge the menu intersection test area so clicking
always starts the app.

Kevin Brosius <cobra@compuserve.com>


SVN revision: 5964
2002-02-21 04:42:50 +00:00
rephorm 419af7eb81 allow drops from the same view.
The matching_drop_attempt flag was set, so it should handle the drop regardless of whether the same view or not, since it checks for the flag later.

Now you can drop icons from the desktop to the iconbar.


SVN revision: 5960
2002-02-20 05:09:00 +00:00
rephorm daf36fd95d clean up the imlib_image
SVN revision: 5959
2002-02-20 04:19:21 +00:00
rephorm d5f6a3f256 drag and drop view icons onto the iconbar to add em. They get the same icon as t
he view gave em, so its a little bland now. Icon changing may come soon.


SVN revision: 5958
2002-02-20 03:47:13 +00:00
Christopher Rosendahl 74a4efea34 Wrote a simple uptime epplet =)
Brendon i hope you don't mind me using your clock.png =) i thought it looked
so neat... and it looks even more neat with both the clock & uptime epplet
having the same look.


SVN revision: 5954
2002-02-18 15:19:12 +00:00
atmosphere d41b943d28 use a little more of the bg code in views
SVN revision: 5953
2002-02-18 14:42:57 +00:00
bdsabian b6d3c129b2 New look for clock2. Easier to read.
SVN revision: 5947
2002-02-17 22:50:30 +00:00
atmosphere 751ea8b62c clean up bgs properly(i think)
The old background code(background.c) had
e_object_init(E_OBJECT(bg), (E_Cleanup_Func) e_background_cleanup);
in the e_background_new function which isn't being used anymore

I don't fully understand the way the E_Object stuff would work with this or
if this is ok since ebg is its own separate library now.


SVN revision: 5943
2002-02-16 22:39:19 +00:00
rephorm 984f643abb reorder or remove iconbar icons by moving them around on the iconbar or moving them off of it.
SVN revision: 5942
2002-02-15 22:45:11 +00:00
bdsabian 1f91b6d65a here's the epplets.bits.db that I'm using. CaT, does this work for you now without the move() line?
SVN revision: 5939
2002-02-14 16:45:02 +00:00
bdsabian 3b7aab7dea now uses .e_epplets.bits.db for main epplet positioning
SVN revision: 5938
2002-02-14 05:14:42 +00:00
bdsabian 3ecca04798 hopefully this fixes the problem people are having with the background not loading.
SVN revision: 5937
2002-02-14 00:26:22 +00:00
bdsabian d349987309 Hopefully this will get the image to work for everyone else
SVN revision: 5936
2002-02-13 19:02:17 +00:00
bdsabian 501feae88e - use that nifty new syntax for date/time strings
- get year properly :)


SVN revision: 5935
2002-02-13 11:11:11 +00:00
bdsabian e3b4c7e88a - new look for clock (clock2.fe)
- old look still default, read README to see how to change


SVN revision: 5934
2002-02-13 11:01:25 +00:00
bdsabian 3f4ec34adf ok, i think we're done with the stupid mistakes here :) (i hope so)
SVN revision: 5933
2002-02-13 09:55:20 +00:00
bdsabian 55f5d03b2f ferite refuses to compile the script if I use >=. any ideas???
SVN revision: 5932
2002-02-13 09:43:59 +00:00
bdsabian dcb669d3e3 fix so noon is also marked as PM
SVN revision: 5931
2002-02-13 09:29:08 +00:00