1. 02 Jun, 2006 1 commit
    • Kristian Rietveld's avatar
      Separate sensitive/selectable properties. · a70e6664
      Kristian Rietveld authored
      2006-06-02  Kristian Rietveld  <kris@imendio.com>
      
      	Separate sensitive/selectable properties.
      
      	* gtk/gtktreeselection.c (tree_column_is_sensitive): remove,
      	(_gtk_tree_selection_row_is_selectable): remove checks to see if at
      	least one column is sensitive,
      	(gtk_tree_selection_real_select_node): remove code which enables
      	insensitive rows to always be unselected.
      
      	* gtk/gtktreeview.c (gtk_tree_view_row_changed): remove code
      	that unselects a node if it just became insensitive.
      
      	* gtk/gtkcombobox.c (gtkcombo_box_list_select_func): new function,
      	based on the at least one column sensitive check from
      	_gtk_tree_selection_row_is_selectable(),
      	(gtk_combo_box_list_setup): set selection function on tree selection.
      a70e6664
  2. 14 May, 2006 1 commit
  3. 02 May, 2006 1 commit
  4. 25 Apr, 2006 1 commit
    • Søren Sandmann's avatar
      Create 'composited' label. · b9d1a034
      Søren Sandmann authored
      Tue Apr 25 10:25:28 2006  Søren Sandmann  <sandmann@redhat.com>
      
      	* tests/testgtk.c (create_alpha_window): Create 'composited' label.
      
      	* tests/testgtk.c (on_composited_changed): New function, change
      	the label to say whether the screen is composited or not.
      
      	* gtk/gtkwindow.c (gtk_window_on_composited_changed): When
      	composited status change, invalidate the window and propagate the signal;.
      
      	* gtk/gtkwindow.c (gtk_window_map): Set the appropriate type hint
      	if reset_type_hint is TRUE.
      
      	* gtk/gtkwindow.c (gtk_window_set_type_hint): If hint is one of
      	the old hints, store a shadow copy in the public window->type_hint
      	bitfield, otherwise set this field to normal. Set the private
      	field to the type hint.
      
      	* gtk/gtkwindow.c (gtk_window_init): Initialize priv->type_hint.
      
      	* gtk/gtkwindow.c (struct _GtkWindowPrivate): New field
      	"reset_type_hint" indicating whether the type hint needs to be
      	reset. New field type_hint containing a GdkWindowTypeHint.
      
      	* gtk/gtkwidget.c (propagate_composited_changed): New function to
      	propagate changes in composited status.
      	(gtk_widget_class_init): Add composited_changed signal.
      
      	* gtk/gtkwidget.h (struct _GtkWidgetClass): New signal composited-changed.
      
      	* gtk/gtkwidget.c (gtk_widget_is_composited): New function.
      
      	* gtk/gtktooltips.c (gtk_tooltips_draw_tips): Set transient for.
      
      	* gtk/gtktooltips.c (gtk_tooltips_force_window): Set the type hint
      
      	* gtk/gtkmenuitem.c (gtk_menu_item_position_menu): Compute whether
      	the item belongs to a menubar. Set the type_hint appropriately
      	depending on the outcome.
      
      	* gtk/gtkmenu.c (gtk_menu_position): Set the default type hint here.
      
      	* gtk/gtkmenu.c (gtk_menu_attach_to_widget): connect to hierarchy
      	changed on the attach widget.
      
      	* gtk/gtkmenu.c (attach_widget_hierarchy_changed): New function to
      	set the transient_for property for menus.
      
      	* gtk/gtkdnd.c (set_icon_stock_pixbuf): Set the appropriate type hint.
      
      	* gtk/gtkcombo.c (gtk_combo_popup_list): Make the popup window
      	transient for the toplevel.
      
      	* gtk/gtkcombobox.c (gtk_combo_box_set_popup_widget): Set
      	transient-for, for the popup window.
      
      	* gdk/x11/gdkwindow-x11.c (gdk_window_get_type_hint): Support for
      	new window types.
      
      	* gdk/x11/gdkwindow-x11.c (gdk_window_set_type_hint): Add support
      	for new window types.
      
      	* gdk/x11/gdkscreen-x11.c (_gdk_x11_screen_process_owner_change):
      	New function called whenever the compositing manager comes and goes.
      
      	* gdk/x11/gdkscreen-x11.c (gdk_screen_is_composited): New function.
      
      	* gdk/x11/gdkscreen-x11.c
      	(_gdk_x11_screen_request_cm_notification, make_cm_atom,
      	check_is_composited): New functions
      
      	* gdk/x11/gdkevents-x11.c (gdk_event_translate): Call
      	_gdk_x11_screen_process_owner_change when an
      	XFixesSelectionNotifyEvent is received.
      
      	* gdk/x11/gdkdisplay-x11.c (gdk_display_open): Call
      	_gdk_x11_screen_request_cm_notification() on all screens.
      
      	* gdk/quartz/gdkscreen-quartz.c (gdk_screen_is_composited): Dummy
      	implementation.
      
      	* gdk/gdkscreen.c (gdk_screen_class_init): New signal,
      	'composited-changed'.
      
      	* gdk/gdkwindow.h: Add new EWMH window types.
      
      	* gdk/win32/gdkscreen-win32.c (gdk_screen_is_composited)
      b9d1a034
  5. 20 Apr, 2006 1 commit
  6. 21 Mar, 2006 1 commit
    • Matthias Clasen's avatar
      Don't leave page->tab_label dangling. (gtk_notebook_real_remove): Use · 7ae595b9
      Matthias Clasen authored
      2006-03-20  Matthias Clasen  <mclasen@redhat.com>
      
      	* gtk/gtknotebook.c (gtk_notebook_remove_tab_label): Don't leave
      	page->tab_label dangling.
      	(gtk_notebook_real_remove): Use GTK_IN_DESTRUCTION.
      	(gtk_notebook_destroy): Leave the removal of the children
      	to the container destroy method.  (#319032, Yevgen Muntyan)
      
      2006-03-20  Matthias Clasen  <mclasen@redhat.com>
      
      	* gtk/gtkcombobox.c (gtk_combo_box_remove): Use the existing
      	GTK_IN_DESTRUCTION flag, rather than roll our own.
      7ae595b9
  7. 15 Mar, 2006 2 commits
  8. 09 Mar, 2006 1 commit
  9. 10 Feb, 2006 1 commit
  10. 15 Jan, 2006 1 commit
    • Matthias Clasen's avatar
      Fix a crash with combo boxes in RESIZE_IMMEDIATE containers. (#326806, · 9963bd08
      Matthias Clasen authored
      2006-01-14  Matthias Clasen  <mclasen@redhat.com>
      
      	Fix a crash with combo boxes in RESIZE_IMMEDIATE
      	containers.  (#326806, Sebastian Bacher)
      
      	* gtk/gtkcombobox.c (gtk_combo_box_size_allocate)
      	(gtk_combo_box_size_request): Don't call
      	gtk_combo_box_check_appearance() from here, as that
      	can lead to recursion.
      	(gtk_combo_box_init): Instead, call it here.
      9963bd08
  11. 10 Jan, 2006 1 commit
    • Matthias Clasen's avatar
      Make this function public API. (#307099, Todd Berman) · dcfac2c6
      Matthias Clasen authored
      2006-01-09  Matthias Clasen  <mclasen@redhat.com>
      
      	* gtk/gtk.symbols:
      	* gtk/gtkwindow.h:
      	* gtk/gtkwindow.c (gtk_window_get_group): Make this function
      	public API.  (#307099, Todd Berman)
      
      	* gtk/gtkmenu.c:
      	* gtk/gtkmain.c:
      	* gtk/gtkentrycompletion.c:
      	* gtk/gtkcombo.c:
      	* gtk/gtkcombobox.c: Update all callers.
      dcfac2c6
  12. 23 Nov, 2005 1 commit
    • Tim Janik's avatar
      deprecated floating/sink API and implemented it in terms of the GObject · fbb2e3f4
      Tim Janik authored
      Wed Nov 23 18:55:47 2005  Tim Janik  <timj@imendio.com>
      
              * gtk/gtkobject.[hc]: deprecated floating/sink API and implemented it
              in terms of the GObject floating/sink API.
      
              * gtk/gtkaboutdialog.c:
              * gtk/gtkaction.c:
              * gtk/gtkcellview.c:
              * gtk/gtkclist.c:
              * gtk/gtkcolorsel.c:
              * gtk/gtkcombobox.c:
              * gtk/gtkfilechooserdefault.c:
              * gtk/gtkiconview.c:
              * gtk/gtkinvisible.c:
              * gtk/gtkitemfactory.c:
              * gtk/gtklayout.c:
              * gtk/gtkmenu.c:
              * gtk/gtkmenutoolbutton.c:
              * gtk/gtknotebook.c:
              * gtk/gtkprogress.c:
              * gtk/gtkrange.c:
              * gtk/gtkspinbutton.c:
              * gtk/gtkstatusicon.c:
              * gtk/gtktext.c:
              * gtk/gtktextview.c:
              * gtk/gtktoolbar.c:
              * gtk/gtktoolbutton.c:
              * gtk/gtktoolitem.c:
              * gtk/gtktreeitem.c:
              * gtk/gtktreeview.c:
              * gtk/gtktreeviewcolumn.c:
              * gtk/gtkuimanager.c:
              * gtk/gtkviewport.c:
              * gtk/gtkwidget.c:
              * gtk/gtkwindow.c:
              ported to use GObject's g_object_ref_sink().
      
              * gtk/gtkcolorsel.c:
              * gtk/gtkfilechooserdefault.c:
              * gtk/gtkaboutdialog.c:
              fixed compiler warnings.
      fbb2e3f4
  13. 21 Nov, 2005 2 commits
    • Matthias Clasen's avatar
      Add a tearoff-title property, with getter and setter. (#316482, Olexiy · adcf33fa
      Matthias Clasen authored
      2005-11-21  Matthias Clasen  <mclasen@redhat.com>
      
      	* gtk/gtk.symbols:
      	* gtk/gtkcombobox.[hc]: Add a tearoff-title property,
      	with getter and setter.  (#316482, Olexiy Avramchenko)
      
      	* tests/testcombo.c (main): Test gtk_combo_box_set_title
      adcf33fa
    • Matthias Clasen's avatar
      Fix for bug #321542, Benedikt Meurer: · 02663e71
      Matthias Clasen authored
      2005-11-21  Matthias Clasen  <mclasen@redhat.com>
      
      	Fix for bug #321542, Benedikt Meurer:
      
      	* gtk/gtkcombobox.c (gtk_combo_box_set_active_internal):
      	Emit notify::active.
      
      	(gtk_combo_box_child_show, gtk_combo_box_child_hide): Use
      	g_signal_emit, not g_signal_emit_by_name.
      02663e71
  14. 10 Nov, 2005 1 commit
  15. 27 Oct, 2005 1 commit
  16. 13 Sep, 2005 1 commit
  17. 09 Sep, 2005 1 commit
    • Matthias Clasen's avatar
      Stylistic improvements and clarifications for some blurbs. (#315520, · 9a86f658
      Matthias Clasen authored
      2005-09-09  Matthias Clasen  <mclasen@redhat.com>
      
      	* gtk/gtkiconview.c (gtk_icon_view_class_init):
      	* gtk/gtkfilesel.c (gtk_file_selection_class_init):
      	* gtk/gtkcombobox.c (gtk_combo_box_class_init):
      	* gtk/gtklabel.c (gtk_label_class_init):
      	* gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_class_init):
      	Stylistic improvements and clarifications for some blurbs.
      	(#315520, Clytie Siddall)
      9a86f658
  18. 01 Sep, 2005 1 commit
    • Matthias Clasen's avatar
      Intern some more strings. · 94eec042
      Matthias Clasen authored
      2005-09-01  Matthias Clasen  <mclasen@redhat.com>
      
              * gdk/*.c: Intern some more strings.
              * gtk/gtkintl.h:
              * gtk/*.c: Define an I_() macro and use it instead of the
              bulky g_intern_static_string().
      94eec042
  19. 31 Aug, 2005 2 commits
  20. 22 Jul, 2005 1 commit
    • Matthias Clasen's avatar
      Cleanup a possible resize idle. (#311141, Robert Ögren) · 9c002e4a
      Matthias Clasen authored
      2005-07-21  Matthias Clasen  <mclasen@redhat.com>
      
      	* gtk/gtkcombobox.c (gtk_combo_box_list_destroy): Cleanup
      	a possible resize idle.  (#311141, Robert Ögren)
      
      	* gtk/gtktreemodelsort.c (gtk_tree_model_sort_row_changed):
      	(gtk_tree_model_sort_sort_level): Ref the level while using it,
      	otherwise it may get nuked by gtk_tree_model_sort_increment_stamp.
      	(gtk_tree_model_sort_row_deleted): Don't leak the root level
      	here.  (#300089, James Bramford, Markku Vire)
      9c002e4a
  21. 18 Jul, 2005 2 commits
  22. 26 Jun, 2005 1 commit
  23. 26 May, 2005 1 commit
  24. 17 May, 2005 1 commit
  25. 08 Apr, 2005 1 commit
  26. 06 Apr, 2005 1 commit
  27. 01 Apr, 2005 1 commit
    • Matthias Clasen's avatar
      Make gtk_combo_box_get_active_text do the right thing for GtkComboBoxEntry · b82af5ce
      Matthias Clasen authored
      2005-04-01  Matthias Clasen  <mclasen@redhat.com>
      
      	Make gtk_combo_box_get_active_text do the right thing for
      	GtkComboBoxEntry (#171373, Robert Staudinger)
      
      	* gtk/gtkcombobox.h: Add a get_active_text vfunc.
      
      	* gtk/gtkcombobox.c (gtk_combo_box_real_get_active_text): And
      	implement it here.
      
      	* gtk/gtkcomboboxentry.c (gtk_combo_box_entry_get_active_text):
      	Implement get_active_text by always returning the content of
      	the entry.
      b82af5ce
  28. 30 Mar, 2005 1 commit
  29. 26 Mar, 2005 1 commit
  30. 22 Mar, 2005 1 commit
  31. 20 Mar, 2005 1 commit
    • Matthias Clasen's avatar
      Make PLT-reduction work with gcc4, and don't include everything in · cca8dd63
      Matthias Clasen authored
      2005-03-20  Matthias Clasen  <mclasen@redhat.com>
      
      	Make PLT-reduction work with gcc4, and don't include
      	everything in gdkalias.h:
      
      	* gtk/grk.symbols: Group symbols by header and source file.
      	* gtk/makegtkalias.pl: Protect definitions by the same
      	preprocessor symbols used to guard the headers. Move
      	the alias declarations to a separate file which is
      	produced when calling makegtkalias.pl -def
      	* gdk/Makefile.am (gtkaliasdef.c): Add a rule to generate
      	this file.
      	* gtk/*.c: Include gtkalias.h after the other headers,
      	include gtkaliasdef.c at the bottom.
      	* gtk/*.h: Small cleanups.
      cca8dd63
  32. 09 Mar, 2005 1 commit
  33. 25 Feb, 2005 1 commit
  34. 24 Feb, 2005 1 commit
    • Matthias Clasen's avatar
      Consistently use gtk_tree_row_reference_valid(). · d9264f13
      Matthias Clasen authored
      2005-02-24  Matthias Clasen  <mclasen@redhat.com>
      
      	* gtk/gtkcombobox.c: Consistently use gtk_tree_row_reference_valid().
      	(gtk_combo_box_model_row_deleted): Update the displayed row in
      	the cell_view.  (#167842, Gustavo Carneiro)
      d9264f13
  35. 17 Feb, 2005 1 commit
  36. 16 Feb, 2005 1 commit
    • Matthias Clasen's avatar
      Fixes for #143829, Tommi Komulainen, Christian Persch: · a0c5253c
      Matthias Clasen authored
      2005-02-16  Matthias Clasen  <mclasen@redhat.com>
      
      	Fixes for #143829, Tommi Komulainen, Christian Persch:
      
      	* gtk/gtktreeview.c (gtk_tree_view_destroy): Remove the
      	typeselect_flush_timeout when destroying the widgets
      	it is operating on.
      	(gtk_tree_view_ensure_interactive_directory): Add the
      	popup to the window group of the toplevel it belongs to.
      
      	* gtk/gtkcombobox.c (gtk_combo_box_set_popup_widget)
      	(gtk_combo_box_popup): Do the same here.
      a0c5253c