1. 04 Apr, 2015 1 commit
  2. 19 Feb, 2015 2 commits
  3. 07 Jan, 2015 2 commits
  4. 07 Oct, 2014 1 commit
  5. 06 Oct, 2014 1 commit
  6. 05 Oct, 2014 1 commit
  7. 27 Sep, 2014 1 commit
  8. 06 Jun, 2014 2 commits
  9. 23 Jan, 2014 1 commit
  10. 06 Dec, 2011 1 commit
  11. 14 Nov, 2011 1 commit
  12. 11 Nov, 2011 1 commit
  13. 15 Jan, 2011 1 commit
  14. 21 Jan, 2010 1 commit
  15. 06 Jul, 2009 1 commit
  16. 28 Jan, 2009 1 commit
  17. 27 Jan, 2009 1 commit
  18. 22 Nov, 2008 3 commits
    • Thomas James Alexander Thurman's avatar
      fix stupid infinite loop when GConf is turned off. · c2abbce2
      Thomas James Alexander Thurman authored
      	* src/core/prefs.c: fix stupid infinite loop when GConf is turned off.
      
      
      svn path=/trunk/; revision=4024
      c2abbce2
    • Thomas James Alexander Thurman's avatar
      fix two places where there was a warning if GConf was turned off. · 38cd6a6c
      Thomas James Alexander Thurman authored
      	* src/core/prefs.c: fix two places where there was a warning
      	if GConf was turned off.
      
      
      svn path=/trunk/; revision=4023
      38cd6a6c
    • Thomas Thurman's avatar
      (Apologies for huge commit; these were done on a transatlantic flight. This is why we need bzr.) · ac365b4e
      Thomas Thurman authored
      2008-11-22  Thomas Thurman  <tthurman@gnome.org>
      
              * src/core/all-keybindings.h: "backward", not "backwards" throughout.
      
      2008-11-20  Thomas Thurman  <tthurman@gnome.org>
      
              * configure.in: turned on -Wall and -Werror in order to
                trap as many problems as possible.
              * src/ui/resizepopup.c: added correct #include.
              * src/ui/theme-viewer.c: initialised variable.
              * src/core/xprops.c: corrected cast.
              * src/core/main.c: added warning if chdir() fails.
              * src/core/schema-bindings.c: checking the return
                result of fgets().
      
      2008-11-20  Thomas Thurman  <tthurman@gnome.org>
      
              Merged screen and window keybinding tables so that
              we can use just one file for the both.  Also incidentally
              closes #528337.  Further efficiencies of scale to come.
      
              * src/include/prefs.h: replace META_PREF_*_KEYBINDINGS
                with META_PREF_KEYBINDINGS
              * src/core/keybindings.c: replace *_bindings with key_bindings
                and similar throughout; all window-based functions are now
                guaranteed to receive a window so don't need to check for
                themselves
                (find_handler): moved so it can also be called from
                                rebuild_binding_table
              * src/core/display-private.h: replace *_bindings with key_bindings
              * src/core/prefs.c: update_*_binding becomes update_key_binding;
                (change_notify): tidy up references to "enormous if statement"
                                 since it's almost entirely gone now
              * src/core/all-keybindings.h: new merged version of
                                 screen-bindings.h and window-bindings.h.
      
      
      svn path=/trunk/; revision=4022
      ac365b4e
  19. 27 Oct, 2008 2 commits
  20. 26 Oct, 2008 1 commit
  21. 22 Oct, 2008 1 commit
    • Thomas Thurman's avatar
      Slight transformation of the x-macros used in keybindings to make them · 671b69a2
      Thomas Thurman authored
      2008-10-22  Thomas Thurman  <tthurman@gnome.org>
      
              Slight transformation of the x-macros used in keybindings
              to make them clearer: write handler names out in full
              because the old suffix system was confusing to people
              skim-reading, and switched the order of the last two
              parameters so more would generally fit on a screen.
      
              * src/core/keybindings.c, src/core/schema-bindings.c
                src/core/prefs.c: sympathy changes
              * src/core/window-bindings.h, src/core/screen-bindings.h:
                transformation as above
      
      
      svn path=/trunk/; revision=3970
      671b69a2
  22. 18 Oct, 2008 1 commit
    • Thomas Thurman's avatar
      During a discussion with Rodney Dawes about making life easier for the · 49340816
      Thomas Thurman authored
      2008-10-18  Thomas Thurman  <tthurman@gnome.org>
      
              During a discussion with Rodney Dawes about making life easier
              for the translators, he pointed out that the short and long
              forms of almost all the keybindings say much the same thing
              in different words.  I believe this is an unconscionable burden
              to place on translators, and have therefore merged the short
              and long descriptions into the short description.  The long
              is now a general explanation of the format, plus possibly a
              notice about reversibility.  Closes #469361, and should solve
              the l10n issue previously mentioned.
      
              * src/core/keybindings.c: reflect changes in *-bindings.h
              * src/core/schema-bindings.c: reflect changes in *-bindings.h
              * src/core/prefs.c: reflect changes in *-bindings.h
              * src/core/window-bindings.h: Add flags field, always the same
                currently, so that it's the same as screen-bindings.h.
                Also, lose ONLY_BOUND_BY_DEFAULT, since we already had a
                rather more elegant way to perform the same effect.
                And merge the long and short descriptions.
              * src/core/screen-bindings.h (, item): Merge the long and
                short descriptions.
      
      
      svn path=/trunk/; revision=3966
      49340816
  23. 06 Oct, 2008 1 commit
    • Thomas Thurman's avatar
      Second half of the switch to using x-macros for keybindings so that we · b1fb765d
      Thomas Thurman authored
      2008-10-05  Thomas Thurman  <tthurman@gnome.org>
      
              Second half of the switch to using x-macros for keybindings so that
              we don't have lots of places with the same information which must
              stay in the same order.  This time it's screen bindings.
      
              * src/core/screen-bindings.h: New file, containing screen bindings.
              * src/core/schema-bindings.c: added ability to output screen bindings.
              * src/core/window-bindings.h: tiny tweak to comment
              * src/core/keybindings.c: generate function prototypes using s-b.h;
                several handlers modified to use ints rather than ints cast into
                pointers, or renamed.
              * src/include/prefs.h: generate names of bindings using s-b.h;
                generate screen_handlers using s-b.h;
                arguments to bindings are ints and not ints cast to pointers;
                several handler functions renamed to consistent names.
              * src/core/prefs.c (meta_prefs_set_num_workspaces, init_bindings):
                generate screen_handlers using s-b.h;
                generate screen_string_bindings using s-b.h (and add check for
                null bindings in init_bindings to enable this simply).
      
      
      svn path=/trunk/; revision=3941
      b1fb765d
  24. 06 Sep, 2008 1 commit
    • Thomas Thurman's avatar
      An attempt to keep all information about window bindings in the same · cf484079
      Thomas Thurman authored
      2008-09-06  Thomas Thurman  <tthurman@gnome.org>
      
              An attempt to keep all information about window bindings
              in the same place.  Screen bindings to come.
      
              * src/core/window-bindings.h: new file, list of all window bindings
              * src/include/prefs.h: drop all the existing window-binding macros
      
              * src/core/schema-bindings.c (): output all the schema blocks that
              would appear in metacity.schema for these window bindings.  This
              ought to become part of the build process, and hopefully will soon.
              When this works it will also close #469361.
      
              * src/core/keybindings.c: generate handle_* prototypes using
              x-macros;  populate window_handlers using x-macros;  rename several
              functions to have consistent names;  do_handle_move_to_workspace(),
              handle_move_to_workspace_flip(), and handle_move_to_workspace() all
              merged into handle_move_to_workspace.
      
              * src/core/prefs.c: generate window_bindings and window_string_bindings
              using x-macros;  (meta_prefs_set_compositing_manager) fix unrelated
              problem with use of GConf functions when GConf was disabled.
      
              * src/core/core.c (meta_core_get_menu_accelerator): binding names
              given as literals since this is the only place in the code they
              now appear
      
      
      
      svn path=/trunk/; revision=3860
      cf484079
  25. 01 Sep, 2008 1 commit
    • Thomas Thurman's avatar
      Add new move_to_center keybinding, requested by Khanh-Dang Nguyen Thu Lam; · 2095cce3
      Thomas Thurman authored
      2008-09-01  Thomas Thurman  <tthurman@gnome.org>
      
              Add new move_to_center keybinding, requested by Khanh-Dang Nguyen
              Thu Lam; closes #549979.
      
              * src/include/prefs.h (void): add name of new binding
              * src/core/prefs.c: added pref for it
              * src/core/keybindings.c (handle_move_to_center): new function
              * src/metacity.schemas.in: included new binding
      
      
      svn path=/trunk/; revision=3839
      2095cce3
  26. 31 Aug, 2008 1 commit
  27. 29 Jun, 2008 1 commit
    • Thomas Thurman's avatar
      Allow toggling of non-compositor effects (since there's a non-Metacity key · 7988361e
      Thomas Thurman authored
      2008-06-29  Thomas Thurman  <tthurman@gnome.org>
      
              Allow toggling of non-compositor effects (since there's a
              non-Metacity key to do so: /desktop/gnome/interface/enable_animations).
              Closes #92867.
      
              * src/include/prefs.h: add META_PREFS_GNOME_ANIMATIONS key and
                meta_prefs_get_gnome_animations() function
              * src/include/prefs.c: added meta_prefs_get_gnome_animations()
                function, and made supporting changes to structs.
              * src/core/effects.c (run_handler): checked whether enable_animations
                is set before running an effect.
              * src/core/effects.c (meta_effect_run_minimize): remove debug message.
      
      
      svn path=/trunk/; revision=3775
      7988361e
  28. 13 Jun, 2008 1 commit
    • Thomas Thurman's avatar
      Some commenting. · 7ab715fa
      Thomas Thurman authored
      2008-06-13  Thomas Thurman  <tthurman@gnome.org>
      
              * src/core/window-props.c: Some commenting.
      
              * src/core/prefs.c: Added unified handling of integer preferences.
                Re-ordered fields in existing preferences so that changing to
                a union-based system will be easier in the future.
      
      
      svn path=/trunk/; revision=3758
      7ab715fa
  29. 28 May, 2008 1 commit
    • Thomas Thurman's avatar
      Make disabling gconf work again. Closes #530870. · 01c0a951
      Thomas Thurman authored
      2008-05-28  Thomas Thurman  <tthurman@gnome.org>
      
              * src/core/prefs.c (handle_preference_update_string,
              meta_prefs_remove_listener, queue_changed): Make disabling
              gconf work again.  Closes #530870.
      
      
      svn path=/trunk/; revision=3741
      01c0a951
  30. 03 Apr, 2008 1 commit
  31. 07 Mar, 2008 1 commit
    • Thomas Thurman's avatar
      remove debug statements (*blush*) · 1b00ca61
      Thomas Thurman authored
      2008-03-07  Thomas Thurman  <tthurman@gnome.org>
      
              * src/core/prefs.c (mouse_button_mods_handler): remove
      	debug statements (*blush*)
      
      
      svn path=/trunk/; revision=3629
      1b00ca61
  32. 06 Mar, 2008 1 commit
    • Thomas Thurman's avatar
      Part three of the great prefs refactor, this time dealing with string · d1ef896c
      Thomas Thurman authored
      2008-03-06  Thomas Thurman  <tthurman@gnome.org>
      
              Part three of the great prefs refactor, this time
              dealing with string preferences.  (This was the most
              complicated part, and has been especially tested and
              valground before committing.  As ever, though, let us
              know if you find a problem.)
      
              * src/core/prefs.c (MetaStringPreference): new struct.  
              * src/core/prefs.c (update_*): replaced with *_handler  
              * src/core/prefs.c (meta_prefs_init): uses new string prefs
                init; uses array of gconf dirs to monitor rather than 
                repeating code.
              * src/core/prefs.c (handle_preference_init_enum): tidying
              * src/core/prefs.c (change_notify): uses new string prefs  
      
      
      svn path=/trunk/; revision=3624
      d1ef896c
  33. 03 Mar, 2008 1 commit
    • Cosimo Cecchi's avatar
      Add ability to vertically and horizontally maximise using the mouse, by · a8c3d161
      Cosimo Cecchi authored
      2008-03-03  Cosimo Cecchi  <anarki@lilik.it>
      
      	Add ability to vertically and horizontally maximise
      	using the mouse, by clicking the titlebar in various
      	ways.  A very similar patch was received from Jason Ribero.
      	Thanks also go to Tony Houghton and Carlo Wood, who
      	both submitted patches which solved this differently.
      	Closes #358674.
      
              * src/include/common.h (MetaActionTitlebar): new values
      	for the new actions
              * src/core/core.c (meta_core_maximize_{vertic|horizont}ally):
      	new functions.
              * src/ui/frames.c (meta_frame_titlebar_event): handle the
      	new action values
              * src/core/window.h: new macros (for regularity, not really
      	necessary)
              * src/core/prefs.c (symtab_titlebar_action): new string
      	representations of the action values
              * src/metacity.schemas.in: documentation
      
      
      svn path=/trunk/; revision=3619
      a8c3d161
  34. 29 Feb, 2008 1 commit
    • Andrea Del Signore's avatar
      Add support for "spacer" as a button type which adds some empty space. · e021e061
      Andrea Del Signore authored
      2008-02-29  Andrea Del Signore  <sejerpz@tin.it>
      
      	Add support for "spacer" as a button type which adds some
      	empty space. Closes #509165.
      
              * src/ui/theme.c (meta_frame_layout_calc_geometry),
                src/include/common.h (MetaButtonLayout),
                src/core/prefs.c (update_button_layout, button_layout_equal),
                src/metacity.schemas.in: add spacer support
      
      
      svn path=/trunk/; revision=3615
      e021e061