Commit Graph

4885 Commits

Author SHA1 Message Date
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
Christopher Michael 2dcd1bc3ba Make RandR dialog function as a Config Dialog.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 77565
2012-10-08 07:56:18 +00:00
Vincent Torri 9d7a55f456 E17: better inclusion of file to parse (openbsd and netbsd
Patch By Maxime Villard


SVN revision: 77560
2012-10-07 20:05:45 +00:00
Carsten Haitzler 35773a3241 add config for disabling delayed modules. this actually drastically
speeds up e startup - but this i mean the shelf comes up instantly
populated rather than taking 2 or 3 seconds to figure its life out.



SVN revision: 77558
2012-10-07 10:01:14 +00:00
Carsten Haitzler c17116d357 really quick patch on connman asking for logins... agent->msg is the
same as msg in the cb. this stops an instant segv but doesnt fully fix
it. it's at least marked/commented to be looked at.



SVN revision: 77556
2012-10-07 09:59:07 +00:00
Carsten Haitzler 13f9c864ff disable lock fps and grab in comp as its not in the gui now.
SVN revision: 77555
2012-10-07 09:56:22 +00:00
Sebastian Dransfeld 007b32de06 e: merge in notification intl
SVN revision: 77530
2012-10-05 11:41:11 +00:00
Mike Blumenkrantz 1401c39182 desktop gadgets no longer have the confusing "Behavior" menu, instead the hover layer is now a separate location which can receive gadget moves from any gadcon in the "Move to" menu
SVN revision: 77528
2012-10-05 10:36:11 +00:00
Mike Blumenkrantz 22a560b41f unnecessary cast
SVN revision: 77527
2012-10-05 10:23:52 +00:00
Mike Blumenkrantz 2413409717 use list macros for gadman handlers
SVN revision: 77526
2012-10-05 10:22:57 +00:00
Mike Blumenkrantz 71f57bb52d gadcon location gadget_add callbacks now have a gadcon client param so the config can be retrieved since these callbacks are (currently) only used for changing locations of gadgets
also the related gcc param in gadget_del can now have a NULL config to signify that the gadget has been moved to a new gadcon

this means that moving a gadget to a new location will no longer cause it to lose its gadget config

ticket #1594


SVN revision: 77521
2012-10-05 09:57:34 +00:00
Mike Blumenkrantz 6933d4b8ac gadgets can now be configured from the Desktop menu to bypass selecting layer in the overall gadget config
SVN revision: 77517
2012-10-05 09:05:34 +00:00
Mike Blumenkrantz c873260de3 ensure that missing gadman gadget geom popup only ever appears once, also set edit mode on repositioned gadget
SVN revision: 77514
2012-10-05 08:23:00 +00:00
Mike Blumenkrantz 9c7ea16706 also handle reapplying default sizing more effectively
SVN revision: 77513
2012-10-05 08:16:11 +00:00
Mike Blumenkrantz d0d1fbe5ba fix gadman popups to work and support markup
SVN revision: 77512
2012-10-05 08:13:43 +00:00
Mike Blumenkrantz 7b1d8c9dd1 fix setting drag on new desktop gadgets
SVN revision: 77511
2012-10-05 08:05:50 +00:00
Mike Blumenkrantz 77865ac5b0 break out gadman popups into separate functions with timers and handlers to ensure that they actually go away
SVN revision: 77509
2012-10-05 07:31:10 +00:00
Mike Blumenkrantz 3f67c25467 use default coords when repositioning a misconfigured desktop gadget so it will be less likely to be hidden by open dialogs
SVN revision: 77506
2012-10-05 06:59:06 +00:00
Mike Blumenkrantz d40acc5046 add pulse_disconnect() function and properly send disconnect events when disconnecting during pulse auth
SVN revision: 77505
2012-10-05 06:56:13 +00:00
Sebastian Dransfeld e0dd931ab3 e: formatting
SVN revision: 77493
2012-10-04 23:30:35 +00:00
Sebastian Dransfeld b659bc1b26 e: Fix typo
Patch by Igor Murzov

SVN revision: 77492
2012-10-04 23:27:07 +00:00
Sebastian Dransfeld 80b0b615b8 e: Cleanup
Fixes potential invalid memory reads.

Patch by Igor Murzov

SVN revision: 77491
2012-10-04 23:27:01 +00:00
Sebastian Dransfeld 427b6c34df e: Cleanup
Removes unused variables, drops duplicate return or break
     statements and drops unnecessary checks.

Patch by Igor Murzov

SVN revision: 77490
2012-10-04 23:26:48 +00:00
Vincent Torri 9e11c4cae1 E17: Path of keyboard definition files changed to /usr/X11R6/share/X11/xkb/ in OpenBSD 5.0.
Patch by Maxime Villard (rustyBSD)


SVN revision: 77447
2012-10-04 17:18:45 +00:00
Stefan Schmidt 433f1cb90b e/connman: Check for the correct messages.
Checking two times the same message does not make any sense. The only logical
thing seems to be checking for the properties message here. Leaving the wifi
properties message out as not every setup has wifi. At least on my desktop
here I don't have /net/connman/technology/wifi so we should not fail without
it.

Dermarchi or Bdilly please cry or fix if this is not as intended.
(Brought to you by double_condition_check.cocci)

SVN revision: 77440
2012-10-04 14:56:17 +00:00
Christopher Michael 5ca309e0ad Remove dead code.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 77438
2012-10-04 13:14:33 +00:00
Mike Blumenkrantz c310836bb3 add gui option for secure deletion in efm
SVN revision: 77434
2012-10-04 12:58:18 +00:00
Mike Blumenkrantz b5842b7b86 simplify previous commit
SVN revision: 77432
2012-10-04 12:11:17 +00:00
Mike Blumenkrantz 6388a49f60 efm right click -> "Open" will now become "Run" when the file will be executed directly in order to be more clear
SVN revision: 77431
2012-10-04 11:57:51 +00:00
Mike Blumenkrantz 8c5b541a39 more mixer magic failure fixes
SVN revision: 77429
2012-10-04 11:51:31 +00:00
Mike McCormack 5b4a058e44 e: Fix warning
e_smart_monitor.c:1036:29: warning: ‘mode’ may be used uninitialized in this function

Signed-off-by: Mike McCormack <mikem@atratus.org>

SVN revision: 77427
2012-10-04 11:47:43 +00:00
Mike Blumenkrantz a848b7291e finally fix annoying pulse mixer magic failure
SVN revision: 77424
2012-10-04 10:33:59 +00:00
Mike Blumenkrantz 183c036dcf clock popup now hides only when switching to a desktop where its parent gadcon is not present or if a window goes fullscreen after the popup has appeared
ticket #1592


SVN revision: 77417
2012-10-04 10:05:40 +00:00