Commit Graph

5017 Commits

Author SHA1 Message Date
Mike Blumenkrantz 4f563f20f3 tasks gadgets now respect skip_taskbar with greater alacrity
ticket #1681


SVN revision: 78529
2012-10-26 12:34:37 +00:00
Mike Blumenkrantz 133d4db5f4 we're only gonna have one taskbar item per border so break here
SVN revision: 78527
2012-10-26 12:23:33 +00:00
Mike Blumenkrantz 45e0a1bb59 create gadman gadcons after module init is over to avoid re-creating all the gadcons repeatedly during init; speeds up init quite a bit and inadvertently fixes ticket #1685
SVN revision: 78526
2012-10-26 12:13:53 +00:00
Mike Blumenkrantz 303a69346a fix crash in battery gadget when deleting a gadget after module has been unloaded (possible if gadget is in edit mode)
SVN revision: 78523
2012-10-26 11:43:07 +00:00
Mike Blumenkrantz 03b8d16952 clamp shots to correct geometry to prevent SIGFPE which hopefully nobody noticed
SVN revision: 78521
2012-10-26 10:45:24 +00:00
Mike Blumenkrantz b17f560116 fix taking window shots when window is partially offscreen by clamping shot to screen geometry
ticket #1667


SVN revision: 78519
2012-10-26 10:33:22 +00:00
Vincent Torri 0ab16599d4 E17: some gettext stuff
Patch by Maxime Villard (rustyBSD)


SVN revision: 78470
2012-10-25 17:47:03 +00:00
Mike Blumenkrantz 8ba9451fab fix yet another comp bug provided to us by the masters of graphics, the sultans of sweet interfaces, the...gtk developers
ticket #1558


SVN revision: 78455
2012-10-25 13:47:20 +00:00
Mike Blumenkrantz a5ee3fc4b3 patch from PrinceAMD for #1680
SVN revision: 78452
2012-10-25 13:00:12 +00:00
Mike Blumenkrantz 6fc12d62d1 given all the theme work going on, I figured it was probably a good idea to shorten the process of changing themes
SVN revision: 78451
2012-10-25 12:47:01 +00:00
Mike Blumenkrantz c4c1d43cec ss ref here
SVN revision: 78450
2012-10-25 12:24:29 +00:00
Mike Blumenkrantz 90299ad93b this was clearly wrong, not sure how I didn't catch it sooner
SVN revision: 78448
2012-10-25 11:50:38 +00:00
Mike Blumenkrantz bc4d8ead3a fix efm open with dialog to properly account for cases where the desktop file id is not able to be found
ticket #1664


SVN revision: 78444
2012-10-25 11:29:22 +00:00
Mike Blumenkrantz c30d8d1a0b Navigate menu now tells you when there are no listable items
ticket #1682


SVN revision: 78433
2012-10-25 09:35:09 +00:00
Mike Blumenkrantz 1901f43c35 s/Specific/Suggested/
SVN revision: 78431
2012-10-25 09:29:26 +00:00
Mike Blumenkrantz cc6678bb58 BY THE POWER OF GRAYSKULL, MIXER MODULE NOW WORKS AGAIN WITH PULSEAUDIO
ticket #1651


SVN revision: 78426
2012-10-25 08:12:44 +00:00
Mike Blumenkrantz 83e085a58e fix sidebar frame
ticket #1654


SVN revision: 78418
2012-10-25 07:17:10 +00:00
Christopher Michael 222c3326fd E Randr: Don't show outputs which are not connected.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 78388
2012-10-24 06:28:01 +00:00
Carsten Haitzler af8c2a2c5f pass on oreintation of gadon to start icon edje obj.
SVN revision: 78372
2012-10-23 14:56:02 +00:00
Cedric BAIL 3eb84632cd e: use EINA_LIST_FOREACH for clarity.
SVN revision: 78246
2012-10-19 10:58:20 +00:00
Christopher Michael 00fb03ce4c E (RandR): Remove unused function & prototype.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 78188
2012-10-18 13:00:48 +00:00
Christopher Michael 461c733145 E (RandR): Use a "normal" resolution (640x480) not (640x640).
Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 78187
2012-10-18 12:59:44 +00:00
Christopher Michael 4a09315601 E (RandR): Better monitor movement/snapping.
NB: Still not 100%. There are some corner cases where things fall
through :( If someone wants to jump in and help finish this off, that
would be great :) It's very close to being done.

Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 78186
2012-10-18 12:59:32 +00:00
Mike Blumenkrantz 46d2653dbc e dnd xds handler now passes type string param as well as data
SVN revision: 78157
2012-10-18 08:04:03 +00:00
Mike Blumenkrantz e01c5b9946 don't add gadman desktop menu item if it already exists
ticket #1641


SVN revision: 78151
2012-10-18 07:33:55 +00:00
Bruno Dilly 325c340060 e/physics: fix render geometry set
SVN revision: 78018
2012-10-15 21:55:14 +00:00
Carsten Haitzler c824b1a1e1 fix segv's in randr dialog. :)
SVN revision: 77943
2012-10-13 03:18:58 +00:00
Christopher Michael cd0ad11fa8 E (RandR): After we have applied the changes for a monitor, tell it to
'reset'.

Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 77891
2012-10-11 14:29:20 +00:00
Christopher Michael 44a95f2797 E (RandR): Add function to 'reset' a monitor's changes. This is used
after any user modifications have been applied so that we an reset the
'original' values to the 'currently applied' values. This helps to
keep the Apply button in sync.

Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 77890
2012-10-11 14:29:17 +00:00
Christopher Michael c063ed25ac E (RandR): Add function prototype to reset monitor changes.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 77889
2012-10-11 14:29:13 +00:00
Christopher Michael 39bb5b2bbd E (RandR): Skip monitor during apply if no changes were made.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 77888
2012-10-11 14:29:10 +00:00
Christopher Michael 79339fb431 E (RandR): Remove dead code lines.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 77887
2012-10-11 14:29:07 +00:00
Christopher Michael 1756c3de92 E (RandR): Remove dead comment.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 77886
2012-10-11 14:29:04 +00:00
Christopher Michael e0bb649b07 E (RandR): Reduce potential variable usage in geometry_get function.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 77885
2012-10-11 14:29:01 +00:00
Christopher Michael 931a9f4d05 E (RandR): Remove dead code line.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 77884
2012-10-11 14:28:58 +00:00
Christopher Michael 24d5040564 E (RandR): If we have a crtc when getting monitor geometry, then use
that for width & height.

Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 77883
2012-10-11 14:28:51 +00:00
Christopher Michael 62644089e9 E (RandR): Setup defaults before we assign output & crtc.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 77882
2012-10-11 13:51:39 +00:00
Christopher Michael c9edc0c734 E (RandR): If the monitor does not have a CRTC because it was
disabled, try to find an available one so that we can re-enable the
monitor.

Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 77881
2012-10-11 13:51:33 +00:00
Mike Blumenkrantz 6134584e47 formatting for seb
SVN revision: 77880
2012-10-11 13:23:14 +00:00
Christopher Michael bc3d8d18e2 E (RandR): Fix case where a disabled monitor would show up with no
mode, or size.

Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 77879
2012-10-11 13:01:04 +00:00
Mike Blumenkrantz c094541aef patch from PrinceAMD which adds config options to warp lost windows back to center screen when enabled
video: http://dl.dropbox.com/u/7371269/lost_window_feature_2.ogv


SVN revision: 77878
2012-10-11 12:53:15 +00:00
Christopher Michael 888e820aca E (RandR): Remove dead debug code. Reenable crtc check to avoid
potential segv.

Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 77877
2012-10-11 12:49:47 +00:00
Christopher Michael 33952ef188 E (RandR): Remove dead debug code.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 77876
2012-10-11 12:49:44 +00:00
Christopher Michael 6e89ed1e0c E (RandR): Rework Applying the randr settings. Now we will only need
to apply what has changed.

Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 77874
2012-10-11 12:42:40 +00:00
Christopher Michael c59e752325 E (RandR): Add function to get if randr widget changed.
Rework the "changed" code so that now Apply will enable/disable
correctly based on what changes are in the monitors.

Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 77873
2012-10-11 12:42:37 +00:00
Christopher Michael f7ee5261b9 E (RandR): Add function prototype to get if randr widget changed.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 77872
2012-10-11 12:42:34 +00:00
Christopher Michael 71eeb7c458 E (RandR): Whitespace removal.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 77871
2012-10-11 12:42:31 +00:00
Christopher Michael e005f0d4bf E (RandR): Add some internal functions to reduce duplicated code
(background set, modes_fill, etc.
Add structure to smart_data so we can store original values and
current values. This allows us to selectively apply changes.

Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 77870
2012-10-11 12:42:29 +00:00
Christopher Michael 21bf9173f5 E (RandR): Add function prototype to get any changes from the monitor.
Add enum so that we can keep track of exactly what has changed.

Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 77869
2012-10-11 12:42:26 +00:00
Christopher Michael f4cc7d989d E (RandR): Use monitor function to get proper output.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 77868
2012-10-11 12:42:23 +00:00
Christopher Michael 23fb072172 E (RandR): Add function to retrieve monitor's output.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 77867
2012-10-11 12:42:20 +00:00
Christopher Michael 2ab321cf3b E (RandR): Add function prototype to retrieve monitor's output.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 77866
2012-10-11 12:42:00 +00:00
Mike Blumenkrantz 9aa8b5ef5d efm navbar path buttons now happily accept dnding files
part of ticket #1603


SVN revision: 77865
2012-10-11 12:27:51 +00:00
Mike Blumenkrantz a4bc0fb8f7 refresh desktop icons only when they actually need to be refreshed so we don't refresh every time someone adds a gadget to a shelf
SVN revision: 77849
2012-10-11 08:03:19 +00:00
Bruno Dilly efdc2ebef0 e/physics: fixed to match ephysics API changes
SVN revision: 77788
2012-10-10 19:19:50 +00:00
Bruno Dilly e43fb4753d e/physics: shutdown ephysics
SVN revision: 77787
2012-10-10 19:19:42 +00:00
Christopher Michael 01edd96d74 E (RandR): Fix issue where disabled monitors would not show up
correctly.

Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 77761
2012-10-10 12:59:56 +00:00
Christopher Michael dbc528c0f9 E (RandR): Create monitors based on outputs, not crtcs.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 77760
2012-10-10 12:59:53 +00:00
Mike Blumenkrantz 282395b871 use function pointer typedef
SVN revision: 77757
2012-10-10 12:36:43 +00:00
Christopher Michael 18432a087c E (RandR): Add checks for current_mode being valid.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 77747
2012-10-10 10:31:17 +00:00
Christopher Michael 9fa4848a0e E (RandR): Don't segfault if no current_mode is set for a monitor.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 77746
2012-10-10 10:29:09 +00:00
Mike Blumenkrantz e6dc43325e when zone moves/resizes, re-create desktop icons on that zone to prevent scrollbars from showing up when scrollframe resizes incorrectly
SVN revision: 77745
2012-10-10 10:28:08 +00:00
Christopher Michael 596d53e06a E (RandR): Limit size of livethumb to be the maximum canvas size of
the monitor object. (should reduce memory footprint for randr dialog).

Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 77744
2012-10-10 10:23:33 +00:00
Christopher Michael fed73888f6 E (RandR): Make sure we have hTotal and vTotal from the mode before
trying to calculate refresh rate.

Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 77743
2012-10-10 10:10:25 +00:00
Carsten Haitzler cd7d8a6287 compile with efl 1.7
SVN revision: 77737
2012-10-10 09:35:42 +00:00
Mike Blumenkrantz b8677593fc remove all LD_LIBRARY_PATH shenanigans from e17
ticket #1542


SVN revision: 77735
2012-10-10 09:27:24 +00:00
Mike Blumenkrantz f8717d093c don't listen to e kbd layout change event, only watch global event. also don't update gadget icons repeatedly or change them if re-setting current layout
SVN revision: 77729
2012-10-10 09:07:25 +00:00
Christopher Michael 5d376283c9 E (RandR): Ooops, remove unused variable.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 77726
2012-10-10 08:46:07 +00:00
Mike Blumenkrantz 03163e199e simplify some xkb updating
SVN revision: 77725
2012-10-10 08:45:43 +00:00
Christopher Michael 3db9434a48 E (RandR): When we search for a resolution, if we did not find one
which matched the existing refresh rate, then search again but do not
take refresh rate into account.

NB: Should fix Raster's "resolution not changing" problem.

Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 77724
2012-10-10 08:45:00 +00:00
Christopher Michael 236117cd86 E (RandR): Do not 'snap' monitors on rotation. It changes the position
of them in the layout and thus causes problems when we Apply these
changes.

Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 77720
2012-10-10 08:14:20 +00:00
Mike Blumenkrantz 09fb8b7da5 whoops, forgot to remove original default layout add code
SVN revision: 77718
2012-10-10 08:04:46 +00:00
Mike Blumenkrantz 20c1c1a4c7 change this null check to a safety check
SVN revision: 77717
2012-10-10 08:04:26 +00:00
Christopher Michael cc188bee3a E (RandR): Check if a monitor has been changed before doing an Apply.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 77715
2012-10-10 07:55:13 +00:00
Christopher Michael 136cc5035a E (RandR): Add function & prototype to return if a monitor has been
changed.

Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 77714
2012-10-10 07:55:11 +00:00
Christopher Michael 5347a339b3 E (RandR): Actually, let's readd the changed flag so we can skip a
monitor during Apply if it has not changed.

Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 77713
2012-10-10 07:55:08 +00:00
Christopher Michael 8b5d261d50 E (RandR): Remove dead code.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 77712
2012-10-10 07:55:06 +00:00
Christopher Michael b10d7e3c9a E (RandR): Remove dead code.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 77711
2012-10-10 07:55:03 +00:00
Christopher Michael 98a5532b44 E (RandR): Support applying enable/disable of a monitor.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 77710
2012-10-10 07:55:00 +00:00
Christopher Michael c646c7de26 E (RandR): Add function to return monitor's connected state.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 77709
2012-10-10 07:54:57 +00:00
Christopher Michael f2d5c58121 E (RandR): Add function prototype for getting monitor's connected state.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 77708
2012-10-10 07:54:48 +00:00
Mike Blumenkrantz 489b92f25c break out xkb default model creation with error message to assist in finding this damn bug
SVN revision: 77707
2012-10-10 07:47:29 +00:00
Christopher Michael 8ff992b7a7 E (RandR): Remove _fill_data function (not needed). Implement Applying
of any changes to monitors.

NB: Be careful ... this will actually apply any changes now. Tested
here and appears to work ok, but YOU HAVE BEEN WARNED !!! If you apply
something and it turns your monitor into a paperweight, don't cry to me.

Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 77693
2012-10-10 06:20:41 +00:00
Christopher Michael 40e42c4d28 E (RandR): Add function prototypes for getting position, orientation,
and mode from monitor.

Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 77692
2012-10-10 06:20:39 +00:00
Christopher Michael 1f1640f77b E (RandR): Add function prototype to randr widget so we can retrieve
list of monitors.

Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 77691
2012-10-10 06:20:37 +00:00
Christopher Michael 47977be1ca E (RandR): Use output->monitor first to get resolutions (if it exists), then
fallback to output->crtc common modes if needed.

No need to drop duplicate resolutions anymore, in fact we should list
them due to different refresh rates.

Add functions to smart monitor object for getting position,
orientation, and mode info.

When searching for a resolution within snapping fuzziness, also try to
find one which matches the current refresh rate.

Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 77690
2012-10-10 06:20:33 +00:00
Christopher Michael 24127f1a01 Set randr widget to changed when we receive the proper signals,
regardless if monitor matches or not.

Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 77643
2012-10-09 12:19:39 +00:00
Christopher Michael 23e171b7b7 Actually, use the real rate value from the mode. This allows similar
modes with the same rate to correctly select the proper radio.

Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 77642
2012-10-09 12:15:09 +00:00
Christopher Michael 51fa6fc413 Add method to list/select refresh rates.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 77639
2012-10-09 11:55:40 +00:00
Christopher Michael 86eb503248 Fix RandR dialog icon.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 77638
2012-10-09 11:55:37 +00:00
Sebastian Dransfeld 7b62d5e9e3 e: remove unused variable
SVN revision: 77626
2012-10-09 08:40:26 +00:00
Mike Blumenkrantz 5e17a3eaac fix EINTERN to be more portable and not require e.h in mixer pulse
SVN revision: 77613
2012-10-09 07:08:00 +00:00
Mike McCormack 6b4b4f0ae1 e: Fix unused variable warnings
Signed-off-by: Mike McCormack <mikem@atratus.org>

SVN revision: 77588
2012-10-08 20:55:43 +00:00
Mike Blumenkrantz 8c8a956237 undef gettext macro to fix build
SVN revision: 77583
2012-10-08 17:48:38 +00:00
Mike Blumenkrantz f7b644ecb0 fix mixer pulse includes and apply EINTERN to pulse functions so they won't be mistakenly called by stupid gstreamer
SVN revision: 77573
2012-10-08 13:44:39 +00:00
Mike Blumenkrantz 4f5e18437d fix possible magic failure in mixer
SVN revision: 77572
2012-10-08 13:37:37 +00:00
Christopher Michael 6cca89c83f Make on/off indicator toggling also send a changed event to the RandR
widget.

Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 77570
2012-10-08 09:13:30 +00:00
Christopher Michael 38d31cf0c0 Make config dialog listen on "changed" signal from RandR smart object
to enable Apply button.

NB: Cannot use basic->check_changed here as the Monitor smart objects
do the changing, but the Randr smart object never does. Since
"check_changed" only listens on the main dialog widget (randr smart
object in this case), then the "check_changed" of dialog_view would
not work in this case.

Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 77569
2012-10-08 08:39:46 +00:00
Christopher Michael 1405f6f949 Remove 'changed' flag for monitor smart object.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 77568
2012-10-08 08:39:43 +00:00
Christopher Michael c2521cbaaf Make RandR smart object support 'changed' so that the Apply button in
the config dialog can function properly.

Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 77567
2012-10-08 08:39:39 +00:00