Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Changes to app-system and menu editor #1256

Closed
wants to merge 100 commits into from

5 participants

@mtwebster
Collaborator

Menu editor:

  • Removes separator button
  • Removes move-up and move-down buttons for moving apps. You can use them to rearrange the categories.

Cinnamon:

  • remove app-system settings-tree functionality - functions return null or empty to maintain compatibility.
  • remove all calls to settings tree
  • merge cinnamon-settings.menu with cinnamon-applications.menu

Issues:

For existing installs, the Preferences and Admin (at least for me) showed up at the top of the list in the editor and the menu applet. Resetting to defaults in the editor puts them in alpha order, and the user can move them up or down the list as they desire.

Long term:

Need to decide if we want to allow re-ordering apps in the menu applet. This will require some significant changes, as currently the applet is optimized for speed, and alphabetizes the entire list during loading, then merely hides/shows items in each category. However, if we do this, we'll need to really fix the positionItem function in the MenuEditor.py. Right now is a bit of a hack, but it works for categories.

@mtwebster
Collaborator

I need to refactor this for recent changes. Will reopen once I do

@mtwebster mtwebster closed this
autarkper and others added some commits
@autarkper autarkper [Scale] Sort primarily on minimized-ness 5cca5c6
@autarkper autarkper [Scale] Make sure clones and overlays never go out of sync. Sort arra…
…y of clones in-place. Ensure correct keyboard focus.
b79eeee
@autarkper autarkper [Scale] Some rework of pointer-event handling. 72ebb7e
@autarkper autarkper [Scale] Make sure the keyboard-focused window clone has a close button. 316f840
@autarkper autarkper [Scale] Improve window-caption-width calculation, taking into account…
… all available horizontal space.
2bb6424
@autarkper autarkper [Scale] Make window-caption-width calculation adaptive as selection c…
…hanges and titles are updated
6ebbca8
@autarkper autarkper [Scale] Some overlay refactoring. 14134a1
@autarkper autarkper [Scale] Tweak adaptive Window-caption-width calculation. 4f94bc8
@autarkper autarkper [Scale] Reorder the steps in Overlay construction. 916fe0e
@autarkper autarkper [Multi-monitor, Scale] Show all windows belonging to the current work…
…space together, regardless of which monitor they're on.
2e759cd
@autarkper autarkper [Scale] Less intrusive keyboard handling. f927294
@autarkper autarkper PopupComboMenu: Handle a scaled source actor better. 1a32bd3
@autarkper autarkper Improve PopupComboMenu keyboard handling. 9c71a55
@autarkper autarkper Let PopupComboMenu width not depend on source actor's width. b61bc60
@autarkper autarkper [Scale] Make workspace overview background themeable 3226e97
@autarkper autarkper [Scale] Add a window context menu. 657102c
@autarkper autarkper [Scale] Syncstacking should only affect the permanent sort order the …
…first time it's called.
f3b949c
@autarkper autarkper [Scale] Split Scale into one view per monitor. 813dd95
@autarkper autarkper [Scale] Right-click on clone to show context menu. b8d9a3e
@autarkper autarkper [Scale, Multi-monitor] Turn off workspace-shift animation if more tha…
…n one monitor is present.
e8a130b
@autarkper autarkper [Scale] Always use the entire screen as the "porthole". da0078c
@autarkper autarkper [Scale] Resize properly on monitor change. 2d1559d
@autarkper autarkper [Scale] Refactoring, get rid of ViewSelector. 0b9979d
@autarkper autarkper [Scale] Refactoring, keep fewer objects alive all the time. 81141ff
@autarkper autarkper [Scale] Remove left-behind search-provider functions. 8380ce9
@autarkper autarkper [Scale] Find first non-empty monitor. 71c98d3
@autarkper autarkper [Scale] Handle windows demanding attention or being marked urgent (ne…
…eds support from muffin for full functionality).
2e74b10
@autarkper autarkper [Scale] Some cleanup of complex window-close handling. caf9b5c
@autarkper autarkper [Scale] Code shuffling. 4619597
@autarkper autarkper [Scale] Center grid more precisely. b63c1bd
@autarkper autarkper [Scale] Delete some left-over advanced positioning functions. 02d1071
@autarkper autarkper [Scale] Use Main.isInteresting. 1e22a55
@autarkper autarkper [Scale] Tell activated workspace to update. 8929090
@autarkper autarkper [Scale] Check for Alt or Ctrl being pressed before handling keyboard …
…symbol.
111cd55
@autarkper autarkper [Scale] Auto-update after menu close and window-close. 7144b0e
@autarkper autarkper [Scale] Delete obsolete ViewSelector styles. 3e8e755
@autarkper autarkper [Scale] Remove reference to obsolete viewSelector.js. cf11ee6
@autarkper autarkper [Scale] Cancel zoom on keyboard-selection change.
[Scale] Keyboard support for zoom-scrolling selected window clone (Ctrl+'+'/'-'/'0').
2deab82
@autarkper autarkper [Scale] Remove dormant, outdated drag-and-drop support. da51440
@autarkper autarkper [Misc] Add js/misc/pointerTracker.js, a small class that keeps track …
…of the pointer position.
1475872
@autarkper autarkper [Scale] Use a PointerTracker to keep track of whether the pointer rea…
…lly has moved.
613565c
@autarkper autarkper [misc] Add new utility gridNavigator. 8613914
@autarkper autarkper [Scale] Use GridNavigator for grid navigation. 66cb7ff
@autarkper autarkper [Scale] Initially set primary monitor as the active monitor. 01eb713
@autarkper autarkper [Scale] Remove some left-overs. d33a12d
@autarkper autarkper [Scale] Improve window-workspace handling (sticky, etc.) 3edcb66
@autarkper autarkper [Scale] Change the menu-activation hotkey to Alt+M/m.
[Scale] Let Ctrl+space open window context menu.
723ab91
@autarkper autarkper [Scale] Must disconnect from long-lived Scale view. 0d10595
@autarkper autarkper [Scale] Refactoring (1). 8a1f94e
@autarkper autarkper [Scale] Refactoring (2): Remove drag-and-drop relics. 8694433
@autarkper autarkper [Scale] Refactoring (3): Remove workspace-changed logic. f68121e
@autarkper autarkper [Scale] Refactoring (4): _alwaysUpdateZoom removed. 40a7fc3
@autarkper autarkper [Scale] Refactoring (5): Get rid of unused workspace controls. f61764b
@autarkper autarkper [Scale] Refactoring (6): Move ownership of _workspaces to the view. 0405db4
@autarkper autarkper [Scale] Refactoring (7): Move more members from display to view. 4da562f
@autarkper autarkper [Scale] Refactoring (8): Move even more members from display to view. 723b16c
@autarkper autarkper [Scale] Refactoring (9): Remove clip* members. 729703c
@autarkper autarkper [Scale] Refactoring (10): Remove a duplicate handler. d08d5de
@autarkper autarkper [Scale] Use all available screen space. ac5ea43
@autarkper autarkper [Scale] Refactoring (11): Get rid of WorkspacesView.WorkspacesDisplay. 71d4440
@autarkper autarkper [Scale] Refactoring (12): Avoid mutual import. 81425ed
@autarkper autarkper [Scale] Refactoring (13): Remove more drag-and-drop left-overs. 9444fef
@autarkper autarkper [main.js] Keep internal workspace count in sync with reality. 22d6c07
@autarkper autarkper [main.js] Add a function to move a window to a new workspace. 7dbb410
@autarkper autarkper [Scale] Handle changes in workspace count dynamically. 848a925
@autarkper autarkper [Scale] Add a menu option to move a window to a new workspace. aa5d4e6
@autarkper autarkper [Scale] Remove some more left-overs. 51fb25b
@autarkper autarkper [Scale] Give the window context menu an ID: 'scale-window-context-men…
…u', for easier theming.
aea0d65
@dalcde dalcde Deprecate Overview.setMessage 3eec255
@autarkper autarkper [Scale] Remove last traces of CinnamonInfo. d97547a
@autarkper autarkper [Scale] Fewer window-zoom steps. 9221790
@autarkper autarkper [Scale] Do away with the desktop-fade effect on entry/exit. d913255
@autarkper autarkper [Scale] Remove isDummy left-overs. a2c99a7
@autarkper autarkper [Scale] Remove _fakePointerEvent left-overs. 961dec4
@clefebvre clefebvre Merge pull request #1386 from autarkper/alttab-shorter-thumbnail-delay
[Alt-Tab] Remove too-long delay before showing thumbnail.
a2f12d1
@clefebvre clefebvre Merge pull request #1128 from AlbertJP/workspace-cycle
[1.8] Allow cycling through workspaces
bb00dbd
@clefebvre clefebvre Merge pull request #1175 from dalcde/multi-hot-corner
[RFT] Hot corners: Mutiple hot corners and custom commands
74925a0
@clefebvre clefebvre Merge pull request #1211 from autarkper/scale-tuning
[Scale; 1.8] Fine-tune some aspects of Scale
069a4a1
@mtwebster mtwebster menu editor - remove separator button 0160f8d
@mtwebster mtwebster Hide move up and move down buttons in cinnamon menu editor.
Remove settings tree from app sys, merge settings menu entries with
the applications menu, remove all cinnamon calls to settings tree.
447b99b
@mtwebster mtwebster Reenabled move-up, move-down buttons for moving
categories only.  Since apps are alphabetized (for the moment) in the
menu applet, there's no use in allowing the moving
of apps.  Besides, we need to figure out how to fix positionItem
properly.

fixed
c58ce29
@mtwebster mtwebster Restore the app-sys functions for settings so nothing gets broken -
just return null or empty where appropriate.
aa5ca8c
@mtwebster mtwebster Fix comments 7d09798
@mtwebster mtwebster Use get_menu_id to ensure uniqueness when comparing menu items. Check
that the item is a GMenu.TreeDirectory before trying to use its get_menu_id
function.
d1ca479
@mtwebster mtwebster Improve getIndex function to handle moving applications
as well as moving sub-menus around.  Moving apps is still disabled,
however, until/unless the menu applet supports it.
515e918
@mtwebster mtwebster Remove cinnamon-settings.menu 8e46c97
@mtwebster mtwebster Rename menu editor modules so there is no chance of conflict with
other 'alacarte' program.
88cf8ad
@mtwebster mtwebster Fix comments for compile error e75b048
@mtwebster mtwebster reopened this
@mtwebster mtwebster closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Sep 14, 2012
  1. @AlbertJP
  2. @AlbertJP
Commits on Sep 15, 2012
  1. @AlbertJP
Commits on Oct 22, 2012
  1. @dalcde
Commits on Oct 29, 2012
  1. @autarkper

    Fix bad variable reference.

    autarkper authored
  2. @dalcde

    Merge pull request #5 from autarkper/dalcde-multi-hot-corner

    dalcde authored
    [Hot Corner] Fix bad variable reference.
Commits on Oct 30, 2012
  1. @autarkper
  2. @autarkper
  3. @autarkper

    [Multi-hot-corner] Fix typo.

    autarkper authored
  4. @dalcde

    Merge pull request #6 from autarkper/dalcde-multi-hot-corner

    dalcde authored
    [Hot corner] More fixes, etc.
  5. @autarkper
  6. @dalcde

    Merge pull request #7 from autarkper/dalcde-multi-hot-corner

    dalcde authored
    [multi-hot-corner, multi-monitor] Fix bottom-right corner position.
Commits on Nov 19, 2012
  1. @autarkper
  2. @autarkper

    [Scale] Make sure clones and overlays never go out of sync. Sort arra…

    autarkper authored
    …y of clones in-place. Ensure correct keyboard focus.
  3. @autarkper
  4. @autarkper
  5. @autarkper

    [Scale] Improve window-caption-width calculation, taking into account…

    autarkper authored
    … all available horizontal space.
  6. @autarkper

    [Scale] Make window-caption-width calculation adaptive as selection c…

    autarkper authored
    …hanges and titles are updated
  7. @autarkper
  8. @autarkper
  9. @autarkper
  10. @autarkper

    [Multi-monitor, Scale] Show all windows belonging to the current work…

    autarkper authored
    …space together, regardless of which monitor they're on.
  11. @autarkper
  12. @autarkper
  13. @autarkper
  14. @autarkper
  15. @autarkper
  16. @autarkper
  17. @autarkper
  18. @autarkper
  19. @autarkper
  20. @autarkper
  21. @autarkper
  22. @autarkper
  23. @autarkper
  24. @autarkper
  25. @autarkper
  26. @autarkper

    [Scale] Find first non-empty monitor.

    autarkper authored autarkper committed
  27. @autarkper

    [Scale] Handle windows demanding attention or being marked urgent (ne…

    autarkper authored
    …eds support from muffin for full functionality).
  28. @autarkper
  29. @autarkper

    [Scale] Code shuffling.

    autarkper authored
  30. @autarkper
  31. @autarkper
  32. @autarkper
  33. @autarkper
  34. @autarkper
  35. @autarkper

    [Scale] Auto-update after menu close and window-close.

    autarkper authored autarkper committed
  36. @autarkper
  37. @autarkper
  38. @autarkper

    [Scale] Cancel zoom on keyboard-selection change.

    autarkper authored
    [Scale] Keyboard support for zoom-scrolling selected window clone (Ctrl+'+'/'-'/'0').
  39. @autarkper
  40. @autarkper
  41. @autarkper
  42. @autarkper
  43. @autarkper
  44. @autarkper
Commits on Nov 20, 2012
  1. @autarkper
  2. @autarkper
  3. @autarkper

    [Scale] Change the menu-activation hotkey to Alt+M/m.

    autarkper authored
    [Scale] Let Ctrl+space open window context menu.
  4. @autarkper
  5. @autarkper

    [Scale] Refactoring (1).

    autarkper authored
  6. @autarkper
  7. @autarkper
  8. @autarkper
  9. @autarkper
  10. @autarkper
  11. @autarkper
  12. @autarkper
  13. @autarkper
  14. @autarkper
  15. @autarkper
  16. @autarkper
  17. @autarkper
  18. @autarkper
  19. @autarkper
  20. @autarkper
  21. @autarkper
  22. @autarkper
  23. @autarkper
  24. @autarkper
  25. @dalcde @autarkper

    Deprecate Overview.setMessage

    dalcde authored autarkper committed
  26. @autarkper
  27. @autarkper
  28. @autarkper
  29. @autarkper
  30. @autarkper
Commits on Nov 21, 2012
  1. @clefebvre

    Merge pull request #1386 from autarkper/alttab-shorter-thumbnail-delay

    clefebvre authored
    [Alt-Tab] Remove too-long delay before showing thumbnail.
  2. @clefebvre

    Merge pull request #1128 from AlbertJP/workspace-cycle

    clefebvre authored
    [1.8] Allow cycling through workspaces
  3. @clefebvre

    Merge pull request #1175 from dalcde/multi-hot-corner

    clefebvre authored
    [RFT] Hot corners: Mutiple hot corners and custom commands
  4. @clefebvre

    Merge pull request #1211 from autarkper/scale-tuning

    clefebvre authored
    [Scale; 1.8] Fine-tune some aspects of Scale
  5. @mtwebster
  6. @mtwebster

    Hide move up and move down buttons in cinnamon menu editor.

    mtwebster authored
    Remove settings tree from app sys, merge settings menu entries with
    the applications menu, remove all cinnamon calls to settings tree.
  7. @mtwebster

    Reenabled move-up, move-down buttons for moving

    mtwebster authored
    categories only.  Since apps are alphabetized (for the moment) in the
    menu applet, there's no use in allowing the moving
    of apps.  Besides, we need to figure out how to fix positionItem
    properly.
    
    fixed
  8. @mtwebster

    Restore the app-sys functions for settings so nothing gets broken -

    mtwebster authored
    just return null or empty where appropriate.
  9. @mtwebster

    Fix comments

    mtwebster authored
  10. @mtwebster

    Use get_menu_id to ensure uniqueness when comparing menu items. Check

    mtwebster authored
    that the item is a GMenu.TreeDirectory before trying to use its get_menu_id
    function.
  11. @mtwebster

    Improve getIndex function to handle moving applications

    mtwebster authored
    as well as moving sub-menus around.  Moving apps is still disabled,
    however, until/unless the menu applet supports it.
  12. @mtwebster
  13. @mtwebster
  14. @mtwebster
Something went wrong with that request. Please try again.