1. 21 Jun, 2004 1 commit
  2. 23 Feb, 2004 1 commit
    • Rob Adams's avatar
      Add my copyright notice to a number of files on which it should already · db108c1f
      Rob Adams authored
      2004-02-23  Rob Adams  <readams@readams.net>
      
      	Add my copyright notice to a number of files on which it should
      	already exist.
      
      	* src/window.c (meta_window_notify_focus): modify code to move to
      	front of MRU list so that we can have an assert that it was there
      	in the first place.  This code may be causing some crashes.  See
      	#131196.
      db108c1f
  3. 15 Feb, 2004 1 commit
  4. 21 Dec, 2003 1 commit
    • Rob Adams's avatar
      Reorganize the window menu according to discussion on #110904. The · 690100f1
      Rob Adams authored
      2003-12-20  Rob Adams  <readams@readams.net>
      
      	Reorganize the window menu according to discussion on #110904.
      	The workspace name mnemonic chunk of the patch is thanks to
      	Jonathan Blandford.
      
      	* src/common.h: add MENU_OP_ABOVE, MENU_OP_UNABOVE, MENU_UP_MOVE_TO_*
      	menu ops.
      
      	* src/core.c (meta_core_get_menu_accelerator): add accelerator for
      	the new menu ops.
      
      	* src/menu.c: add checked attribute in _MenuItem struct to display
      	a checkmark next to a menu item.  Add the new menu items to
      	menuitems.
      	(get_workspace_name_with_accel): Add mnemonics even to renamed
      	workspaces.
      	(menu_item_new): provide support for the checked attribute
      	(meta_window_menu_new): construct new submenu for workspace
      	switching.
      
      	* src/window.c (menu_callback): implement support for the new menu
      	ops.
      	(meta_window_show_menu): don't use the OP_*SHAPE operations, and
      	compute which of the OP_MOVE_TO_* ops should be used for the
      	current workspace and workspace layout.  Add the OP_*ABOVE
      	operations.
      690100f1
  5. 30 Oct, 2003 1 commit
  6. 21 Apr, 2003 1 commit
  7. 29 Jan, 2003 1 commit
  8. 20 Nov, 2002 2 commits
    • Havoc Pennington's avatar
      Should really fix #98303 · b8788e9c
      Havoc Pennington authored
      2002-11-19  Havoc Pennington  <hp@pobox.com>
      
      	Should really fix #98303
      
      	* src/prefs.c (meta_prefs_change_workspace_name): add
      	bad hack to treat empty string the same as null
      
      	* src/menu.c (get_workspace_name_with_accel): allocate one more
      	than the length of "name" so we have room for a nul byte (and
      	don't malloc(0) on empty strings). Also some formatting cleanups.
      b8788e9c
    • Havoc Pennington's avatar
      Fix #98303 and assorted cleanup · 2541da1d
      Havoc Pennington authored
      2002-11-19  Havoc Pennington  <hp@pobox.com>
      
              Fix #98303 and assorted cleanup
      
      	* src/prefs.c (meta_preference_to_string): handle
      	META_PREF_WORKSPACE_NAMES
      
      	* src/menu.c (get_workspace_name_with_accel): assert that the
      	workspace has a name
      
      	* src/screen.c (meta_screen_ensure_workspace_popup): assert that
      	we got a workspace name
      	(meta_screen_ensure_workspace_popup): assert that we got a
      	workspace name
      
      	* src/prefs.c (update_workspace_name): fix screwiness (strcmp with
      	a freed string, assorted bad logic)
      	(init_workspace_names): assert that we filled in a default
      	workspace name
      	(meta_prefs_get_workspace_name): assert non-NULL workspace name
      2541da1d
  9. 03 Nov, 2002 1 commit
    • Havoc Pennington's avatar
      new function, and remove workspace->name field, instead just get the name · 6a1abc74
      Havoc Pennington authored
      2002-11-03  Havoc Pennington  <hp@pobox.com>
      
      	* src/workspace.c (meta_workspace_get_name): new function,
      	and remove workspace->name field, instead just get the
      	name from prefs each time
      
      	* src/screen.c (meta_screen_update_workspace_names): update the
      	gconf key to persist workspace names here, instead of changing
      	the names we use
      
      	* src/util.c (topic_name): add META_DEBUG_PREFS
      
      	* src/prefs.c: change NUM_COMMANDS to 32 to allow more custom
      	commands, implement workspace names
      
      	* src/metacity.schemas.in: add workspace_names/name_NN gconf keys.
      6a1abc74
  10. 16 Oct, 2002 1 commit
    • Havoc Pennington's avatar
      workspaces are all per-screen now, fix accordingly · 337812d5
      Havoc Pennington authored
      2002-10-16  Havoc Pennington  <hp@redhat.com>
      
      	* src/workspace.c: workspaces are all per-screen now, fix
      	accordingly
      
      	* src/core.c: fix multihead workspace stuff
      
      	* src/keybindings.c: multihead-rama
      
      	* src/screen.c (meta_screen_show_desktop): new functions to
      	replace display equivalents
      
      	* src/display.c (meta_display_get_workspace_by_screen_index): get
      	rid of this
      	(meta_display_get_workspace_by_index): get rid of this
      	(event_callback): handle _NET_SHOWING_DESKTOP message per-screen
      
      	* src/screen.c (meta_screen_get_workspace_by_index): new function
      
      	* src/screen.h (struct _MetaScreen): move workspace list, and
      	showing_desktop flag, to be per-screen
      
      	* src/window.c (window_query_root_pointer): return whether pointer
      	is on window's screen
      	(meta_window_handle_mouse_grab_op_event): don't use coordinates
      	from other screens when updating a window operation on the current
      	screen. I can't believe no one has reported this...
      337812d5
  11. 27 Sep, 2002 1 commit
    • Havoc Pennington's avatar
      use MetaAccelLabel to display accelerators for the menu items · 47f67eb2
      Havoc Pennington authored
      2002-09-26  Havoc Pennington  <hp@pobox.com>
      
      	* src/menu.c (meta_window_menu_new): use MetaAccelLabel to display
      	accelerators for the menu items
      
      	* src/metaaccellabel.c: cut-and-paste GtkAccelLabel and port to
      	use virtual modifiers
      
      	* src/Makefile.am (metacity_SOURCES): add metaaccellabel.[hc]
      
      	* src/prefs.c (meta_prefs_get_window_binding): new function
      
      	* src/core.c (meta_core_get_menu_accelerator): new function
      47f67eb2
  12. 24 Sep, 2002 2 commits
    • Havoc Pennington's avatar
      support --version, #92796 patch from Christian Neumair · d027c27c
      Havoc Pennington authored
      2002-09-24  Havoc Pennington  <hp@redhat.com>
      
      	* src/main.c (main): support --version, #92796 patch from
      	Christian Neumair
      
      	* autogen.sh: change gettext test to be happy with
      	glib-gettextize, #81425
      
      	* src/menu.c: change mnemonics to match bug #78999
      
      	* src/theme.c (meta_theme_validate): consolidate some
      	nearly-identical themes for ease of translation, #70962
      d027c27c
    • Arvind Samptur's avatar
      Replace strings Shade with Roll Up and Unshade with Unroll. · ee26de98
      Arvind Samptur authored
      2002-09-24  Arvind Samptur  <arvind.samptur@wipro.com>
              * src/menu.c: Replace strings Shade with Roll Up and
              Unshade with Unroll.
      ee26de98
  13. 12 Aug, 2002 1 commit
  14. 10 Aug, 2002 2 commits
    • Havoc Pennington's avatar
      reorder the menu items so that Close is at the bottom · 75109ac2
      Havoc Pennington authored
      2002-08-10  Havoc Pennington  <hp@pobox.com>
      
      	* src/menu.c: reorder the menu items so that Close is at the
      	bottom
      
      	* src/theme-viewer.c (main): set debugging mode if METACITY_DEBUG
      	enabled
      75109ac2
    • Jorn Baayen's avatar
      Register window menu icons with the Gtk stock system, instead of using the · 7179d77d
      Jorn Baayen authored
      2002-08-10  Jorn Baayen  <jorn@nl.linux.org>
      
      	Register window menu icons with the Gtk stock system, instead
      	of using the ones from the Metacity theme (which looked very bad with
      	some themes).
      
      	* src/Makefile.am:
      	* src/main.c:
      	* src/menu.c:
      	* src/stock_delete.png: added these files
      	* src/stock_minimize.png:
      	* src/stock_maximize.png:
      	* src/ui.c
      7179d77d
  15. 24 Jul, 2002 1 commit
    • Havoc Pennington's avatar
      look for themes in ~/.themes/NAME/metacity-1/ and · 88a0d1ff
      Havoc Pennington authored
      2002-07-24  Havoc Pennington  <hp@redhat.com>
      
      	* src/theme-parser.c (meta_theme_load): look for themes in
      	~/.themes/NAME/metacity-1/ and datadir/themes/NAME/metacity-1
      	instead of the old locations.
      
      	* src/themes/Makefile.am: install themes to
      	datadir/themes/NAME/metacity-1/ to match how GTK works, breaking
      	third-party themes yet again! woot!
      88a0d1ff
  16. 23 Jul, 2002 1 commit
  17. 26 May, 2002 1 commit
    • Havoc Pennington's avatar
      Patch from Gaute Lindkvist so you can't move the panel or desktop to only · a40a9ecc
      Havoc Pennington authored
      2002-05-26  Havoc Pennington  <hp@pobox.com>
      
              Patch from Gaute Lindkvist so you can't move the panel or desktop
      	to only one workspace.
      
      	* src/keybindings.c (handle_move_to_workspace): don't allow moving
      	window to another space if the window is always_sticky
      
      	* src/window.c (recalc_window_features): set the always_sticky
      	field for desktop/dock windows.
      	(meta_window_show_menu): disable unsticking always sticky windows
      	via the menus
      
      	* src/menu.c (meta_window_menu_new): disable workspace items
      	if requested
      a40a9ecc
  18. 08 May, 2002 1 commit
    • Anders Carlsson's avatar
      Add multi-screen support. Also add patch by Erwann Chenede to make · 0494b044
      Anders Carlsson authored
      2002-05-08  Anders Carlsson  <andersca@gnu.org>
      
      	* configure.in:
      	* src/display.c: (meta_display_open):
      	* src/fixedtip.c: (meta_fixed_tip_show):
      	* src/fixedtip.h:
      	* src/frames.c: (meta_frames_new), (show_tip_now):
      	* src/frames.h:
      	* src/menu.c: (meta_window_menu_new):
      	* src/ui.c: (meta_ui_new):
      	Add multi-screen support. Also add patch by Erwann Chenede
      	to make tooltips appear on the correct screen.
      0494b044
  19. 30 Apr, 2002 1 commit
  20. 31 Mar, 2002 1 commit
  21. 07 Mar, 2002 1 commit
    • Havoc Pennington's avatar
      add some assertions · fdb20df7
      Havoc Pennington authored
      2002-03-06  Havoc Pennington  <hp@pobox.com>
      
      	* src/core.c (meta_core_get_grab_frame): add some assertions
      
      	* src/menu.c (meta_window_menu_new): make another warning
      	into a verbose
      
      	* src/display.c (meta_change_button_grab): use verbose rather than
      	warning to log failures to grab button, since these are typically
      	BadWindow from a destroyed window.
      fdb20df7
  22. 07 Feb, 2002 1 commit
    • Havoc Pennington's avatar
      disable custom log handler and fatal mask for now · 8ae714ee
      Havoc Pennington authored
      2002-02-06  Havoc Pennington  <hp@pobox.com>
      
      	* src/main.c (main): disable custom log handler and fatal mask for
      	now
      
      	* src/theme.c (meta_draw_op_list_draw):
      	Add META_DRAW_CLIP
      
      	* src/main.c: load theme, monitor current theme setting
      
      	* src/prefs.c: add "current theme" setting
      
      	* src/stack.c (meta_stack_free): don't try to free
      	last_root_children_stacked if it doesn't exist
      
      	* src/themewidget.c: pluggable GtkMisc subclass to use
      	for menu icons
      
      	* src/screen.c (meta_screen_manage_all_windows): fix
      	signed/unsigned warning
      
      	* src/frames.c: port to theme system
      	(meta_frames_style_set): chain up
      
      	* theme-format.txt: new file
      
      	* configure.in: add more compiler warnings
      
      	* src/theme.c: add various stuff needed to get theme parser
      	working. Remove the "spacer" concept from FrameLayout object.
      	Add draw op that references a draw op list.
      
      	* configure.in: require GTK 1.3.13
      
      	* src/Makefile.am: add theme-parser.[hc], implement loading a
      	theme
      
      	* src/theme.c: add "draw title" and "draw window icon" operations
      	(meta_draw_op_draw): put object_width/object_height in expression
      	environment before computing x/y. Handle out-of-memory when
      	creating pixbufs. Assorted other cleanups.
      8ae714ee
  23. 10 Dec, 2001 1 commit
  24. 09 Dec, 2001 1 commit
    • Havoc Pennington's avatar
      move SM init a bit later in the process, and init prefs · 6981a819
      Havoc Pennington authored
      2001-12-09  Havoc Pennington  <hp@pobox.com>
      
      	* src/main.c (main): move SM init a bit later in the process, and
      	init prefs
      
      	* src/session.c: fix no SM case (though I hardly know why I'm
      	bothering)
      
      	* src/main.c (main): call bindtextdomain
      
      	* src/util.h (_): actually call gettext
      
      	* configure.in: put in AM_GLIB_GNU_GETTEXT and gconf stuff
      
      	* src/prefs.c: Preferences - this marks the beginning of our doom.
      	None of them are actually implemented yet, but we monitor
      	some stuff from gconf.
      6981a819
  25. 07 Oct, 2001 1 commit
  26. 11 Sep, 2001 1 commit
    • Havoc Pennington's avatar
      icon for unmaximize · 3645fef5
      Havoc Pennington authored
      2001-09-10  Havoc Pennington  <hp@pobox.com>
      
      	* src/menu.c (meta_window_menu_new): icon for unmaximize
      
      	* src/ui.c (meta_ui_init): fix call to XDisplayName
      
      	* src/util.c: add missing header
      
      	* src/frames.c: draw an unmaximize control if already maximized
      3645fef5
  27. 11 Jul, 2001 1 commit
    • rhp's avatar
      ... · 71d3333d
      rhp authored
      71d3333d
  28. 23 Jun, 2001 1 commit
    • rhp's avatar
      ... · bf64e719
      rhp authored
      bf64e719
  29. 21 Jun, 2001 2 commits
    • rhp's avatar
      ... · 9e9ffdca
      rhp authored
      9e9ffdca
    • rhp's avatar
      ... · f845819c
      rhp authored
      f845819c
  30. 10 Jun, 2001 1 commit
    • rhp's avatar
      ... · b5e506ce
      rhp authored
      b5e506ce
  31. 09 Jun, 2001 2 commits
  32. 07 Jun, 2001 2 commits
    • rhp's avatar
      ... · 0feac37c
      rhp authored
      0feac37c
    • rhp's avatar
      ... · 834452ca
      rhp authored
      834452ca