1. 28 Oct, 2005 7 commits
  2. 27 Oct, 2005 5 commits
    • Michael Natterer's avatar
      Fix bug #319974: · 194e8daf
      Michael Natterer authored
      2005-10-26  Michael Natterer  <mitch@imendio.com>
      
      	Fix bug #319974:
      
      	* gtk/gtkcellrendererpixbuf.c (gtk_cell_renderer_pixbuf_set_property):
      	make sure that setting any of pixbuf/stock-id/icon-name resets the
      	others because they are mutually exclusive, and that unsetting any
      	of them only resets the pixbuf and nothing else. Also added
      	some missing g_object_notify().
      
      	(gtk_cell_renderer_pixbuf_get_property): simplified calls to
      	g_value_set_object().
      
      	(gtk_cell_renderer_pixbuf_create_stock_pixbuf)
      	(gtk_cell_renderer_pixbuf_create_named_icon_pixbuf): added
      	g_object_notify ("pixbuf").
      194e8daf
    • Matthias Clasen's avatar
      Be more careful about initializing cell_area. (#319382, Tommi Komulainen) · 18f32d04
      Matthias Clasen authored
      2005-10-27  Matthias Clasen  <mclasen@redhat.com>
      
      	* gtk/gtktreeview.c (gtk_tree_view_button_press): Be more
      	careful about initializing cell_area.  (#319382, Tommi
      	Komulainen)
      18f32d04
    • Matthias Clasen's avatar
      Don't eat Ctrl-PageUp/PageDown. (#318670, Christian Neumair) · 7de0d972
      Matthias Clasen authored
      2005-10-27  Matthias Clasen  <mclasen@redhat.com>
      
      	* gtk/gtkcombobox.c (gtk_combo_box_key_press): Don't eat
      	Ctrl-PageUp/PageDown.  (#318670, Christian Neumair)
      7de0d972
    • Matthias Clasen's avatar
      Only set the text if it is not NULL. (#319930, Thomas Klausner) · bc41f73c
      Matthias Clasen authored
      2005-10-27  Matthias Clasen  <mclasen@redhat.com>
      
      	* demos/gtk-demo/clipboard.c (paste_received): Only set the
      	text if it is not NULL.  (#319930, Thomas Klausner)
      
      	* gtk/gtkselection.c (gtk_selection_data_get_pixbuf): Close the
      	loader before trying to get the pixbuf.  (#319930, Thomas Klausner)
      bc41f73c
    • Matthias Clasen's avatar
      Use G_MODULE_BIND_LAZY when dlopening modules. (#319557, Laszlo Peter) · e80f12b6
      Matthias Clasen authored
      2005-10-26  Matthias Clasen  <mclasen@redhat.com>
      
      	* gtk/gtkfilesystem.c (gtk_file_system_module_load):
      	* gtk/gtkthemes.c (gtk_theme_engine_load):
      	* gtk/gtkimmodule.c (gtk_im_module_load): Use G_MODULE_BIND_LAZY
      	when dlopening modules.  (#319557, Laszlo Peter)
      e80f12b6
  3. 26 Oct, 2005 9 commits
  4. 25 Oct, 2005 4 commits
    • Kristian Rietveld's avatar
      Fixes #311955, reported by Markku Vire; and a lot more. · af86cec5
      Kristian Rietveld authored
      2005-10-25  Kristian Rietveld  <kris@gtk.org>
      
      	Fixes #311955, reported by Markku Vire; and a lot more.
      
      	* gtk/gtktreemodelfilter.c: Made this thing work correctly.
      	Levels can now have invisible nodes cached, functions have been
      	rewritten/refactored to take this into account; also the logic in
      	some functions has been corrected.
      
      	Each referenced node now references all visible children or a single
      	invisible child, in order to be able to monitor all changes in the
      	child model required for correct operation.
      
      	When a virtual root is set, all nodes on the virtual root level are
      	referenced.
      
      	At last, a bunch of random bug fixes and comment updates.
      af86cec5
    • Matthias Clasen's avatar
      Add some more docs. (#319722, Paolo Borelli) · 86b656aa
      Matthias Clasen authored
      2005-10-25  Matthias Clasen  <mclasen@redhat.com>
      
      	* gtk/gtktexttagtable.c (gtk_text_tag_table_foreach): Add some
      	more docs.  (#319722, Paolo Borelli)
      86b656aa
    • Matthias Clasen's avatar
      Make the initialization of screen_x11->xft_rgba more explicit. (#319627, · f10f8579
      Matthias Clasen authored
      2005-10-25  Matthias Clasen  <mclasen@redhat.com>
      
      	* gdk/x11/gdkxftdefaults.c (init_xft_settings): Make the
      	initialization of screen_x11->xft_rgba more explicit.  (#319627,
      	Bogdan Nicula)
      f10f8579
    • Matthias Clasen's avatar
      Fix whitespace in a blurb. (#319499, Francisco Javier F. Serrador) · d77bc26a
      Matthias Clasen authored
      2005-10-25  Matthias Clasen  <mclasen@redhat.com>
      
      	* gtk/gtkfilechooser.c (gtk_file_chooser_class_init): Fix whitespace
      	in a blurb.  (#319499, Francisco Javier F. Serrador)
      d77bc26a
  5. 24 Oct, 2005 2 commits
    • Matthias Clasen's avatar
      Add settings to hide the input method and Unicode control character · f2724a25
      Matthias Clasen authored
      2005-10-24  Matthias Clasen  <mclasen@redhat.com>
      
              Add settings to hide the input method and Unicode control character
              submenus in the context menus of GtkEntry and GtkTextView.
      
              * gdk/x11/gdkevents-x11.c: Map GTK+ settings to X settings.
      
              * gtk/gtksettings.c (gtk_settings_class_init): Declare GTK+ settings here.
      
              * gtk/gtktextview.c (popup_targets_received):
              * gtk/gtkentry.c (popup_targets_received): Use the settings here.
      f2724a25
    • Kristian Rietveld's avatar
      emitting row-has-child-toggled when the level is not in the cache does not · 3fe6e986
      Kristian Rietveld authored
      2005-10-24  Kristian Rietveld  <kris@gtk.org>
      
      	* gtk/gtktreemodelsort.c (gtk_tree_model_sort_row_inserted): emitting
      	row-has-child-toggled when the level is not in the cache does not
      	make sense.  (This bug probably crept in during the early stages
      	of GtkTreeModelSort when there wasn't a correct row-has-child-toggled
      	implementation yet),
      	(gtk_tree_model_sort_real_unref_node): only get the child iter
      	when we will actually also use it.
      3fe6e986
  6. 22 Oct, 2005 2 commits
    • Michael Natterer's avatar
      check for the widget being realized, in addition to being visible, to · d25d6585
      Michael Natterer authored
      2005-10-22  Michael Natterer  <mitch@imendio.com>
      
      	* gtk/gtktreeview.c (gtk_tree_view_scroll_to_cell): check for the
      	widget being realized, in addition to being visible, to avoid
      	running into precondition check in gtk_tree_view_get_cell_area().
      	(approved by Kris).
      d25d6585
    • Dom Lachowicz's avatar
      Experimentally, scrollbar steppers can shrink to 8 pixels on Win32. · f9365c37
      Dom Lachowicz authored
      	* modules/engines/ms-windows/msw_style.c (setup_msw_rc_style):
      	Experimentally, scrollbar steppers can shrink to 8 pixels on
      	Win32. Reflect that in the theme.
      	* modules/engines/ms-windows/Theme/gtk-2.0/gtkrc: Experimentally,
      	there is a 1-pixel border between a scrollbar and its child
      	in ScrolledWindows on Win32. Reflect that in the theme.
      f9365c37
  7. 20 Oct, 2005 1 commit
  8. 19 Oct, 2005 1 commit
    • Federico Mena Quintero's avatar
      Fixes bug #317999: · 647ba5b4
      Federico Mena Quintero authored
      2005-10-18  Federico Mena Quintero  <federico@ximian.com>
      
      	Fixes bug #317999:
      
      	* tests/autotestfilechooser.c
      	(test_button_folder_states_for_action): Test that we have either
      	$cwd or the explicitly-set folder.
      	(test_reload_sequence): Likewise.
      
      	* gtk/gtkfilechooserdefault.c
      	(gtk_file_chooser_default_get_current_folder): If our reload_state
      	is RELOAD_EMPTY, return a GtkFilePath corresponding to $cwd.
      647ba5b4
  9. 14 Oct, 2005 1 commit
    • Tor Lillqvist's avatar
      Remove the clipboard viewer code. It didn't really do anything useful, and · e6fa7394
      Tor Lillqvist authored
      2005-10-14  Tor Lillqvist  <tml@novell.com>
      
      	* gdk/win32/gdkdisplay-win32.c: Remove the clipboard viewer code.
      	It didn't really do anything useful, and was just confusing and
      	incomplete. Comments claimed we don't do delayed rendering, but in
      	fact we do, for images. (The delayed rendering code has other
      	problems, though, see #168173.) The clipboard viewer code was
      	probably even buggy (the WM_CHANGECBCHAIN handled didn't propagate
      	the message when necessary). It was just test code, it said so in
      	a comment. Add something similar back later if necessary.
      
      	(_win32_on_clipboard_change,
      	_gdk_win32_register_clipboard_notification): Remove.
      
      	(gdk_display_supports_selection_notification,
      	gdk_display_request_selection_notification): Always just return
      	FALSE. We didn't generate any GDK_OWNER_CHANGE events anywhere.
      e6fa7394
  10. 13 Oct, 2005 2 commits
    • Tor Lillqvist's avatar
      Don't treat Alt-Enter specially. It does not have any special meaning and · d297ff32
      Tor Lillqvist authored
      2005-10-13  Tor Lillqvist  <tml@novell.com>
      
      	* gdk/win32/gdkevents-win32.c (gdk_event_translate): Don't treat
      	Alt-Enter specially. It does not have any special meaning and
      	should be passed on to the application. (#318378, Tim Evans)
      d297ff32
    • Tor Lillqvist's avatar
      Set visual depth to 24 for 32 bits-per-pixel devices on Win32. This allows · b25e6c5b
      Tor Lillqvist authored
      2005-10-13  Tor Lillqvist  <tml@novell.com>
      
      	Set visual depth to 24 for 32 bits-per-pixel devices on
      	Win32. This allows gdk_drawable_real_draw_pixbuf() to use the
      	optimized composite_0888() function rather than the slower image
      	dithering functions to draw pixbufs (#313993, John Ehresman)
      
      	* gdk/win32/gdkimage-win32.c (_gdk_win32_new_image): Use
      	_gdk_windowing_get_bits_for_depth() to initialize
      	GdkImage::bits_per_pixel.
      	(_gdk_windowing_get_bits_for_depth): Return 32 bits for depth 24.
      
      	* gdk/win32/gdkpixmap-win32.c (gdk_pixmap_new): Use
      	_gdk_windowing_get_bits_for_depth() to initialize
      	BITMAPINFOHEADER::biBitCount.
      
      	* gdk/win32/gdkvisual-win32.c (_gdk_visual_init): Set
      	GdkVisual::depth to 24 even if GetDeviceCaps(BITSPIXEL) returns
      	32.
      b25e6c5b
  11. 12 Oct, 2005 1 commit
  12. 11 Oct, 2005 1 commit
    • Matthias Clasen's avatar
      Try to match an off toggle here with the matching on toggle if it · a07a5ecb
      Matthias Clasen authored
      2005-10-11  Matthias Clasen  <mclasen@redhat.com>
      
      	* gtk/gtktextbtree.c (_gtk_text_btree_delete): Try to match an off
      	toggle here with the matching on toggle if it immediately follows.
      	This is a common case, and handling it here prevents quadratic blowup
      	in cleanup_line() below.  (#317125)
      
      	* gtk/gtktextsegment.h:
      	* gtk/gtktextsegment.c (_gtk_char_segment_new_from_two_strings): Pass
      	the character counts into this function instead of computing them
      	again.
      a07a5ecb
  13. 10 Oct, 2005 1 commit
  14. 09 Oct, 2005 1 commit
  15. 07 Oct, 2005 2 commits
    • Matthias Clasen's avatar
      fix includes · 6592f00a
      Matthias Clasen authored
      6592f00a
    • Federico Mena Quintero's avatar
      Fixes bug #317999: · cca93029
      Federico Mena Quintero authored
      2005-10-07  Federico Mena Quintero  <federico@ximian.com>
      
      	Fixes bug #317999:
      
      	* tests/autotestfilechooser.c (test_reload_sequence): Ensure that
      	the the result of gtk_file_chooser_get_folder() is NULL or
      	non-NULL at the right times.  Log the tests.
      	(test_button_folder_states): New test for the initial states of
      	the current folder in GtkFileChooserButton.
      	(main): Test that the number of warnings/errors/critical errors is
      	zero.
      
      	* gtk/gtkfilechooser.c (gtk_file_chooser_get_current_folder):
      	Clarify the documentation on when this can return NULL.
      	(gtk_file_chooser_get_current_folder_uri): Likewise.
      
      	* gtk/gtkfilechooserbutton.c (struct
      	_GtkFileChooserButtonPrivate): Added a folder_has_been_set flag;
      	we use it to keep track of whether a folder has been set.
      	(gtk_file_chooser_button_map):  Implement.  If no folder has been
      	loaded before, we at least try to load $cwd here.
      	(gtk_file_chooser_button_constructor): If the construct-time
      	dialog already has a folder set, turn on our folder_has_been_set
      	flag.
      	(dialog_current_folder_changed_cb): Turn on our
      	folder_has_been_set flag.
      cca93029