1. 15 Sep, 2003 7 commits
    • Raymond Penners's avatar
      Tree expanders fixed · 0815d43b
      Raymond Penners authored
      0815d43b
    • Matthias Clasen's avatar
      New function which implements "smart" separators by iterating once over · c77b0caa
      Matthias Clasen authored
      	* gtk/gtkuimanager.c (update_smart_separators): New function which
      	implements "smart" separators by iterating once over the entries of a
      	menu, hiding and showing separators as necessary.
      	(update_node): Mark separators used as fences of placeholders as
      	hidden. Explicitly added separators are marked as smart. Call
      	update_smart_separators after updating a menu or toolbar node.
      	Connect update_smart_separators to "notify::visible" signal on menu
      	and tool items.
      
      	* tests/merge-[12].ui: Test smart separators.
      
      	* gtk/tmpl/gtkuimanager.sgml: Add a paragraph about smart separators.
      c77b0caa
    • Matthias Clasen's avatar
      Add value parameter to allow setting the currently selected group member · caf380c7
      Matthias Clasen authored
      2003-09-15  Matthias Clasen  <maclas@gmx.de>
      
      	* gtk/gtkactiongroup.[hc]: (gtk_action_group_add_radio_actions):
      	(gtk_action_group_add_radio_actions_full): Add value parameter to allow
      	setting the currently selected group member before connecting signals.
      	(GtkToggleActionEntry): Separate struct for constructing toggle actions,
      	including a boolean to initialize the action state before connecting
      	signals.
      	(gtk_action_group_add_toggle_actions):
      	(gtk_action_group_add_toggle_actions_full): New functions to construct
      	toggle actions from an array of GtkToggleActionEntries.
      
      	* demos/gtk-demo/appwindow.c:
      	* tests/testactions.c:
      	* tests/testmerge.c: Adjust to new action group API.
      
      	* gtk/gtk-sections.txt: Add gtk_action_group_add_toggle_actions[_full].
      caf380c7
    • Raymond Penners's avatar
      Several last-minute fixes · b14b12f9
      Raymond Penners authored
      b14b12f9
    • cinamod's avatar
      implement caret blink · 2344c84e
      cinamod authored
      2344c84e
    • KAMAGASAKO Masatoshi's avatar
      Updated Japanese translation. · 9ee82364
      KAMAGASAKO Masatoshi authored
      2003-09-15  KAMAGASAKO Masatoshi  <emerald@gnome.gr.jp>
      
      	* ja.po: Updated Japanese translation.
      9ee82364
    • Bastien Nocera's avatar
      avoid crash when selecting a new filter and clicking a different directory · 52617a69
      Bastien Nocera authored
      2003-09-15  Bastien Nocera  <hadess@hadess.net>
      
      	* gtkfilefilter.c: (gtk_file_filter_filter): avoid crash when
      	selecting a new filter and clicking a different directory
      52617a69
  2. 14 Sep, 2003 6 commits
  3. 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
  4. 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
  5. 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
  6. 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
  7. 08 Sep, 2003 5 commits
  8. 06 Sep, 2003 5 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