1. 13 Jun, 2006 1 commit
    • Steve Frécinaux's avatar
      Update property definitions to use the new enum GTypes. · 1ef0cfe3
      Steve Frécinaux authored
      2006-06-13  Steve Frécinaux  <steve@istique.net>
      
              * gedit/gedit-tab.c:
              * gedit/gedit-window.c:
      
              Update property definitions to use the new enum GTypes.
      
              * bindings/python/gedit.defs:
              * bindings/python/gedit.override:
      
              Update enum types to actually use the new GTypes. Add bindings for
              several new methods (GeditDocument.get_enable_search_highlighting,
              GeditDocument.get_enable_search_highlighting, GeditWindow.close_tabs,
              GeditWindow.get_tab_from_uri and GeditApp.get_lockdown)
      1ef0cfe3
  2. 15 May, 2006 1 commit
    • Steve Frécinaux's avatar
      Remove gedit_ prefix from functions, and add gedit_-prefixed ones marked · d0ce5b2f
      Steve Frécinaux authored
      2006-05-15  Steve Frécinaux  <steve@istique.net>
      
      	* bindings/python/gedit.defs: Remove gedit_ prefix from functions, and
      	add gedit_-prefixed ones marked as deprecated.
      
      	* bindings/python/gedit.override: Add overrides for deprecated functions
      	issuing a DeprecationWarning when used.
      
      	* plugins/externaltools/tools/__init__.py:
      	* plugins/externaltools/tools/functions.py:
      	* plugins/snippets/snippets/SnippetComplete.py:
      	* plugins/snippets/snippets/SnippetsDialog.py:
      	* plugins/snippets/snippets/__init__.py:
      
      	Use the new function names.
      d0ce5b2f
  3. 03 Mar, 2006 1 commit
    • Paolo Maggi's avatar
      Fixed bug #333129 – [Multihead] cannot launch multiple instances of · 7335a9b6
      Paolo Maggi authored
      2006-03-03  Paolo Maggi  <paolo@gnome.org>
      
      	Fixed bug #333129 – [Multihead] cannot launch multiple instances
      of
      	                    gedit on different heads
      
      	* gedit/gedit-app.c (gedit_app_create_window): added screen
      argument
      	(is_in_workspace): new function
      	(_gedit_app_get_window_in_workspace): fixed to me multihead
      aware
      
      	* gedit/gedit-app.h: updated gedit_app_create_window prototype
      
      	* gedit/gedit-window.c (clone_window): update to call
      	gedit_app_create_window with a screen parameter
      
      	* gedit/gedit.c (on_message_received) (send_bacon_message)
      (main):
      	updated the client/server protocol used to support single
      application
      	instances so that display name and screen number are
      communicated from
      	client to server
      
      	* bindings/python/gedit.defs:
      	* bindings/python/gedit.override: updated binding for
      create_window(),
      	overridden so that the screen param is optional
      7335a9b6
  4. 19 Feb, 2006 1 commit
    • Paolo Borelli's avatar
      make the file load api return null in all the involved functions to · 86e31d0d
      Paolo Borelli authored
      2006-02-19  Paolo Borelli  <pborelli@katamail.com>
      
      	* gedit/gedit-document.[ch]:
      	* gedit/gedit-document-loader.[ch]:
      	* gedit/gedit-tab.[ch]:
      	* gedit/gedit-command-file.c:
      
      	make the file load api return null in all the involved functions to
      	reflect that it is async. Handle correctly valid uris that however
      	return a null vfs-uri.
      86e31d0d
  5. 19 Jan, 2006 2 commits
    • Paolo Maggi's avatar
      Re-added autosave feature. Based on a patch by Sergio Villar Senin · 5fabbccf
      Paolo Maggi authored
      2006-01-19  Paolo Maggi  <paolo@gnome.org>
      
      	Re-added autosave feature.
      	Based on a patch by Sergio Villar Senin <svillar@igalia.com>
      
      	* gedit/gedit-debug.[ch]: s/GEDIT_DEBUG_FILE/GEDIT_DEBUG_TAB
      
      	* gedit/gedit-document.c (gedit_document_finalize)
      	(gedit_document_init) (set_readonly) (gedit_document_get_encoding):
      	remove autosave related functions (moved to gedit-tab.c)
      
      	* gedit/gedit-document.h: remove autosave related functions (moved to
      	gedit-tab.h)
      
      	* gedit/gedit-prefs-manager-app.c
      	(gedit_prefs_manager_auto_save_changed): use new functions for autosave
      
      	* gedit/gedit-tab.c (install_auto_save_timeout)
      	(install_auto_save_timeout_if_needed) (remove_auto_save_timeout)
      	(gedit_tab_get_property) (gedit_tab_set_property)
      	(gedit_tab_finalize) (gedit_tab_class_init)
      	(document_uri_notify_handler)
      	(recoverable_loading_error_message_area_response)
      	(unrecoverable_reverting_error_message_area_response)
      	(show_loading_message_area) (show_saving_message_area)
      	(message_area_set_progress) (document_loading) (document_loaded)
      	(document_saving) (end_saving)
      	(unrecoverable_saving_error_message_area_response)
      	(no_backup_error_message_area_response)
      	(externally_modified_error_message_area_response)
      	(recoverable_saving_error_message_area_response) (document_saved)
      	(gedit_tab_init) (_gedit_tab_load) (_gedit_tab_revert)
      	(_gedit_tab_save) (gedit_tab_auto_save) (_gedit_tab_save_as)
      	(gedit_tab_get_auto_save_enabled) (gedit_tab_set_auto_save_enabled)
      	(gedit_tab_get_auto_save_interval)
      	(gedit_tab_set_auto_save_interval): implemented autosave feature.
      	It works in the following way:
      	- the auto_save_timeout timeout is used to call gedit_document_auto_save
      	  every X minutes
      	- when a file is loaded or saved the timeout is removed (to avoid the
      	  case in which autosave is called while loading/saving)
      	- when a file has been loaded/saved, if needed, the timeout is
      	  re-created and so gedit_document_auto_save will be called after X
      	  minutes again
      
      	* gedit/gedit-tab.h: new functions related to autosave
      
      	* bindings/python/gedit.defs: updated
      
      2006-01-19  Paolo Borelli  <pborelli@katamail.com>
      
      	* gedit/gedit-panel.c: fix warning.
      	* gedit-ui.h: make view bottom pane action sensitive.
      	* gedit/gedit-window.c: handle view bottom pane sensitivity according
      	to the presence of items in the bottom pane.
      5fabbccf
    • Paolo Borelli's avatar
      bind new panel function. add item_added and item_removed signals and a · e2900a22
      Paolo Borelli authored
      2006-01-19  Paolo Borelli  <pborelli@katamail.com>
      
      	* bindings/python/gedit.defs: bind new panel function.
      	* gedit/gedit-panel.[ch]: add item_added and item_removed signals and
      	a function to get the number of items in a panel.
      	* gedit/gedit-window.c: hide the bottom panel when all the items are
      	removed.
      e2900a22
  6. 02 Jan, 2006 1 commit
    • Steve Frécinaux's avatar
      reworked layout of panels, given their orientation: - add "orientation" · 16a30571
      Steve Frécinaux authored
      2006-01-02  Steve Frécinaux  <nud@apinc.org>
      
      	* gedit/gedit-panel.[ch]: reworked layout of panels, given their
      	orientation:
      	 - add "orientation" construction property
      	 - remove tab labels from left panel, show them for bottom one
      	 - ellipsize left panel title
       	 - remove title bar from bottom panel
       	 - placeholder for future panel toolbars
      	to get panel orientation
      
      	* gedit/gedit-window.c: adapt for the above changes
      
      	* bindings/python/gedit.defs: add GeditPanel.get_orientation()
      16a30571
  7. 12 Dec, 2005 1 commit