1. 14 Sep, 2003 3 commits
  2. 12 Sep, 2003 1 commit
    • Jonathan Blandford's avatar
      Merge from stable. · 9ded36af
      Jonathan Blandford authored
      Fri Sep 12 16:32:53 2003  Jonathan Blandford  <jrb@redhat.com>
      
      	Merge from stable.
      
      	* gtk/gtktreeview.c (gtk_tree_view_button_press): only save the
      	pressed button (used to determine if we want to initiate a drag later
      	on) if the current grab widget is either NULL or tree_view (Reported
      	by Jeroen Zwartepoorte).
      9ded36af
  3. 11 Sep, 2003 7 commits
    • Matthias Clasen's avatar
      Add deprecation notes. (#121955) · df145210
      Matthias Clasen authored
      2003-09-12  Matthias Clasen  <maclas@gmx.de>
      
      	* gdk/gdkdraw.c (gdk_draw_string, gdk_draw_text)
      	(gdk_draw_text_wc): Add deprecation notes.  (#121955)
      df145210
    • Matthias Clasen's avatar
      Add table menu tests. · 6f81c10a
      Matthias Clasen authored
      2003-09-11  Matthias Clasen  <maclas@gmx.de>
      
      	* tests/testgtk.c: Add table menu tests.
      
      	* gtk/gtkmenu.c (gtk_menu_free_private): Don't forget to free the
      	GtkMenuPrivate struct itself. Pointed out by valgrind.
      
      	* gtk/gtkuimanager.c (gtk_ui_manager_finalize): Clean up
      	properly.  (#121998)
      6f81c10a
    • cinamod's avatar
      fix gtkrc · fdb56051
      cinamod authored
      fdb56051
    • Raymond Penners's avatar
      0.4.0 · b427fbd8
      Raymond Penners authored
      b427fbd8
    • Raymond Penners's avatar
      Notebook regression fixed · 33500b56
      Raymond Penners authored
      33500b56
    • Federico Mena Quintero's avatar
      Added an API point about needing a way to fetch the hpaned position so we · 9044d774
      Federico Mena Quintero authored
      2003-09-10  Federico Mena Quintero  <federico@ximian.com>
      
      	* TODO: Added an API point about needing a way to fetch the hpaned
      	position so we can save it.
      
      	* gtkfilechooser.c (_gtk_file_chooser_get_paths): Fixed API docs.
      	(gtk_file_chooser_get_uris): Likewise.
      	(gtk_file_chooser_get_filenames): Likewise.
      
      	* gtkfilechooserdialog.c (file_chooser_widget_file_activated): New
      	callback, calls gtk_window_activate_default().
      
      	* testfilechooser.c (response_cb): Print the selected files if the
      	user clicks OK.
      9044d774
    • Federico Mena Quintero's avatar
      Connect to "row_activated" on the file list. (list_row_activated): New · aa22566e
      Federico Mena Quintero authored
      2003-09-10  Federico Mena Quintero  <federico@ximian.com>
      
      	* gtkfilechooserimpldefault.c (create_file_list): Connect to
      	"row_activated" on the file list.
      	(list_row_activated): New function.  Changes to folders or emits
      	the "file-activated" signal depending on what type of row was
      	activated.
      	(create_folder_tree): Renamed from create_directory_tree(), since
      	"folder" is the new politically-correct name.
      
      	* gtkfilechooserprivate.h (struct _GtkFileChooserIface): Added a
      	file-activated signal.
      
      	* gtkfilechooser.c (gtk_file_chooser_class_init): Register the
      	signal.
      
      	* gtkfilechooserutils.c (_gtk_file_chooser_set_delegate): Connect
      	to "file-activated" on the delegate.
      	(delegate_file_activated): New function.
      
      	* TODO: Added an API item about Clipart-like folders provided by
      	applications.
      aa22566e
  4. 10 Sep, 2003 3 commits
    • Kristian Rietveld's avatar
      The table menu patch! Turns GtkMenu into a table, so you can attach menu · e23ed607
      Kristian Rietveld authored
      Wed Sep 10 22:25:04 2003  Kristian Rietveld  <kris@gtk.org>
      
      	The table menu patch! Turns GtkMenu into a table, so you can attach
      	menu items in numerous new ways! Be creative!
      
      	Contains some bug fixes and RTL adaptions from Matthias Clasen.
      
      	* gtk/gtkmenu.c [toplevel]: introduce ATTACH_INFO_KEY, extend
      	GtkMenuPrivate, introduce AttachInfo, add child properties enum,
      	(gtk_menu_free_private), (gtk_menu_get_private): we have to free
      	the heights array in the private struct,
      	(gtk_menu_class_init): reorder code a bit, install child properties,
      	(get_attach_info), (get_child_attach): new utility functions,
      	(gtk_menu_set_child_property), (gtk_menu_get_child_property): introduce
      	child properties, for the attach info,
      	(gtk_menu_remove): remove AttachInfo from menu item,
      	(gtk_menu_real_insert): implemented algorithm to automagically place
      	inserted menu items at the correct place in the table,
      	(gtk_menu_size_request), (gtk_menu_size_allocate),
      	(compute_child_offset): reworked/rewritten to support table menus,
      	(gtk_menu_attach): new function,
      	(find_child_containing), (gtk_menu_move_current): new functions to
      	get table menu keynav right.
      
      	* gtk/gtkmenu.h: add gtk_menu_attach() prototype.
      e23ed607
    • Matthias Clasen's avatar
      Only remove PropertyNotify events from the stream if they have been · 87c0d265
      Matthias Clasen authored
      2003-09-10  Matthias Clasen  <maclas@gmx.de>
      
      	* gtk/gtksocket.c (gtk_socket_filter_func): Only remove
      	PropertyNotify events from the stream if they have been handled,
      	in order to enable extending the plug<->socket communication via
      	properties.
      87c0d265
    • Federico Mena Quintero's avatar
      Use the cell renderer's "text" and "weight" properties rather than · 3a280821
      Federico Mena Quintero authored
      2003-09-09  Federico Mena Quintero  <federico@ximian.com>
      
      	* gtkfilechooserimpldefault.c (set_cell_text_bold_if_folder): Use
      	the cell renderer's "text" and "weight" properties rather than
      	"markup".
      3a280821
  5. 09 Sep, 2003 6 commits
    • Kristian Rietveld's avatar
      Big TreeView DnD fixage, makes drops on empty models work, makes TreeStore · b78691f0
      Kristian Rietveld authored
      Wed Sep 10 01:06:44 2003  Kristian Rietveld  <kris@gtk.org>
      
      	Big TreeView DnD fixage, makes drops on empty models work, makes
      	TreeStore DnD work and gets rid of gtk-tree-model-drop-append.
      	Related bugs #95362 and #113314. I don't want to touch this code
      	ever again.
      
      	* gtk/gtktreeprivate.h (GtkTreePrivate): add empty_view_drop field.
      
      	* gtk/gtktreednd.c (gtk_tree_get_row_drag_data): add check
      	for selection_data->length.
      
      	* gtk/gtktreeview.c (struct DestRow), (dest_row_free),
      	(set_dest_row), (get_dest_row): we don't store just the row ref
      	anymore, but a struct with the row ref and additional info,
      	(set_destination_row): handle drops on empty space and some
      	style fixes,
      	(get_logical_dest_row): also return path_down_mode/drop_append_mode
      	flags, handle dropping childs on their new parents, rewrite
      	drop append handling into something saner,
      	(gtk_tree_view_drag_motion): show a "drop possible arrow" on empty
      	spaces,
      	(gtk_tree_view_drag_drop): updates for updated backend,
      	(gtk_tree_view_drag_data_received): updates for updated backend,
      	path down mode (treestore DnD) handling,
      	(gtk_tree_view_set_drag_dest_row): set empty_view_drop flag,
      	when we are trying to drop a row on an empty model,
      	(gtk_tree_view_get_drag_dest_row): handle empty_view_drop flag.
      
      	* gtk/gtkliststore.c (gtk_list_store_drag_data_received),
      	(gtk_list_store_row_drop_possible): style and drop-append fixes.
      
      	* gtk/gtktreestore.c (gtk_tree_store_drag_data_received): ditto.
      b78691f0
    • Federico Mena Quintero's avatar
      Make the list model read in directory information as well. · 4b3e2d69
      Federico Mena Quintero authored
      2003-09-09  Federico Mena Quintero  <federico@ximian.com>
      
      	* gtkfilechooserimpldefault.c (tree_selection_changed): Make the
      	list model read in directory information as well.
      	(set_cell_text_bold_if_folder): New utility function.  Sets a
      	cell's text, making it bold if the file info is a folder.
      	(list_name_data_func): Use set_cell_text_bold_if_folder().
      	(list_mtime_data_func): Use set_cell_text_bold_if_folder().
      	(list_size_data_func): Don't set anything if the file info is a
      	folder.
      4b3e2d69
    • Owen Taylor's avatar
      Small doc fix · 243256ad
      Owen Taylor authored
      243256ad
    • Federico Mena Quintero's avatar
      Free the display_key. · 613b441b
      Federico Mena Quintero authored
      2003-09-08  Federico Mena Quintero  <federico@ximian.com>
      
      	* gtkfilesystem.c (gtk_file_info_free): Free the display_key.
      
      	* gtkfilechooserimpldefault.c (list_mtime_data_func): New
      	function.
      	(create_file_list): Add a modification time column; remove the
      	size column.
      	(mtime_sort_func): New callback.
      	(tree_selection_changed): Add a sorting function for the mtime
      	column.  Have the model fetch the modification time as well.
      	(tree_selection_changed): Do allow the file list model to show
      	directories.
      
      	* testfilechooser.c (my_new_from_file_at_size): Do not try to read
      	non-regular files.
      613b441b
    • cinamod's avatar
      fix font problem in workrave · 0d7de37e
      cinamod authored
      0d7de37e
    • cinamod's avatar
      make a bunch of data const · 7ba35e56
      cinamod authored
      7ba35e56
  6. 08 Sep, 2003 5 commits
  7. 06 Sep, 2003 6 commits
    • Matthias Clasen's avatar
      Fix a C99ism. (#121640, Josh Beam) · e8c93d56
      Matthias Clasen authored
      2003-09-07  Matthias Clasen  <maclas@gmx.de>
      
      	* gtk/gtkuimanager.c (update_node): Fix a C99ism.  (#121640,
      	Josh Beam)
      
      	Fixes for accelerator handling during (un)merging:
      
      	* gtk/gtkuimanager.c (update_node): Move setting info-action
      	after the switch, since the old action is needed in some cases.
      	In cases of proxy type mismatch, disconnect the old proxy from
      	the old action.
      
      	* gtk/gtkaction.c (remove_proxy): Renamed from
      	gtk_action_remove_proxy(). Move unsetting of the accelerator
      	here from disconnect_proxy() in order to catch all cases of
      	removing a proxy.
      	(gtk_action_disconnect_proxy): Fix logic in g_return_if_fail()
      	to fail if proxy isn't a proxy of action.
      e8c93d56
    • Pablo Saratxaga's avatar
      Added Uzbek files · cc4935c0
      Pablo Saratxaga authored
      cc4935c0
    • Matthias Clasen's avatar
      Make disconnect work for toolitems. · 0a79e5e3
      Matthias Clasen authored
      2003-09-07  Matthias Clasen  <maclas@gmx.de>
      
      	* gtk/gtkaction.c (disconnect_proxy): Make disconnect work
      	for toolitems.
      0a79e5e3
    • Matthias Clasen's avatar
      Disconnect from prev_action, not from action. (Fix by David Hampton) · 7db084ec
      Matthias Clasen authored
      2003-09-06  Matthias Clasen  <maclas@gmx.de>
      
      	* gtk/gtkaction.c (gtk_action_connect_proxy): Disconnect from
      	prev_action, not from action.  (Fix by David Hampton)
      7db084ec
    • Mugurel Tudor's avatar
      *** empty log message *** · aae31648
      Mugurel Tudor authored
      aae31648
    • Federico Mena Quintero's avatar
      New function. (create_directory_tree): New function. (create_file_list): · a9eaa49d
      Federico Mena Quintero authored
      2003-09-05  Federico Mena Quintero  <federico@ximian.com>
      
      	* gtkfilechooserimpldefault.c (create_filter): New function.
      	(create_directory_tree): New function.
      	(create_file_list): New function.
      	(create_filename_entry): New function.
      	(gtk_file_chooser_impl_default_constructor): Use the functions
      	above rather than creating the whole file chooser megawidget here,
      	for readability.  This will also let us rearrange the user
      	interface more easily.
      a9eaa49d
  8. 05 Sep, 2003 1 commit
  9. 04 Sep, 2003 7 commits
    • Matthias Clasen's avatar
      Test buttons and toggle buttons as proxies. · 9ae676b0
      Matthias Clasen authored
      2003-09-04  Matthias Clasen  <maclas@gmx.de>
      
      	* tests/testmerge.c: Test buttons and toggle buttons as proxies.
      
      	* gtk/gtktoggleaction.c (connect_proxy):
      	(gtk_toggle_action_real_toggled): Support toggle buttons as proxies. Note
      	that a "draw_as_radio" property is needed for check buttons similar to
      	check menu items, in order to fully support button proxies for radio actions.
      
      	* gtk/gtkaction.c (connect_proxy): Allow buttons as proxies.
      9ae676b0
    • Matthias Clasen's avatar
      Test gtk_ui_manager_add_ui(). · 02a963e1
      Matthias Clasen authored
      2003-09-04  Matthias Clasen  <maclas@gmx.de>
      
      	* tests/testmerge.c (toggle_dynamic): Test gtk_ui_manager_add_ui().
      
      	* gtk/gtkuimanager.h: Add GtkUIManagerItemType enum which is needed for the
      	'type' argument of gtk_ui_manager_add_ui().
      
      	* gtk/gtkuimanager.[hc] (gtk_ui_manager_add_ui): Add 'type' and 'top' arguments
      	to make this function as powerful as the XML methods of adding UI.  (#120647)
      
      	* gtk/gtk-sections.txt: Add GtkUIManagerItemType.
      02a963e1
    • Kristian Rietveld's avatar
      Merge from stable. · 563746c7
      Kristian Rietveld authored
      Thu Sep  4 19:11:23 2003  Kristian Rietveld  <kris@gtk.org>
      
      	Merge from stable.
      
      	* docs/RELEASE-HOWTO: updates.
      563746c7
    • Matthias Clasen's avatar
      Use "position" instead of "pos". · 6c227b5a
      Matthias Clasen authored
      	* tests/merge-2.ui: Use "position" instead of "pos".
      
      	* gtk/gtkuimanager.c (start_element_handler): No need
      	to be terse: Change the name of the "pos" attribute
      	to "position".
      
      	* gtk/tmpl/gtkuimanager.sgml: Change the name of the "pos"
      	attribute to "position".
      6c227b5a
    • Matthias Clasen's avatar
      Doc tweaks. · 0a163c7f
      Matthias Clasen authored
      0a163c7f
    • Matthias Clasen's avatar
      Un-prefix GtkUIManagerNodeType and GtkUIManagerNode to shorten the names · e4dbc17a
      Matthias Clasen authored
      	* gtk/gtkuimanager.c: Un-prefix GtkUIManagerNodeType and
      	GtkUIManagerNode to shorten the names and to make the
      	GTK_UI_MANAGER_<TYPE> names available for a public enum.
      e4dbc17a
    • Matthias Clasen's avatar
      Various doc tweaks. · e6a8aa11
      Matthias Clasen authored
      2003-09-04  Matthias Clasen  <maclas@gmx.de>
      
      	* gtk/gtkuimanager.c: Various doc tweaks.
      
      	* gtk/gtkuimanager.c (start_element_handler):
      	(end_element_handler): Improve error reporting.
      e6a8aa11
  10. 03 Sep, 2003 1 commit
    • Kristian Rietveld's avatar
      Merge from stable. · bc61e723
      Kristian Rietveld authored
      Wed Sep  3 23:18:17 2003  Kristian Rietveld  <kris@gtk.org>
      
      	Merge from stable.
      
      	* gtk/gtkmenu.c (gtk_menu_real_move_scroll): for the END case,
      	use end_position - page_size instead of G_MAXINT, since
      	gtk_menu_scroll_to doesn't CLAMP anymore internally. (Fixes #121237,
      	reported by Havoc Pennington).
      bc61e723