summaryrefslogtreecommitdiff
path: root/gtk
Commit message (Collapse)AuthorAgeFilesLines
...
* Don't try to activate a node if the cursor is not valid.Matthias Clasen2004-11-031-10/+12
| | | | | | | 2004-11-03 Matthias Clasen <mclasen@redhat.com> * gtk/gtktreeview.c (gtk_tree_view_search_activate): Don't try to activate a node if the cursor is not valid.
* Don't mysteriously go to the parent dir when hitting "Cancel" in folderJames M. Cape2004-11-031-9/+20
| | | | | | | | 2004-11-03 James M. Cape <jcape@ignore-your.tv> * gtk/gtkfilechooserbutton.c (update_dialog), (dialog_response_cb): Don't mysteriously go to the parent dir when hitting "Cancel" in folder mode (fixes #156971).
* Don't access label->layout directly. (#157080, Adam Hooper)Matthias Clasen2004-11-031-5/+6
| | | | | | | 2004-11-03 Matthias Clasen <mclasen@redhat.com> * gtk/gtkaccellabel.c (gtk_accel_label_expose_event): Don't access label->layout directly. (#157080, Adam Hooper)
* Allow unsetting a pattern by passing NULL. (#156720, Tristan Van Berkom)Matthias Clasen2004-11-031-1/+4
| | | | | | | 2004-11-03 Matthias Clasen <mclasen@redhat.com> * gtk/gtklabel.c (gtk_label_set_pattern_internal): Allow unsetting a pattern by passing NULL. (#156720, Tristan Van Berkom)
* Don't crash if the active_row reference has become invalid. (#157156,Matthias Clasen2004-11-031-2/+7
| | | | | | | | 2004-11-03 Matthias Clasen <mclasen@redhat.com> * gtk/gtkcombobox.c (gtk_combo_box_get_active): Don't crash if the active_row reference has become invalid. (#157156, Christophe Fergeau)
* As a last stage in GtkWindow key press handing, try addingMatthias Clasen2004-11-021-30/+80
| | | | | | | | | | 2004-11-02 Matthias Clasen <mclasen@redhat.com> * gtk/gtkwindow.c (gtk_window_activate_key_after): As a last stage in GtkWindow key press handing, try adding window->mnemonic_modifier to event->state and see if it matches a mnemonic. (#53709, based on a patch by Pasupathi Duraisamy, patch by Owen Taylor)
* Doc additions.Matthias Clasen2004-11-021-1/+4
| | | | | | | | | | | | | | | | 2004-11-02 Matthias Clasen <mclasen@redhat.com> * gtk/gtkcellrenderercombo.c (gtk_cell_renderer_combo_class_init): Doc additions. 2004-11-02 Matthias Clasen <mclasen@redhat.com> * gtk/tmpl/gtkcellrenderercombo.sgml: * gtk/tmpl/gtkcellrenderertoggle.sgml: * gtk/tmpl/gtkcellrenderertext.sgml: Add introductions. * gtk/tmpl/gtkcellrenderer.sgml: Additions.
* Fix trigraphs in private markers.Matthias Clasen2004-11-021-2/+2
| | | | | | 2004-11-02 Matthias Clasen <mclasen@redhat.com> * gtk/gtkfilechooserbutton.h: Fix trigraphs in private markers.
* Fix a doc comment.Matthias Clasen2004-11-021-1/+1
| | | | | | | 2004-11-02 Matthias Clasen <mclasen@redhat.com> * gtk/gtkfilechooserbutton.c (gtk_file_chooser_button_class_init): Fix a doc comment.
* Remove a debug printf(). (#157087, Christian Persch)Matthias Clasen2004-11-021-1/+0
| | | | | | | 2004-11-01 Matthias Clasen <mclasen@redhat.com> * gtk/gtkentrycompletion.c (_gtk_entry_completion_resize_popup): Remove a debug printf(). (#157087, Christian Persch)
* Actually commit the "stat less" patch which appeared in the ChangeLog aMatthias Clasen2004-11-021-18/+14
| | | | | | | 2004-11-01 Matthias Clasen <mclasen@redhat.com> * gtk/gtkicontheme.c: Actually commit the "stat less" patch which appeared in the ChangeLog a few days ago.
* Move some docs inline.Matthias Clasen2004-11-011-0/+33
| | | | | | 2004-11-01 Matthias Clasen <mclasen@redhat.com> * gtk/tmpl/gtkfilechooserbutton.sgml: Move some docs inline.
* Doc update.Matthias Clasen2004-11-011-0/+2
| | | | | | 2004-11-01 Matthias Clasen <mclasen@redhat.com> * gtk/gtkaboutdialog.c (gtk_show_about_dialog): Doc update.
* Revalidate the iter. (#156924, Murray Cumming)Matthias Clasen2004-11-011-6/+11
| | | | | | | 2004-11-01 Matthias Clasen <mclasen@redhat.com> * gtk/gtktextbuffer.c (gtk_text_buffer_backspace): Revalidate the iter. (#156924, Murray Cumming)
* Fix a typo in the docs. (#157044, Masao Mutoh)Matthias Clasen2004-11-011-1/+1
| | | | | | | 2004-11-01 Matthias Clasen <mclasen@redhat.com> * gtk/gtkactiongroup.c (gtk_action_group_get_visible): Fix a typo in the docs. (#157044, Masao Mutoh)
* Update the state of the cell view when the state of the button changes (toMatthias Clasen2004-11-011-0/+27
| | | | | | | | 2004-10-31 Matthias Clasen <mclasen@redhat.com> * gtk/gtkcombobox.c (gtk_combo_box_button_state_changed): Update the state of the cell view when the state of the button changes (to get prelighted drawing right). (#138650, Frances Keenan, Christian Persch)
* Don't force the height of the action area, we don't scroll it anyway, andMatthias Clasen2004-10-311-10/+4
| | | | | | | | | 2004-10-31 Matthias Clasen <mclasen@redhat.com> * gtk/gtkentrycompletion.c (_gtk_entry_completion_resize_popup): Don't force the height of the action area, we don't scroll it anyway, and the current way of calculating the height can lead to broken display. (#156573, Christian Persch)
* Update doc comments.Matthias Clasen2004-10-311-15/+13
| | | | | | | 2004-10-31 Matthias Clasen <mclasen@redhat.com> * gtk/gtkentrycompletion.c (gtk_entry_completion_class_init): Update doc comments.
* Update doc comments.Matthias Clasen2004-10-311-14/+11
| | | | | | | 2004-10-31 Matthias Clasen <mclasen@redhat.com> * gtk/gtkcellrenderercombo.c (gtk_cell_renderer_combo_class_init): Update doc comments.
* Add api for image transfer via copy-and-paste (#156408)Matthias Clasen2004-10-314-14/+309
| | | | | | | | | | | | | | | 2004-10-31 Matthias Clasen <mclasen@redhat.com> Add api for image transfer via copy-and-paste (#156408) * gtk/gtkclipboard.c (gtk_clipboard_set_image) (gtk_clipboard_request_image, gtk_clipboard_wait_for_image) (gtk_clipboard_wait_is_image_available): New functions for image transfer. * gtk/gtkselection.h: * gtk/gtkselection.c (gtk_selection_data_targets_include_image): New function, similar to gtk_selection_data_targets_include_text().
* Add an ellipsize property with getter and setter. (#156845, MortenMatthias Clasen2004-10-312-14/+115
| | | | | | | 2004-10-31 Matthias Clasen <mclasen@redhat.com> * gtk/gtkprogressbar.[hc]: Add an ellipsize property with getter and setter. (#156845, Morten Welinder)
* Redisplay the new selection.Matthias Clasen2004-10-302-2/+3
| | | | | | | | | | 2004-10-30 Matthias Clasen <mclasen@redhat.com> * gtk/gtktextbtree.c (_gtk_text_btree_select_range): Redisplay the new selection. * gtk/gtktextview.c (gtk_text_view_select_all): Use gtk_text_buffer_select_range().
* Drop the reference to the pixbuf, regardless whether it is a stock pixbuf.Matthias Clasen2004-10-301-1/+1
| | | | | | | | 2004-10-29 Matthias Clasen <mclasen@redhat.com> * gtk/gtkcellrendererpixbuf.c (gtk_cell_renderer_pixbuf_finalize): Drop the reference to the pixbuf, regardless whether it is a stock pixbuf. (#156863, Philip Langdale)
* updatedHans Breuer2004-10-292-1/+6
| | | | | | | | | | | 2004-10-29 Hans Breuer <hans@breuer.org> * gdk/makefile.msc gtk/makefile.msc.in : updated * gdk/win32/gdkdisplay-win32.c : dummy implementations for gdk_display_supports_clipboard_persistence, gdk_display_store_clipboard * gtk/gtkmodules.c : #include "gtkprivate.h" for GTK_LIBDIR
* Don't hardwire the supported text targets here, useMatthias Clasen2004-10-291-8/+22
| | | | | | | | 2004-10-29 Matthias Clasen <mclasen@redhat.com> * gtk/gtkclipboard.c (gtk_clipboard_set_text): Don't hardwire the supported text targets here, use gtk_target_list_add_text_targets(). (#156404)
* Don't loop over the sentinel node. (#156298, Torsten Schoenfeld)Matthias Clasen2004-10-291-1/+1
| | | | | | | 2004-10-29 Matthias Clasen <mclasen@redhat.com> * gtk/gtkliststore.c (gtk_list_store_reorder): Don't loop over the sentinel node. (#156298, Torsten Schoenfeld)
* Use g_signal_connect_object() to prevent premature finalization of theMatthias Clasen2004-10-281-10/+8
| | | | | | | | | 2004-10-28 Matthias Clasen <mclasen@redhat.com> * gtk/gtkcombobox.c (gtk_combo_box_start_editing): Use g_signal_connect_object() to prevent premature finalization of the cell_editable while the key_press_event signal is handled. (#156325, Olivier Andrieu)
* Fix many sparse warnings.Matthias Clasen2004-10-2820-34/+35
|
* Disconnect from the remove-widget signal after removing the signal.Matthias Clasen2004-10-281-0/+5
| | | | | | | 2004-10-28 Matthias Clasen <mclasen@redhat.com> * gtk/gtktreeview.c (gtk_tree_view_remove_widget): Disconnect from the remove-widget signal after removing the signal.
* Destroy the dialog with the parent. (#156557, Paolo Borelli)Matthias Clasen2004-10-281-0/+1
| | | | | | | 2004-10-28 Matthias Clasen <mclasen@redhat.com> * gtk/gtkaboutdialog.c (gtk_show_about_dialog): Destroy the dialog with the parent. (#156557, Paolo Borelli)
* *** empty log message ***GTK_2_5_4Matthias Clasen2004-10-282-1/+5
|
* Make targets const.Anders Carlsson2004-10-272-6/+6
| | | | | | | | 2004-10-28 Anders Carlsson <andersca@gnome.org> * gtk/gtkclipboard.c: (gtk_clipboard_set_can_store): * gtk/gtkclipboard.h: Make targets const.
* Silently ignore non-CLIPBOARD clipboards. (#156610, Christian Persch)Matthias Clasen2004-10-271-3/+4
| | | | | | | 2004-10-27 Matthias Clasen <mclasen@redhat.com> * gtk/gtkclipboard.c (gtk_clipboard_set_can_store): Silently ignore non-CLIPBOARD clipboards. (#156610, Christian Persch)
* Make it build on windows. (#156618, Kazuki IWAMOTO)Matthias Clasen2004-10-271-0/+2
| | | | | | | 2004-10-27 Matthias Clasen <mclasen@redhat.com> * gtk/gtksettings.c: Make it build on windows. (#156618, Kazuki IWAMOTO)
* Stop preediting if strtoul couldn't parse the complete preedit string.Matthias Clasen2004-10-261-1/+1
| | | | | | | 2004-10-26 Matthias Clasen <mclasen@redhat.com> * gtk/gtkimcontextsimple.c (check_hex): Stop preediting if strtoul couldn't parse the complete preedit string. (#156434)
* Add missing includes. (#156503, Kazuki IWAMOTO)Matthias Clasen2004-10-262-0/+2
| | | | | | | 2004-10-26 Matthias Clasen <mclasen@redhat.com> * gtk/gtkmessagedialog.c: * gtk/gtkfilechooserbutton.c: Add missing includes. (#156503, Kazuki IWAMOTO)
* Make the icon_name parameter G_CONST_RETURN.Matthias Clasen2004-10-262-70/+36
| | | | | | | | | | | | | 2004-10-26 Matthias Clasen <mclasen@redhat.com> * gtk/gtkimage.h: * gtk/gtkimage.c (gtk_image_get_icon_name): Make the icon_name parameter G_CONST_RETURN. * gtk/gtkimage.c: It is enough to listen for screen changes and style-set to catch all icon theme changes. (gtk_image_set_property): Reset the image size if the pixel size property is changed.
* Add new symbols.Matthias Clasen2004-10-261-1/+34
| | | | | | 2004-10-26 Matthias Clasen <mclasen@redhat.com> * gtk/gtk.symbols: Add new symbols.
* Rewrite clipboard handling so that the clipboard contents won't be freedAnders Carlsson2004-10-261-90/+20
| | | | | | | | | | | 2004-10-26 Anders Carlsson <andersca@imendio.com> * gtk/gtktextbuffer.c: (gtk_text_buffer_finalize), (create_clipboard_contents_buffer), (clipboard_get_contents_cb), (clipboard_clear_contents_cb), (cut_or_copy): Rewrite clipboard handling so that the clipboard contents won't be freed when the text buffer is finalized. Also add clipboard manager support. Fixes #95496.
* Really handle a NULL model, fixes #137211 for real.Anders Carlsson2004-10-263-6/+18
| | | | | | | | | | | | | | | | 2004-10-25 Anders Carlsson <andersca@gnome.org> * gtk/gtkentry.c: (gtk_entry_completion_timeout): * gtk/gtkentrycompletion.c: (gtk_entry_completion_set_model), (gtk_entry_completion_get_model), (gtk_entry_completion_complete): Really handle a NULL model, fixes #137211 for real. * gtk/gtkfilechooserentry.c: (gtk_file_chooser_entry_maybe_update_directory): Remove _clear, #137211 is fixed. * tests/testentrycompletion.c: (main): Add completion with an empty model.
* Fix for #118764, David Bordoley:Carlos Garnacho Parro2004-10-262-17/+198
| | | | | | | | | | | | | | | | | 2004-10-25 Carlos Garnacho Parro <carlosg@gnome.org> Fix for #118764, David Bordoley: * gtk/gtkmessagedialog.[ch] (gtk_message_dialog_format_secondary_text), (gtk_message_dialog_format_secondary_format): API additions to create HIG-like dialogs * demos/gtk-demo/dialog.c: Use the new API in the example * docs/reference/gtk/gtk-sections.txt: * docs/reference/gtk/tmpl/gtkmessagedialog.sgml: documented API additions
* Rework of GtkFileChooserButton, some cleanups. Fixes #154388, #154390,James M. Cape2004-10-266-266/+864
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-10-25 James M. Cape <jcape@ignore-your.tv> Rework of GtkFileChooserButton, some cleanups. Fixes #154388, #154390, #154390, #156272. * docs/reference/gtk/gtk-docs.sgml: Moved GtkFileChooserButton below GtkFileChooser. * docs/reference/gtk/gtk-sections.txt: Added gtk_file_chooser_button_get_width_chars(), gtk_file_chooser_button_set_width_chars(), gtk_label_set_width_chars(), gtk_label_get_width_chars(). * docs/reference/gtk/gtk.types: Added gtk_cell_renderer_combo_get_type, gtk_cell_view_get_type, gtk_text_iter_get_type. * docs/reference/gtk/tmpl/gtkaboutdialog.sgml: Add "logo-icon-name" property. * docs/reference/gtk/tmpl/gtkcellview.sgml: Updates for properties (b/c of get_type() inclusion above). * docs/reference/gtk/tmpl/gtkfilechooserbutton.sgml: * docs/reference/gtk/tmpl/gtklabel.sgml: Add "width-chars" property, getters/setters. * docs/reference/gtk/tmpl/gtkcellrenderercombo.sgml: Added. * gtk/gtkentrycompletion.c: (_gtk_entry_completion_popdown): Don't show if the entry isn't mapped. * gtk/gtkfilechooserbutton.[c,h]: (*): About 45% rewritten, adds "width-chars" property, icons, working save modes, volume/Home/Desktop friendly-naming support. * gtk/gtklabel.[c,h]: (gtk_label_class_init), (gtk_label_init), (gtk_label_get_property), (gtk_label_set_property), (gtk_label_get_width_chars), (gtk_label_set_width_chars), (gtk_label_size_request): Add "width-chars" property. * tests/testfilechooserbutton.c: Update, use 4 different buttons for the different ACTIONs. * gtk/.cvsignore: Ignore gtk-update-icon-cache. * tests/.cvsignore: Ignore testimage.
* Don't leak text. (#156325, Olivier Andrieu)Matthias Clasen2004-10-251-0/+2
| | | | | | | 2004-10-25 Matthias Clasen <mclasen@redhat.com> * gtk/gtkcellrenderercombo.c (find_text): Don't leak text. (#156325, Olivier Andrieu)
* New API to handle the clipboard manager.Anders Carlsson2004-10-254-26/+347
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-10-25 Anders Carlsson <andersca@imendio.com> * gdk/gdk.symbols: * gdk/gdkdisplay.h: * gdk/x11/gdkdisplay-x11.c: (gdk_display_supports_clipboard_persistence), (gdk_display_store_clipboard): New API to handle the clipboard manager. * gtk/gtk.symbols: * gtk/gtkclipboard.c: (gtk_clipboard_class_init), (gtk_clipboard_finalize), (selection_clear_event_cb), (clipboard_unset), (gtk_clipboard_set_text), (gtk_clipboard_request_targets), (gtk_clipboard_wait_for_targets), (clipboard_peek), (gtk_clipboard_owner_change), (gtk_clipboard_wait_is_target_available), (gtk_clipboard_store_timeout), (gtk_clipboard_set_can_store), (gtk_clipboard_selection_notify), (gtk_clipboard_store), (_gtk_clipboard_store_all): * gtk/gtkclipboard.h: Add API for clipboard persistence and implement it, also add gtk_clipboard_wait_is_target_available. * gtk/gtkmain.c: (gtk_main): Call _gtk_clipboard_store_all before exiting.
* Support named icons as logos. (#156378, James Henstridge)Matthias Clasen2004-10-252-3/+104
| | | | | | | | | 2004-10-25 Matthias Clasen <mclasen@redhat.com> * gtk/gtkaboutdialog.h: * gtk/gtkaboutdialog.c (gtk_about_dialog_set_logo_icon_name) (gtk_about_dialog_get_logo_icon_name): Support named icons as logos. (#156378, James Henstridge)
* Fix the doc formatting.Matthias Clasen2004-10-253-24/+24
| | | | | | | | | 2004-10-25 Matthias Clasen <mclasen@redhat.com> * gtk/gtkdialog.c (gtk_dialog_set_alternative_button_order): Fix the doc formatting. * gtk/gtkcellview.[hc]: Make function parameter names consistent.
* Add a public setting for button ordering (#74669, Owen Taylor)Matthias Clasen2004-10-258-9/+178
| | | | | | | | | | | | | | | | | | | | | | | 2004-10-25 Matthias Clasen <mclasen@redhat.com> Add a public setting for button ordering (#74669, Owen Taylor) * gtk/gtksettings.c (gtk_settings_class_init): Add a gtk-alternative-button-order setting. * gtk/gtkdialog.h: * gtk/gtkdialog.c (gtk_alternative_dialog_button_order): A getter for the alternative button order setting. * gtk/gtkdialog.c (gtk_dialog_set_alternative_button_order): New function to install an alternative button order for a dialog. * gtk/gtkfilesel.c (gtk_file_selection_init): * gtk/gtkfontsel.c (gtk_font_selection_dialog_init): * gtk/gtkmessagedialog.c (gtk_message_dialog_add_buttons): * gtk/gtkcolorseldialog.c (gtk_color_selection_dialog_init): * gtk/gtkfilechooserdefault.c (location_popup_handler): Set up an alternative button order.
* Add a new type GTK_IMAGE_ICON_NAME for named icons, update the size andMatthias Clasen2004-10-252-7/+458
| | | | | | | | | | | | | | | | 2004-10-25 Matthias Clasen <mclasen@redhat.com> * gtk/gtkimage.h: * gtk/gtkimage.c (gtk_image_new_from_icon_name) (gtk_image_set_from_icon_name, gtk_image_get_icon_name) (gtk_image_set_pixel_size, gtk_image_get_pixel_size): Add a new type GTK_IMAGE_ICON_NAME for named icons, update the size and content of stock, icon set and named icon images upon style changes, and allow to set a fixed pixel size for named icon images. (#155688, James Henstridge) * tests/testimage.c: Test application for theming behaviour of different image types and for image dnd.
* Use G_DEFINE_TYPE, intialize the has_entry property, ref the model and addMatthias Clasen2004-10-251-34/+34
| | | | | | | | 2004-10-24 Matthias Clasen <mclasen@redhat.com> * gtk/gtkcellrenderercombo.c: Use G_DEFINE_TYPE, intialize the has_entry property, ref the model and add a finalizer. (#156325, Olivier Andrieu)
* Use the new g_key_file api in GLib.Matthias Clasen2004-10-244-1087/+131
| | | | | | | | | | 2004-10-24 Matthias Clasen <mclasen@redhat.com> * gtk/gtkicontheme.c: Use the new g_key_file api in GLib. * gtk/Makefile.am (gtk_c_sources): Remove gtkiconthemeparser.[hc] * gtk/gtkiconthemeparser.[hc]: Removed.