Commit Graph

3365 Commits

Author SHA1 Message Date
sebastid ff6ba0449b Remove cast
SVN revision: 25005
2006-08-21 16:10:36 +00:00
sebastid e3840f98f9 cast be gone.
SVN revision: 25004
2006-08-21 16:03:49 +00:00
sebastid 3a7b3efa8f Remove const on variable which will be modified.
Remove double looping.


SVN revision: 25003
2006-08-21 16:00:43 +00:00
sebastid 7b26db9067 Remove cast
SVN revision: 25002
2006-08-21 15:54:40 +00:00
sebastid d013e1a873 Add header include
Export function
Correct function declaration
Remove char * cast
Remove unused variable


SVN revision: 25001
2006-08-21 15:52:58 +00:00
sebastid 6881af25f9 Remove unused variables.
SVN revision: 24999
2006-08-21 15:45:47 +00:00
sebastid 04cc08f61f Remove cast
SVN revision: 24998
2006-08-21 15:37:58 +00:00
sebastid fbfa634ed9 Use const.
SVN revision: 24997
2006-08-21 15:37:29 +00:00
sebastid 22191c3a64 Remove unnecessary variable and cast.
SVN revision: 24996
2006-08-21 15:36:37 +00:00
sebastid 7a7701d90c Remove unnecessary char * cast.
SVN revision: 24995
2006-08-21 15:35:17 +00:00
sebastid 77c810e910 Make fname const.
SVN revision: 24994
2006-08-21 15:34:43 +00:00
sebastid 621bc1a877 Use const with stringshare.
SVN revision: 24993
2006-08-21 15:33:20 +00:00
sebastid f09ddad1cd Remove unused variable.
SVN revision: 24992
2006-08-21 15:31:58 +00:00
sebastid 71b883624d Add return value.
SVN revision: 24990
2006-08-21 15:11:07 +00:00
sebastid be3475b1c8 Formatting.
SVN revision: 24989
2006-08-21 15:06:11 +00:00
sebastid 77d906ac26 Formatting
SVN revision: 24988
2006-08-21 15:05:27 +00:00
David Walter Seikel 4bf92f25f8 New menu structure.
~/.e/e/applications/menu/all
~/.e/e/applications/menu/favorites

The first one is all the converted FDO menus, which will track changes
to those menus.  The second one is the original favorites menu, which
the user can edit to their hearts content.

WARNING - will break your Favorite menus, coz it has moved.


SVN revision: 24979
2006-08-21 04:35:52 +00:00
rephorm 22197b5393 use new edje liner grad fills.
SVN revision: 24977
2006-08-21 03:27:33 +00:00
David Walter Seikel 9261b8c114 Bump it again, didn't notice that rephorm had bumped it earlier today.
SVN revision: 24974
2006-08-21 02:36:53 +00:00
David Walter Seikel c33012eb52 Saves selected icon theme in e_config. I hope I did everything I need
to do when adding a new config string.

Doesn't actually update icons or clear caches yet, but new icons will be in
the selected theme.


SVN revision: 24973
2006-08-21 02:30:10 +00:00
rephorm 3b84d85303 * crosshairs show in proper place in spectrum initially
* a color well's dialog closes when the well is deleted
* the X border button calls the cancel cb for the color dialog
* the X on the grad dialog now works


SVN revision: 24964
2006-08-20 23:29:41 +00:00
Carsten Haitzler bec1e617e8 fix import if dir contains special chars
SVN revision: 24962
2006-08-20 22:51:12 +00:00
rephorm 2910f27842 start with proper hsv also...
SVN revision: 24960
2006-08-20 22:33:31 +00:00
rephorm 47ded57d3f save the last used gradient colors and use them the next time the dialog is shown
SVN revision: 24959
2006-08-20 22:30:44 +00:00
moom cc6b1d0f99 * [E_Editable] Fix valgrind warnings and mem leak
SVN revision: 24958
2006-08-20 22:24:16 +00:00
rephorm 24bb452439 when clicking on a color well, initialize the color selector to the well's color
few other cleanups


SVN revision: 24957
2006-08-20 22:15:27 +00:00
rephorm 1c8c6ee6cb close the gradient dialog when the wallpaper one is closed
SVN revision: 24955
2006-08-20 21:33:50 +00:00
rephorm 63978e9abb add gradient bg dialog.
finish up the color selector widgets (plug some leaks)

TODO:
  * color_dialog needs a way of specifying initial color
  * color_well needs to use this when showing its color dialog
  * the grad dialog should remember the last selected colors
  * the color dialog whould probably keep a list of favorite / recent colors

Also, it looks like there's a leak (according to valgrind at least) in e_editable.c when you set the text and it reallocs.


SVN revision: 24953
2006-08-20 21:18:30 +00:00
David Walter Seikel 4034863219 You can only use one icon theme at a time.
SVN revision: 24939
2006-08-20 16:57:02 +00:00
moom a2bf3d8a6d * [Entry] Double click on the entry selects all the text of the entry
SVN revision: 24935
2006-08-20 12:51:56 +00:00
moom e2666fbd29 * [Entry] You can now paste some text in the entry
SVN revision: 24934
2006-08-20 12:27:33 +00:00
moom 98fad6cec2 * [Entry] Fix the blinking of the cursor
* [Entry] Support Copy/Cut. Paste will come later


SVN revision: 24933
2006-08-20 09:48:13 +00:00
Carsten Haitzler 683366ce0e fix some env vars to use namespacing
SVN revision: 24930
2006-08-20 08:22:19 +00:00
Carsten Haitzler 90c133e32f fixingup of pointer code to fallback a bit simpler - on demand buffer canvas
creation now and deletion - and entry widget displays "entry" cursor :)


SVN revision: 24928
2006-08-20 06:42:20 +00:00
David Walter Seikel 28a1a8bf34 Paranoid NULL checking added due to a report of crashes. May simply move
the crash to later.  Let's see if this at least allows the dialog to
appear, which can give us more clues.


SVN revision: 24926
2006-08-20 05:30:42 +00:00
Carsten Haitzler 0a5e26b82b jamse brown ... errr... gadman is dead.
basically if moduels wish to put objects on a desktop - they now will have to
DIY and look after themselves. until we have gadcons with "free" layout that
do similar stuff - but this simply means module authors need to d a bit more
work. gadman code is unmaintained and a burden - thus removed.

also borders and e_win's have their own pointers now - this should nuke the
stuck pointer bug... :)


SVN revision: 24925
2006-08-20 04:48:27 +00:00
David Walter Seikel 770820eee8 New icon theme config dialog. It doesn't actually save the config yet,
and it could benefit from the general ecore_desktop caching I will write
soon.  Not so happy about the information display in the top right
corner, if anybody has a better idea, feel free to change it or let me
know.


SVN revision: 24923
2006-08-20 03:51:54 +00:00
Carsten Haitzler 2286040067 add win get call!
SVN revision: 24920
2006-08-20 03:39:48 +00:00
moom b2e1c43afd * [Editable] Improve e_editable_char_size_get()
* [Entry] Prepares the entry for copy/paste support but it's just not
possible for now


SVN revision: 24918
2006-08-19 20:29:02 +00:00
moom dfadc0db60 [Entry] Make the cursor blink in the theme, not in the code
SVN revision: 24915
2006-08-19 19:08:09 +00:00
moom b29fb56b1c * Make the text of the entry themable
SVN revision: 24914
2006-08-19 18:26:07 +00:00
Carsten Haitzler 853ee8330d add more mime type locations - but this is bad - where do we stop?
SVN revision: 24911
2006-08-19 15:18:00 +00:00
moom d639384111 * [Editable] remove e_entry_selectable_get/set() because it's useless
* [Editable] small fixes


SVN revision: 24908
2006-08-19 13:53:32 +00:00
codewarrior 12cc414daa battery hasnt been working on my fbsd laptop for a couple monthes, couldnt be bothered fixing, just did.
SVN revision: 24901
2006-08-19 09:07:33 +00:00
Carsten Haitzler 9a2ccd1e64 case insensitive match.
SVN revision: 24895
2006-08-19 02:00:14 +00:00
Carsten Haitzler b4109940bd use new load opts for e_thumb. 1 line of code... and we get epeg-like speeds
:) yay!


SVN revision: 24894
2006-08-19 01:50:20 +00:00
David Walter Seikel e2d14dc0a0 Now uses e_app_icon_add() to add the icon, thus it will keep up in the
future with any changes in the way icons are added.


SVN revision: 24888
2006-08-18 23:45:06 +00:00
Carsten Haitzler 2f5a254684 recover might be nicer a term
SVN revision: 24872
2006-08-18 15:07:37 +00:00
Carsten Haitzler 0ebb4ff82a track client #'s differently
SVN revision: 24870
2006-08-18 14:48:22 +00:00
Carsten Haitzler 575be5b0f2 add xpm and svg thumb loading for fm2
SVN revision: 24854
2006-08-17 23:33:15 +00:00
sebastid ca100ffb47 const
SVN revision: 24837
2006-08-17 17:01:11 +00:00
sebastid 19bbe60f7e - const
- remove unused variables
- better parameter names


SVN revision: 24836
2006-08-17 16:58:32 +00:00
Carsten Haitzler 654258879e add refcounr/is_del check before generating event
SVN revision: 24826
2006-08-16 23:12:03 +00:00
Carsten Haitzler 065b510919 theme selector now uses fm2 :)
SVN revision: 24799
2006-08-16 12:24:23 +00:00
David Walter Seikel 3d29c9caf7 Actually display the FDO icons referenced from the FDO .desktop files.
Theme icons and .eaps are searched first.

Still needs some work and a lot of testing.  Also needs optimising,
which will come when I go over the caching code later.

Ibar and ibox modules read the .eap directly, so I need to convert them
seperately.

Next I'll spend some time with valgrind, things are leaking.


SVN revision: 24795
2006-08-16 09:37:14 +00:00
Carsten Haitzler 37241926bc compile again
bad rephorm!


SVN revision: 24791
2006-08-16 08:06:31 +00:00
Carsten Haitzler 97d45e415b fix leak
SVN revision: 24789
2006-08-16 06:10:30 +00:00
rephorm adec025044 oops.
SVN revision: 24787
2006-08-16 05:29:53 +00:00
rephorm ef000e979f formatting, EAPI and add a copy function
SVN revision: 24786
2006-08-16 04:43:57 +00:00
rephorm e78c1143fe formatting, EAPI and add a copy function
SVN revision: 24785
2006-08-16 04:43:20 +00:00
rephorm b8ef0f8089 Nuke old unused gadget code.
SVN revision: 24781
2006-08-16 01:09:34 +00:00
sebastid d3c17b77bf Add return value.
Free e objects with e_object_del


SVN revision: 24768
2006-08-15 20:23:26 +00:00
sebastid 5d1b63007e SIG_DFL is a handler, not a sigaction
SVN revision: 24766
2006-08-15 20:20:33 +00:00
sebastid 6cb39ba7a3 Use const char with stringshare.
SVN revision: 24765
2006-08-15 20:17:19 +00:00
sebastid de87b8a588 Correct function definitions.
SVN revision: 24764
2006-08-15 20:14:56 +00:00
sebastid b6531ca78a Formatting
SVN revision: 24761
2006-08-15 19:36:21 +00:00
Carsten Haitzler 6a51472e1b simplify wallpaper dialog down to 1 list - and a radio toggle to flip sources.
SVN revision: 24739
2006-08-15 13:16:52 +00:00
Carsten Haitzler a968d95798 and now work right - atomic save
SVN revision: 24731
2006-08-15 06:59:55 +00:00
Carsten Haitzler 20a1d9b0a4 config wites are atomic - either all or nothing. if nothing - u keep your old
config.


SVN revision: 24730
2006-08-15 06:47:22 +00:00
titan eb49750bf0 This fixes it completely.
SVN revision: 24720
2006-08-15 01:43:00 +00:00
titan 12807ddb0f Fix the segaroonie
SVN revision: 24719
2006-08-15 01:37:00 +00:00
rephorm 4fa321e99b more csel work. theme it up a bit.
SVN revision: 24717
2006-08-15 00:54:33 +00:00
rephorm cfb5be331f cleanups
SVN revision: 24714
2006-08-14 23:30:32 +00:00
David Walter Seikel b228d7f10d .desktop files supported in .order files now. Full path to .desktop file
required at the moment.

Not fully completed yet.  No icons, probably not fully integrated into
the current cache mechanism.  Some parts may not be entirely correct.

I gotta get some sleep soon, so I'm committing it now, and I'll double
check by updating everything after it's all checked in.

Works for me. (tm)  B-)


SVN revision: 24712
2006-08-14 21:56:13 +00:00
sebastid 18fc9ca266 Use Ecore_Timer for timer.
SVN revision: 24701
2006-08-14 20:08:33 +00:00
titan 4b7adb57f8 Whoops. Lets not allow these quite yet :) Need to get the packing of the preview working first.
SVN revision: 24697
2006-08-14 17:48:52 +00:00
titan d0b007519f Authors++
Allow an e_thumb api for e_widget_preview.
Fixup the file selector preview to use this new api.


SVN revision: 24696
2006-08-14 17:42:45 +00:00
Carsten Haitzler 5e0a3ad149 formatting - and remove dead code. hinting dialog not used anymore.
SVN revision: 24692
2006-08-14 15:28:44 +00:00
Carsten Haitzler a9e7340190 you're all goign to kill me :) but here goes - i broke the dialog and config
dialog api's - added name and class params so u can set the name and class -
so users can later use things like rememebr to rememebr where a dialog will
go for usability and convenience.


SVN revision: 24691
2006-08-14 15:22:46 +00:00
Carsten Haitzler ba4555a3f2 fix cfg #
SVN revision: 24683
2006-08-14 11:24:45 +00:00
Carsten Haitzler f717fa75db allw filechooser to be remembered (give it its own name/class so it can be
unique) and have the import dialog rememebr its last dir.


SVN revision: 24682
2006-08-14 11:08:40 +00:00
rephorm ce206f330e make csel a proper widget instead of just a wrapper around table.
pass in a color struct to update
(use the change hook to know when changes have occured)

use a short timer instead of an idler to update the spectrum image data
  -- ideally, we would add a pre/post render hooks for smart objects. then we could redraw int he pre-render callback.


SVN revision: 24676
2006-08-14 07:05:31 +00:00
rephorm 4d0d5bb122 move spectrum redraw to an idler so it gets called at most once per render.
no more performance issue there... :)


SVN revision: 24671
2006-08-14 05:21:16 +00:00
rephorm d7792a9270 Start of a color selector.
Change the last test in e_test.c to #if 1 to play.

Issues:
  Redrawing the H,S and V spectra is a bit slow. Needs to be optimized.

  Spacing / Sizing of the various pieces of the csel widget needs to be cleaned up a bit.

  I haven't actually themed anything yet. Just some fairly basic place holders to get it working. We should wrap each piece in shadowed cutout graphic, and make fancier cursors.

  A color well widget
    - show the currently selected color
    - allows dnd of colors (this probably requires some reworking of ecore selection code)

For anyone wanting to play with this, a single E_Color struct is used by all parts of the selector, preventing the need to copy values around. This includes RGB *and* HSV values since the two spaces aren't 1:1.


SVN revision: 24669
2006-08-14 04:38:49 +00:00
titan 35709e2595 Formatting
SVN revision: 24657
2006-08-13 21:58:55 +00:00
Carsten Haitzler e9a326979f fix centered import
SVN revision: 24640
2006-08-13 10:00:49 +00:00
titan 8baf094422 Fix the Modified time to be logical.
SVN revision: 24636
2006-08-13 06:51:33 +00:00
Carsten Haitzler da1b04a761 right mose menu now has refresh - so dont block it on read-only dirs. just
limti contents


SVN revision: 24634
2006-08-13 05:39:42 +00:00
Carsten Haitzler d7bb8c1942 module version bump. fm right click menu lets tou create directories and
refresh a view manually now.


SVN revision: 24633
2006-08-13 05:33:15 +00:00
titan 36f4866415 More preview work. It is nearly complete.
SVN revision: 24632
2006-08-13 05:00:16 +00:00
Carsten Haitzler 2327da3abd focusout patch from sthitha
SVN revision: 24629
2006-08-13 03:37:23 +00:00
Carsten Haitzler 6d8bcc9c09 white bg for center and aspect in bg gen
SVN revision: 24628
2006-08-13 03:17:34 +00:00
titan a9c8acf505 Get the things that use fsel to keep from breaking with the new preview api. Also a fix or two for the simple scrollframe.
SVN revision: 24627
2006-08-13 02:51:34 +00:00
titan ef2878c058 Get preview code into cvs. You will not see it yet.
SVN revision: 24626
2006-08-13 02:49:54 +00:00
Carsten Haitzler 2c0daf0b4b simplify quality/perfect settings
SVN revision: 24624
2006-08-13 02:40:11 +00:00
Carsten Haitzler 8c6a58c6f2 text changes
SVN revision: 24618
2006-08-12 23:40:26 +00:00
titan 4ea851c46a Add a new api for a simple scrollframe that manages pans size on its own.
SVN revision: 24617
2006-08-12 21:53:26 +00:00
moom bcaccdb0b0 * [Entry] The selection and the cursor are now themable. The text
is still hardcoded though
* [Entry] Fix some behaviour bugs


SVN revision: 24615
2006-08-12 20:51:29 +00:00
Carsten Haitzler 0e47c981da use E_FREE
SVN revision: 24596
2006-08-12 14:27:52 +00:00
Carsten Haitzler 6d95af5b9c fix possible bus error...
SVN revision: 24595
2006-08-12 14:19:03 +00:00
Carsten Haitzler 2347134657 not as tall by default. (fit in 640x480)
SVN revision: 24594
2006-08-12 13:53:29 +00:00
Carsten Haitzler cd537d08b4 dont ask for other stack for signal handlers
SVN revision: 24593
2006-08-12 13:26:25 +00:00
Carsten Haitzler f56f6cae67 * desklock personal password disabled - security risk.
* desklock tries other comon pam profiles first that are more appropriate
* xrandr detect actually pops up the "no xrandr" dialog now


SVN revision: 24592
2006-08-12 13:25:29 +00:00
sebastid 33ffd2cad8 - Ignore all move/resize events.
- Free text.
- Formatting.


SVN revision: 24591
2006-08-12 13:22:48 +00:00
Carsten Haitzler d104992051 * border property patch - dont generate on moves
* entry dialog becomes object - supports initial text contents of the entry
* fm2 gets menu patch (heavily worked so its safe) so u can delete and rename
files (and dirs) that you have permission to do so with.
* picutre importing disables or enables the scale and encoding stuff
depending on what is selected
* more widgets support enable/disable
* importer detects duaplicate destination target filenames and tries
alternate names.
* fsel widget displays extensions by default.
* test filemanager menu gone
* pants on!


SVN revision: 24589
2006-08-12 12:49:52 +00:00
moom 1b34e1f692 * Add password mode to the entry
SVN revision: 24586
2006-08-12 12:21:32 +00:00
moom 4eddbf00ca * Rewrite the entry widget
It is now splitted in 3 files:
 - e_editable.c that implements a generic single-line editable object
that could be used later by other widgets such as the slider or a
spinner.
 - e_entry.c that implements an entry smart object using an editable
object.
 - e_widget_entry.c that embeds an entry smart object in a widget.

So far, text insertion and deletion have been implemented. It also
supports cursor movement and mouse selection. The text also no longer
gets out of the bounds of the entry.

Things to come:
- Password mode
- Copy/Paste
- Make it actually themable, for now, the colors/font/style are
hardcoded


SVN revision: 24575
2006-08-11 21:48:18 +00:00
sebastid d53257dd3a Dnd window is very like a popup, maybe redo?
SVN revision: 24541
2006-08-10 18:02:33 +00:00
sebastid fe296600bb Xdnd files from fm to ibar works again.
SVN revision: 24540
2006-08-10 17:48:17 +00:00
sebastid 944f4feb5f Is guified.
SVN revision: 24535
2006-08-10 14:43:24 +00:00
sebastid 573911abdd Use better macro for checking point inside square.
SVN revision: 24534
2006-08-10 14:41:12 +00:00
sebastid d899722d58 Don't flip desks if the zone no longer is current.
SVN revision: 24533
2006-08-10 14:36:59 +00:00
sebastid 2efd79bd50 Don't bother if there is no file selected.
SVN revision: 24531
2006-08-10 13:29:59 +00:00
sebastid 5dc2de04ea FIXME++
SVN revision: 24530
2006-08-10 11:10:11 +00:00
sebastid 8f7cd587fc Stop flip timer on drag end.
SVN revision: 24529
2006-08-10 11:04:13 +00:00
Stafford Mitchell Horne 45cce921c8 Added more advanced edge flipping configurations. This will reset the edge flip
configuration so some people may need to reconfigure it int Desktop Settings.


SVN revision: 24522
2006-08-10 05:01:07 +00:00
Carsten Haitzler 3704e4ee1b module icon updates
SVN revision: 24515
2006-08-09 19:34:34 +00:00
sebastid e2e2ee6630 Fix dnd shutdown.
SVN revision: 24514
2006-08-09 18:08:55 +00:00
sebastid 27e05aa5ad ecore_x_.*_ungrab -> e_grabinput_release
SVN revision: 24513
2006-08-09 17:45:43 +00:00
sebastid aa958ec9e7 Use e_grabinput_get
SVN revision: 24512
2006-08-09 17:42:31 +00:00
sebastid a915d00dc8 Use e_grabinput_get()
SVN revision: 24511
2006-08-09 17:40:41 +00:00
sebastid 9d81bc08ce Menu titles
SVN revision: 24507
2006-08-09 15:24:34 +00:00
sebastid a9df9076db Enough to keep track of active menu item.
SVN revision: 24506
2006-08-09 13:56:23 +00:00
sebastid 9d4a400dcc Keep track of active menu and active menu item.
SVN revision: 24505
2006-08-09 13:52:52 +00:00
sebastid 0faf746d4c formatting
SVN revision: 24503
2006-08-09 11:07:44 +00:00
essiene e4b80ce483 Update core modules to use new default view settings
SVN revision: 24493
2006-08-09 06:38:35 +00:00
essiene 26abf12032 * $XXX [xxxxxxxxxx] default view (plain or inset) of a gadget should be able to be
specified by the gadcon client so when it is added it can also supply an initial style mode.

This first commit, sets up the infrastructure. See the collab mail describing how this works. The next patch shall simply update the core modules to use this. Then comes the modules in e_modules


SVN revision: 24491
2006-08-09 06:08:36 +00:00
Carsten Haitzler 5c5c3721bb fix flip for xinerama
SVN revision: 24489
2006-08-09 04:38:32 +00:00
Carsten Haitzler 8a13f4c078 much improved importer - not done yet...
SVN revision: 24481
2006-08-08 20:41:46 +00:00
Carsten Haitzler 12c31b99bf fix thumb display race cond
SVN revision: 24468
2006-08-08 11:16:19 +00:00
titan 37d43be544 Whoops I was resizing wrong. This is the correct resize.
SVN revision: 24466
2006-08-08 06:21:22 +00:00
sebastid 800ba0cc79 Join strings into malloc
SVN revision: 24459
2006-08-08 02:00:13 +00:00
sebastid 904af4dfdc Remove old comment
SVN revision: 24458
2006-08-08 01:46:41 +00:00
sebastid a3923dc195 Keep track of number of clients.
SVN revision: 24457
2006-08-08 01:34:49 +00:00
sebastid 8a918c5e32 Move parsing of maximize string to own func.
SVN revision: 24456
2006-08-08 01:28:06 +00:00
sebastid 6027cd3d4c Fix dock maximize.
SVN revision: 24452
2006-08-08 00:00:41 +00:00
Carsten Haitzler a951cbcc10 some more comments
SVN revision: 24446
2006-08-07 20:30:10 +00:00
Carsten Haitzler 9266f27f0f aaah....
first a few patches - authors mailed.

then - bg selector work. and a few sample bg's. system bg's dir and user bg
dir - new bg dialog should also handle multihead simply too. picture select
button does work - but its only as smart as the old one (the code was built
off the old one). that needs a little work, but now the bg selector is fast
and slick - comes up instantly. resiable too.


SVN revision: 24443
2006-08-07 20:25:34 +00:00
Carsten Haitzler d4206d7efc be less rememebr write happy
SVN revision: 24431
2006-08-06 15:14:09 +00:00
sebastid db452b14ac Fix warnings.
SVN revision: 24421
2006-08-06 02:21:07 +00:00
sebastid 359394687e Silence warning
SVN revision: 24420
2006-08-06 02:16:18 +00:00
sebastid 71194399af Fix return value.
Fix pointer advance.


SVN revision: 24419
2006-08-06 02:15:14 +00:00
sndev 5ddaf123dd * no need to disable the "Add" button after the gadget was added. If I want consequently
add the same gadget more than once I need to do too much mouse acions.

* no need to disable the "Delete" button. The reasoning is the same.


SVN revision: 24379
2006-08-03 15:35:38 +00:00
sebastid d9f94ab5e3 Remove double if check
SVN revision: 24373
2006-08-03 02:05:33 +00:00
Stafford Mitchell Horne 2013e59c89 Allow the icon to be clicked by passing events. Why was this not done before?
SVN revision: 24357
2006-08-02 04:40:46 +00:00
Stafford Mitchell Horne 87fc3463be Fix ipc memleak, found when testing -dirs-list
SVN revision: 24343
2006-08-01 04:54:12 +00:00
Stafford Mitchell Horne b6876ff502 Don't actually make path changes until someone hits apply
SVN revision: 24340
2006-08-01 04:26:09 +00:00
Carsten Haitzler 87f257bb30 more paranoid memset 0 of desklock passwd (and comment them) - this way once
you have authed your passwd wil not live on in memmory 1 cycle longer than it
needs to to get the pam auth done. security nuts shoudl be happy with that.
still need to fix the personal password though...


SVN revision: 24339
2006-08-01 04:14:34 +00:00
Christopher Michael e23e558046 Big Cleanup for Startup Config Dialog.
-use E_FREE rather than free() to eliminate dangling pointers.
    -get current zone once and reuse, rather than getting more than once.
    -Removed unused/unneeded variables.


SVN revision: 24338
2006-08-01 02:42:44 +00:00
Stafford Mitchell Horne 7a36021e70 Work on background settings bugs
* Persist the config changes.
 * Todo++


SVN revision: 24334
2006-07-31 18:31:11 +00:00
Carsten Haitzler 5dbd7795ad old image object is deleted - old canvas. re-create it.
SVN revision: 24333
2006-07-31 18:21:48 +00:00
Carsten Haitzler bcce7b2397 detect crashes at startup or early and enable "safe mode" so if you hit
restart e will not load modules - maybe safe mode should also restore default
theme and other things too later...


SVN revision: 24321
2006-07-30 19:34:05 +00:00
Carsten Haitzler f8f31a59c2 add mime type parser for system mime types (old mime.types and new xdg shared
mimeinfo) as well as pasring user versions of thoses files - use them in fm2.


SVN revision: 24317
2006-07-30 16:58:38 +00:00
Stafford Mitchell Horne 3942b7e618 Be able to turn basic settings off
SVN revision: 24303
2006-07-29 19:00:30 +00:00
Stafford Mitchell Horne 3c02185408 Check for locks when the mouse goes down on a pager_window. If the lock
is there ignore the event to move it.
todo--


SVN revision: 24302
2006-07-29 18:38:12 +00:00
Carsten Haitzler 5630b069c1 add an overlay object to the fm and use it to display a busy indicator with
file count


SVN revision: 24300
2006-07-29 16:27:54 +00:00
Christopher Michael 9a1e00ed32 If a window is resized manually when maximized, unset the maximize state.
SVN revision: 24297
2006-07-29 15:09:53 +00:00
Carsten Haitzler b39f202fd7 several leak--
SVN revision: 24294
2006-07-29 10:05:34 +00:00
Carsten Haitzler dc231db9bb copy string bytes back safely
SVN revision: 24291
2006-07-29 09:47:54 +00:00
Carsten Haitzler 104b644327 todo++ - refinement of new fm work.
fm2 now is much better at handling massive dirs of files - my test case is
5400 files or so in a dir (all jpg's). it seems rather happy dealing with it
and doesnt lock up or hang or seem to have issues. it just plods along.


SVN revision: 24290
2006-07-29 09:28:50 +00:00
Carsten Haitzler 639ce66fb3 fm listing scales to much bigger dirs now... and remains interactive.
i need to add some form of indicator that it is still scanning the dir and
building the file list as its a little hard to tel that it's busy (but still
usable)


SVN revision: 24289
2006-07-29 09:26:18 +00:00
Viktor Kojouharov b8706da78d function for adding evas objects as icons in the menus
SVN revision: 24281
2006-07-28 23:22:57 +00:00
sebastid 64b234365b Eap editor now uses new fileselector. Please test it :)
SVN revision: 24277
2006-07-28 13:42:03 +00:00
sebastid ea2689ba93 The window border close is caught by the object del callback.
SVN revision: 24276
2006-07-28 13:06:12 +00:00
sebastid 7ff7e171a4 No // when browsing /
SVN revision: 24275
2006-07-28 12:02:38 +00:00
sebastid 86c6a15d8c use const char with evas_stringshare
SVN revision: 24274
2006-07-28 11:44:23 +00:00
sebastid aaefe4fb9b Fix declaration
SVN revision: 24273
2006-07-28 11:41:41 +00:00
sebastid aaea1b4bc1 Add return value
SVN revision: 24272
2006-07-28 11:37:55 +00:00
sebastid 8d2e09c7d7 Remove unused
SVN revision: 24271
2006-07-28 11:36:10 +00:00
sebastid 7353b24902 E style
SVN revision: 24270
2006-07-28 11:34:38 +00:00
sebastid 0b830fa639 Add return value.
Remove unused variable.


SVN revision: 24269
2006-07-28 11:33:43 +00:00
sebastid 3d1f519d17 Add return value
SVN revision: 24268
2006-07-28 11:31:50 +00:00
sebastid 8606459d74 Remove unused variable
SVN revision: 24267
2006-07-28 11:31:00 +00:00
sebastid 02d2993d17 strdup -> evas_stringshare
SVN revision: 24266
2006-07-28 11:27:59 +00:00
sebastid dbe9adc835 Fix maximize options
SVN revision: 24265
2006-07-28 11:17:33 +00:00
sebastid 85b5a557b9 Add a DEBUG define for debug functions.
Remove unused variable


SVN revision: 24264
2006-07-28 10:59:27 +00:00
sebastid 3efb09077b Remove unneeded function.
SVN revision: 24263
2006-07-28 10:56:21 +00:00
Carsten Haitzler a8a734f3ad formatting
SVN revision: 24262
2006-07-28 06:45:00 +00:00
Christopher Michael 34d49c4a24 Remove unused variable.
SVN revision: 24250
2006-07-27 22:40:51 +00:00
Carsten Haitzler 930e142f36 for really big files lists.. efm was being hyper-slow. i knwo why - and it's
fixed :) all hail a better sorting algorithm - incriemntal insertion quick sort
:) (or whatever you want to call it) and a little better "scheduling" in the
code :)


SVN revision: 24246
2006-07-27 19:29:16 +00:00
kiwi efd0e746fb now when you try to set an existing key binding, it tells you the name of the action associated with the binding
SVN revision: 24234
2006-07-27 13:55:36 +00:00
Christopher Michael 420b305add Function protos for new shelf additions.
SVN revision: 24230
2006-07-27 06:22:19 +00:00
Christopher Michael 71a88dcb52 Can now set shelf "style" without a restart. More will follow.
SVN revision: 24229
2006-07-27 06:21:56 +00:00
Christopher Michael ff0bd38928 Some convenience functions for setting shelf properties without restarting
the shelf.


SVN revision: 24228
2006-07-27 06:21:15 +00:00
Christopher Michael 04ac95cee8 Fix occasional problem that caused a shelf reload from config dialog to
reload the wrong shelf. It is possible to have shelf->id = 0 for first
shelf, so don't use list count for that one.


SVN revision: 24227
2006-07-27 05:13:30 +00:00
Christopher Michael be5784e9bd Avoid extra calls to e_shelf_config_init as it destroys and recreates all
shelves every time. Only call it on an add.


SVN revision: 24206
2006-07-26 19:10:20 +00:00
Christopher Michael 0b4260962c Window placement policy is doable in ipc already, update e_config to reflect.
SVN revision: 24203
2006-07-26 15:04:42 +00:00
Christopher Michael a4d36b4d94 Make flip work properly now. Tested ala raster's suggested method.
SVN revision: 24189
2006-07-25 09:54:30 +00:00
Christopher Michael 643d4da1f6 Cleanup: Fix return value of modapi_init
SVN revision: 24187
2006-07-25 04:15:11 +00:00
Christopher Michael 6e6240a23a Cleanup: Fix return value of modapi_init.
SVN revision: 24186
2006-07-25 04:11:41 +00:00
Christopher Michael a0f661695a Cleanup: Fix return value for modapi_init.
SVN revision: 24185
2006-07-25 04:09:41 +00:00
Christopher Michael 59a111c30c Change Flip to use checkbox with icons.
I cannot test this here as I have no "Flip", so the bit manip may need some
review.


SVN revision: 24183
2006-07-25 04:01:18 +00:00
Christopher Michael fab9ec5037 Add "Window Properties" icon.
SVN revision: 24181
2006-07-25 03:27:23 +00:00
Christopher Michael f696996503 Move "Close" away from the bottom of the menu. Placed below "Kill" now.
This removes a "Cleanups" item from todo.


SVN revision: 24178
2006-07-25 02:37:33 +00:00
Christopher Michael 9e7bd294b3 Remove sscanf totally. Much more reliable this way.
SVN revision: 24161
2006-07-24 18:10:01 +00:00
Christopher Michael 691a84e71d Oops. Fix sscanf usage.
SVN revision: 24160
2006-07-24 17:44:37 +00:00
Carsten Haitzler 697e0652ca add overclip so boneyfrog's theme visuals look nicer :)
SVN revision: 24158
2006-07-24 16:59:02 +00:00
Christopher Michael c9080663fc Fix shelf list config dialog to not segfault on delete.
Added null checks.
Uses sorted e_shelf_list.
Disable Delete/Config buttons until a shelf is selected.

There are still some issues with the shelf_config dialog itself tho. Seems
to sometimes change properties for the wrong shelf.


SVN revision: 24157
2006-07-24 16:32:34 +00:00
Carsten Haitzler 2c1fc18240 fix prefix problem if using env vars
SVN revision: 24154
2006-07-24 07:20:43 +00:00
Carsten Haitzler 10ffed6545 now THIS is cute -watch the thumbnails wobble when generated... or found
cached... most fun! let the power of edje be known! :)


SVN revision: 24150
2006-07-23 21:19:04 +00:00
Carsten Haitzler b9acc42122 bad raster! no coockie! fix segv - thanks valgrind
SVN revision: 24146
2006-07-23 14:05:39 +00:00
Christopher Michael d1060837ae Remove a debug printf.
Remove the _fill_data function as it was empty and not needed.


SVN revision: 24144
2006-07-23 13:45:43 +00:00
Christopher Michael d2354e60b3 Remove _cb_list function as it does nothing, so no point in calling it.
When getting the shelf via e_shelf_list we cannot rely on using the ilist
index as it may not coorespond to the shelf_list. Since ilist label uses the
shelf id, parse out the id and use that to get from e_shelf_list.


SVN revision: 24142
2006-07-23 13:36:48 +00:00
Carsten Haitzler 76203b826b 64 icons per region - fine tuning.
SVN revision: 24141
2006-07-23 12:14:06 +00:00
Carsten Haitzler a76ad453d9 stop nicing thumbnailer - little point.
SVN revision: 24140
2006-07-23 12:06:59 +00:00
Carsten Haitzler 14c920bdc1 1. add template files for favorites dir for file selector
2. lots of code on efm tomake it work well for file selection
3. a file selector widget with all the bits and pieces
4. first move - make wallpaper bg import tool use the new file selector -
it's a start.
5. pants on!


SVN revision: 24139
2006-07-23 11:22:13 +00:00
Carsten Haitzler 4376d882e1 fsel (file selector) widget... WOOT
SVN revision: 24138
2006-07-23 10:24:30 +00:00
Viktor Kojouharov 48b230924a make deskshow as a function. add an event for it
SVN revision: 24130
2006-07-22 22:25:04 +00:00
Carsten Haitzler b542518103 header proto missing - fix.
SVN revision: 24129
2006-07-22 21:49:39 +00:00
Carsten Haitzler 01efbd7683 and some major refinements of efm - the selector code - well its in e_test.c
is pretty much almost perfectly working. i have fixed up some e_thumb stuff
and allowed e_thumb to be more responsive and skip items that are known to be
"generated" and bring them ahead in the list of things to thumb - so kind of
a priority skiplist - process what it KNOWS will be already done first
quickly and leave the slower stuff until later. efm is fairly well refined
now - as above. the test selector works nicely. also added an almost-sha1
generator - use sha1 sums of the path for thumbs - less likelihood of
collisions. the prolbme is given the small size of the input data... it's
hard to do well - but anyway :)


SVN revision: 24128
2006-07-22 21:48:24 +00:00
Christopher Michael 03cca925e3 Remove some printfs.
SVN revision: 24126
2006-07-22 19:10:40 +00:00
Carsten Haitzler 27e2f3a0f9 fix long-standing table box - doesnt expand. not smart - but works. add
scrollframe widget. more fm work


SVN revision: 24112
2006-07-21 20:16:46 +00:00
Christopher Michael a8c7f5c9f3 Remove a printf as the "Remove from List" issue is fixed.
SVN revision: 24110
2006-07-21 17:28:15 +00:00
Carsten Haitzler d698e6cc34 some prefix fixes for env vars
SVN revision: 24104
2006-07-21 15:55:54 +00:00
Christopher Michael 59a61a6ef5 Fix minor bug on gadget remove. We need to call ilist_go after ilist_clear.
SVN revision: 24103
2006-07-21 15:19:54 +00:00
chaos 4b9eca0ca4 * And stop it crashing when a new shelf is added.
SVN revision: 24094
2006-07-21 05:41:24 +00:00
Viktor Kojouharov fdde0e6490 zone != desk. it was always about per desk deskshows, not per zone.
SVN revision: 24088
2006-07-21 00:46:40 +00:00
Carsten Haitzler 03f133c746 more fm work
SVN revision: 24084
2006-07-20 19:58:22 +00:00
Christopher Michael 9acfbd1810 *spank spank* null checks.
-Add null checks before using an Evas_Object, avoiding potential segfault(s).

-Check returns from evas_object_data_get() as it has potential to return
NULL, and previously if it did, E would segfault.


SVN revision: 24074
2006-07-20 15:39:27 +00:00
sebastid c5dd3b75a2 Always keep shelf list sorted on id.
SVN revision: 24070
2006-07-20 13:36:02 +00:00
sebastid 59eab7b36b - don't hide sticky window on set desktop.
- (un)stick children along with its parent.


SVN revision: 24068
2006-07-20 12:02:30 +00:00
sebastid bb34f754ae Only activate "Send to Desktop" when border isn't sticky.
SVN revision: 24067
2006-07-20 11:41:12 +00:00
sebastid 82cb151679 Don't register the empty eap on creation. Should be registered on save.
SVN revision: 24066
2006-07-20 11:24:28 +00:00
sebastid 73a6413bb0 Delete tmpfile after use.
SVN revision: 24065
2006-07-20 11:19:08 +00:00
sebastid f765174ec5 Reset eap image/width/height information after the edit is done.
SVN revision: 24064
2006-07-20 11:02:23 +00:00
Carsten Haitzler eba3d64663 more fm work - fix list append too
SVN revision: 24053
2006-07-19 19:38:29 +00:00
sebastid 630899ecb9 Save image as png
SVN revision: 24048
2006-07-19 14:15:21 +00:00
sebastid 21543b0891 Formatting
SVN revision: 24047
2006-07-19 13:44:32 +00:00
sebastid 4dbdc0ee15 This should be fixed.
SVN revision: 24046
2006-07-19 13:40:41 +00:00
sebastid 38677a8b72 FIXME++
SVN revision: 24045
2006-07-19 13:27:04 +00:00
sebastid 0ec2af42bd Save image from X icon works.
TODO
- Fix alpha on saved image
- If the eap isn't saved, remove the bd->app pointer
- Delete the saved image when done


SVN revision: 24044
2006-07-19 13:24:50 +00:00
sebastid 6291d46977 Save image from ARGB coming along. Not done yet.
SVN revision: 24043
2006-07-19 11:59:22 +00:00
sebastid 214d11f633 Don't use strlen to check for emtpy string
SVN revision: 24041
2006-07-19 11:05:31 +00:00
sebastid 457b86c2ce Function to save Ecore_X_Icon. To be used for saving ARGB icon before
creating eap.

Untested.


SVN revision: 24040
2006-07-19 01:39:43 +00:00
Carsten Haitzler 763f280367 plugh small logic hole that leaves ghost windows in rare cases - a very small
hole comapred to  the icccm badness in ecore_x. :)


SVN revision: 24033
2006-07-18 18:33:13 +00:00
sebastid e02e8432d0 Only regenerate the border if it really changes.
SVN revision: 24026
2006-07-18 13:35:08 +00:00
sebastid a5e57304b7 - fullscreen should have higher priority than user set border
- free bordername on exit


SVN revision: 24001
2006-07-17 20:34:20 +00:00
sebastid 95cead6ea7 Simplify.
SVN revision: 24000
2006-07-17 20:30:48 +00:00
Carsten Haitzler 4e697fefca 'mo fm work! :)
SVN revision: 23999
2006-07-17 19:51:37 +00:00
sebastid 321d641242 We need to remember the width and height without the border.
SVN revision: 23997
2006-07-17 19:34:08 +00:00
sebastid 065745cc6e Remember user set bordertype in own variable, and prefer it on border
change.


SVN revision: 23994
2006-07-17 19:04:01 +00:00
sebastid d4aa3c882f Cleanup
SVN revision: 23993
2006-07-17 19:02:42 +00:00
sebastid 2c792f6446 Correct fix for fullscreen border.
On fullscreen set window size to fullscreen and trigger border change. The
border change will remove the border on fullscreen and reset to the correct
border on unfullscreen, whilst keeping the correct border size and border
inset.

A similar change should also be done for maximized borders.


SVN revision: 23991
2006-07-17 18:46:05 +00:00
sndev e17acdd520 * New icon for the "Screen Lock" item in the E config panel.
SVN revision: 23990
2006-07-17 18:24:16 +00:00
Carsten Haitzler 20cbd3f3fe and more efm work....
SVN revision: 23984
2006-07-17 10:31:50 +00:00
sndev 7066205439 * Adding new "KEYS" icon for the E config panel and keybinding config dialog
SVN revision: 23976
2006-07-17 00:03:08 +00:00
David Walter Seikel b3d3da2674 .cvsignore++
SVN revision: 23973
2006-07-16 22:23:54 +00:00
Carsten Haitzler 1f2cd18d52 more e_fm work... slowly getting there...
SVN revision: 23970
2006-07-16 21:25:15 +00:00
Carsten Haitzler 19713696fa and the new fm code can single, multi and range select, optionally force
single select only... it can asl display icons and thumbnails (testing list
mode only atm).


SVN revision: 23966
2006-07-16 17:27:21 +00:00
Carsten Haitzler 12689c6176 the start of different display modes - just testing list mode...
SVN revision: 23957
2006-07-15 21:39:15 +00:00