1. 21 Apr, 2004 1 commit
    • Matthias Clasen's avatar
      A new demo. · 8d30ad28
      Matthias Clasen authored
      2004-04-21  Matthias Clasen  <mclasen@redhat.com>
      
      	* demos/gtk-demo/expander.c (do_expander): A new demo.
      
      	* demos/gtk-demo/Makefile.am (demos): Add expander.c.
      8d30ad28
  2. 20 Apr, 2004 2 commits
  3. 19 Apr, 2004 3 commits
  4. 18 Apr, 2004 3 commits
    • Soeren Sandmann's avatar
      Make gdk_keymap_translate_keyboard_state() handle NULL keymaps. (#139715, · 8340991b
      Soeren Sandmann authored
      Sun Apr 18 17:06:03 2004  Soeren Sandmann  <sandmann@daimi.au.dk>
      
      	* gdk/x11/gdkkeys-x11.c (get_effective_keymap): Make
      	gdk_keymap_translate_keyboard_state() handle NULL
      	keymaps. (#139715, Torsten Schoenfeld).
      8340991b
    • Soeren Sandmann's avatar
      Don't erase GDK_EXTRA_CFLAGS. Fixes bug 139586, reported by Pedro · 79bc80fe
      Soeren Sandmann authored
      Sun Apr 18 16:59:21 2004  Soeren Sandmann  <sandmann@daimi.au.dk>
      
      	* configure.in: Don't erase GDK_EXTRA_CFLAGS. Fixes bug 139586,
      	reported by Pedro RODRIGUEZ, about compilation problems when
      	Xcursor is installed in a non-standard location.
      79bc80fe
    • Soeren Sandmann's avatar
      Support for _NET_WM_USER_TIME (bug 115650). Patch by Elijah Newren. · 730da6f8
      Soeren Sandmann authored
      Sun Apr 18 16:15:15 2004  Soeren Sandmann  <sandmann@daimi.au.dk>
      
      	Support for _NET_WM_USER_TIME (bug 115650). Patch by Elijah
      	Newren.
      
      	* gdk/x11/gdkwindow-x11.[ch]: Add new internal function
      	_gdk_x11_set_user_time() to set the _NET_WM_USER_TIME property.
      
      	* gdk/x11/gdkdisplay-x11.h (struct _GdkDisplayX11): Add user_time field
      
      	* gdk/x11/gdkdisplay-x11.c: Add _NET_WM_USER_TIME to list of
      	precached atoms.
      
      	* gdk/x11/gdkinput-x11.c, gdk/x11/gdkevents-x11.c: Set the
      	property on user interaction.
      730da6f8
  5. 15 Apr, 2004 3 commits
  6. 14 Apr, 2004 6 commits
    • Matthias Clasen's avatar
      Make all style properties readonly. · a1fd4e4b
      Matthias Clasen authored
      2004-04-14  Matthias Clasen  <mclasen@redhat.com>
      
      	* gtk/gtkcombobox.c:
      	* gtk/gtkwidget.c:
      	Make all style properties readonly.
      a1fd4e4b
    • Matthias Clasen's avatar
      Add a11y relations between the color wheel and the spin buttons. (#132745, · 321cedab
      Matthias Clasen authored
      2004-04-14  Matthias Clasen  <mclasen@redhat.com>
      
      	* gtk/gtkcolorsel.c: Add a11y relations between the color
      	wheel and the spin buttons.  (#132745, Padraig, O'Briain)
      
      	* gtk/gtkiconfactory.c (gtk_icon_set_render_icon): Document
      	the meaning of size == -1.
      
      	* gtk/gtkwidget.c (gtk_widget_render_icon): Explicitly accept
      	a size of -1.  (#137436, Brian Cameron)
      321cedab
    • Matthias Clasen's avatar
      Make the arrow and separator regular children of an hbox inside the · b18a684f
      Matthias Clasen authored
      2004-04-14  Matthias Clasen  <mclasen@redhat.com>
      
      	* gtk/gtkcombobox.c: Make the arrow and separator regular
      	children of an hbox inside the button, and propagate state
      	changes from the button to the cell view.  (part of the fix
      	for #138650, should also fix #137535)
      
      	* gtk/gtkcellview.c (gtk_cell_view_expose): Pass the PRELIT
      	state to gtk_cell_renderer_render() when prelighted. (part
      	of the fix for #138650)
      
      	* gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_render):
      	Use PRELIGHT state when appropriate.  (part of the fix for
      	#138650)
      b18a684f
    • Matthias Clasen's avatar
      Don't spit out warnings if called before the combo box is realized. · 5dc40ee3
      Matthias Clasen authored
      2004-04-14  Matthias Clasen  <mclasen@redhat.com>
      
      	* gtk/gtkcombobox.c (gtk_combo_box_relayout): Don't spit
      	out warnings if called before the combo box is
      	realized.  (#139742, Philip Langdale)
      5dc40ee3
    • Jonathan Blandford's avatar
      propagate expose events to children. · 11eaf5a9
      Jonathan Blandford authored
      Wed Apr 14 03:45:39 2004  Jonathan Blandford  <jrb@gnome.org>
      
              * gtk/gtktreeview.c (gtk_tree_view_expose): propagate expose
              events to children.
      11eaf5a9
    • Jonathan Blandford's avatar
      remove spurious gtk_box_pack_start. · 5d3a68a8
      Jonathan Blandford authored
      Wed Apr 14 03:32:58 2004  Jonathan Blandford  <jrb@gnome.org>
      
              * gtk/gtkpathbar.c (make_directory_button): remove spurious
              gtk_box_pack_start.
      5d3a68a8
  7. 13 Apr, 2004 6 commits
  8. 12 Apr, 2004 2 commits
    • Matthias Clasen's avatar
      Don't unref model if it is NULL. (#139770) · db6f9f3e
      Matthias Clasen authored
      2004-04-12  Matthias Clasen  <mclasen@dhcp64-228.boston.redhat.com>
      
      	* gtk/gtkcombobox.c (gtk_combo_box_unset_model): Don't unref
      	model if it is NULL. (#139770)
      db6f9f3e
    • Matthias Clasen's avatar
      Typo fix. · d7cb9461
      Matthias Clasen authored
      2004-04-12  Matthias Clasen  <mclasen@dhcp64-228.boston.redhat.com>
      
      	* gtk/gtktreeview.c (gtk_tree_view_get_cell_area): Typo fix.
      
      	* gtk/gtkentrycompletion.c (gtk_entry_completion_init): Don't add
      	a shadow inside the scrolled window, add it around the vbox.
      
      	* gtk/gtkentryprivate.h:
      	* gtk/gtkentrycompletion.c (_gtk_entry_completion_resize_popup):
      	Return a boolean indicating whether the popup is positioned above
      	or below. Scroll the completions to the beginning or the end,
      	depending on the positioning.
      
      	* gtk/gtkentry.c (gtk_entry_completion_key_press): Make keynav
      	wrap around in the entry completion popup, and allow GDK_UP to
      	enter the popup.  (#137440)
      
      2004-04-12  Matthias Clasen  <mclasen@redhat.com>
      
      	* gtk/gtkentry.c (gtk_entry_size_request): Make sure the style is
      	there before using it.
      d7cb9461
  9. 11 Apr, 2004 2 commits
    • Jonathan Blandford's avatar
      Moved search entries into priv data. · 0aebe343
      Jonathan Blandford authored
      Sun Apr 11 15:08:45 2004  Jonathan Blandford  <jrb@gnome.org>
      
              * gtk/gtktreeprivate.h: Moved search entries into priv data.
      
              * gtk/gtktreeview.c: Prep for type-ahead support.
      
              (gtk_tree_view_destroy): Destroy the search window explicitly.
              (gtk_tree_view_key_press): Minor change; prep for type-ahead
              (gtk_tree_view_ensure_interactive_directory): New function
              (gtk_tree_view_focus_out): Rework to handle new entry life-cycle.
              (gtk_tree_view_real_start_interactive_search): rework
              (gtk_tree_view_search_dialog_hide): ditto
              (gtk_tree_view_search_delete_event): ditto
              (gtk_tree_view_search_button_press_event): ditto
              (gtk_tree_view_search_key_press_event): ditto
              (gtk_tree_view_search_move): ditto
              (gtk_tree_view_search_init): ditto
      
              * gtk/gtktreeviewcolumn.c:
              (gtk_tree_view_column_cell_layout_clear): remove unused variable.
      
              * tests/testfilechooser.c: (main): change
      0aebe343
    • Hans Breuer's avatar
      workaround for bug #137496, the real fix would involve just another small · e9ec1e81
      Hans Breuer authored
      2004-04-11  Hans Breuer  <hans@breuer.org>
      
      	* gdk/win32/gdkspawn-win32.c : workaround for bug #137496,
      	the real fix would involve just another small API breakage,
      	i.e. gdk_spawn_* using GPid not just gint.
      
      	* gtk/makefile.msc.in : build gtk-win32.res, not gtk.res
      e9ec1e81
  10. 10 Apr, 2004 1 commit
    • Tor Lillqvist's avatar
      If both Shift and CapsLock pressed, ignore the shift only for letters · 47b6f521
      Tor Lillqvist authored
      2004-04-10  Tor Lillqvist  <tml@iki.fi>
      
      	* gdk/win32/gdkkeys-win32.c (gdk_keymap_translate_keyboard_state):
      	If both Shift and CapsLock pressed, ignore the shift only for
      	letters (that would have been affected by the CapsLock). (#139095)
      
      	* gdk/win32/gdkglobals-win32.c: Disable tablet support by default,
      	seems to be even buggier now than it used to be. (#138341)
      	Initialize _gdk_input_ignore_wintab to TRUE.
      
      	* gdk/win32/gdkmain-win32.c: Add --use-wintab switch and
      	GDK_USE_WINTAB environment variable to turn on tablet support.
      47b6f521
  11. 09 Apr, 2004 2 commits
  12. 07 Apr, 2004 1 commit
    • Federico Mena Quintero's avatar
      Fix #132500. · d903e89e
      Federico Mena Quintero authored
      2004-04-07  Federico Mena Quintero  <federico@ximian.com>
      
      	Fix #132500.
      
      	* gtk/gtkfilesystem.c (gtk_file_system_parse): Ensure that the
      	passed-in 'str' is not NULL.
      
      	* gtk/gtkfilesystemunix.c (expand_tilde): New helper function;
      	expands "~/" or "~foo/" at the beginning of a filename.
      	(gtk_file_system_unix_parse): Use expand_tilde() before doing
      	anything else.
      
      	* gtk/gtkfilechooserentry.c
      	(gtk_file_chooser_entry_maybe_update_directory): Take in a
      	force_reload argument.
      	(gtk_file_chooser_entry_changed): If gtk_file_system_parse()
      	returns an error, set the file_part_pos to -1.
      	(load_directory_callback): Only populate the model if the
      	file_part_pos is not -1.
      d903e89e
  13. 06 Apr, 2004 5 commits
  14. 05 Apr, 2004 1 commit
    • Anders Carlsson's avatar
      Handle '--' correctly. · 3bfc888d
      Anders Carlsson authored
      2004-04-05  Anders Carlsson  <andersca@gnome.org>
      
      	* gdk/gdk.c (gdk_arg_context_parse): Handle '--' correctly.
      3bfc888d
  15. 02 Apr, 2004 2 commits
    • Jonathan Blandford's avatar
      set the height correctly for fixed height when inserting a node, #138082 · 277bfffe
      Jonathan Blandford authored
      Fri Apr  2 17:57:33 2004  Jonathan Blandford  <jrb@redhat.com>
      
              * gtk/gtktreeview.c (gtk_tree_view_row_inserted): set the height
              correctly for fixed height when inserting a node, #138082
      277bfffe
    • Federico Mena Quintero's avatar
      Fix #136077. · 8e661364
      Federico Mena Quintero authored
      2004-04-01  Federico Mena Quintero  <federico@ximian.com>
      
      	Fix #136077.
      
      	* gtk/gtkpathbar.h (struct _GtkPathBarClass): Add a
      	"child_is_hidden" boolean argument to the "path-clicked" signal.
      
      	* gtk/gtkpathbar.c (struct _ButtonData): Added a file_is_hidden
      	field.
      	(make_directory_button): Take a file_is_hidden argument; put it in
      	the ButtonData.
      	(_gtk_path_bar_set_path): See whether each path component path is
      	a hidden file.
      	(gtk_path_bar_class_init): Add the file_is_hidden argument to the
      	"path-clicked" signal.
      	(button_clicked_cb): See if the downwards button represents a
      	hidden file for the file_is_hidden argument in the signal
      	emission.
      
      	* gtk/gtkmarshalers.list: Added a signal type VOID:POINTER,BOOLEAN.
      
      	* gtk/gtkfilechooserdefault.c
      	(gtk_file_chooser_default_select_path): If we fail to switch
      	folders, don't try to select the path in the file system model.
      	Also, return the result from _gtk_file_system_model_path_do().
      	(gtk_file_chooser_default_select_path): Turn on show_hidden in the
      	file system model if we are asked to select a hidden file.
      	(path_bar_clicked): Show hidden files based on whether the
      	immediate downwards folder in the path bar is a hidden file
      	itself.
      	(struct _GtkFileChooserDefault): Added fields
      	browse_files_popup_menu and browse_files_popup_menu_hidden_files_item.
      	(create_file_list): Set an object data key of
      	"GtkFileChooserDefault" on the tree view so that we can find the
      	impl from the popup menu callbacks.  Also, hook up to the
      	"button-press-event" and "popup-menu" signals in the file list to
      	bring up a popup menu.
      	(list_popup_menu_cb): New callback.
      	(list_button_press_event_cb): New callback.
      
      	Fix #138763:
      
      	* gtk/gtkfilesystemmodel.c
      	(_gtk_file_system_model_new): Oops, connect_object to
      	"finished-loading".
      8e661364