Matthias Clasen [Tue, 9 Nov 2004 14:28:34 +0000 (14:28 +0000)]
Clip when drawing the cursor. This prevents bits of a selectable label
2004-11-09 Matthias Clasen <mclasen@redhat.com>
* gtk/gtklabel.c (draw_insertion_cursor, gtk_label_expose):
Clip when drawing the cursor. This prevents bits of a
selectable label leaking out from underneath the resize
grip in a statusbar. (#73359)
Matthias Clasen [Mon, 8 Nov 2004 21:25:27 +0000 (21:25 +0000)]
Use xdg_mime_mime_type_subclass() to match mime types. This also gives use
2004-11-08 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkfilefilter.c (gtk_file_filter_filter): Use
xdg_mime_mime_type_subclass() to match mime types. This
also gives use wildcard matching. (#143760, #141224,
Tommi Komulainen, David A Knight)
Matthias Clasen [Mon, 8 Nov 2004 17:43:52 +0000 (17:43 +0000)]
Add uri targets before text targets, to make file dnd work better.
2004-11-08 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkfilechooserbutton.c (gtk_file_chooser_button_init): Add
uri targets before text targets, to make file dnd work
better. (#157651, Christian Persch)
Matthias Clasen [Mon, 8 Nov 2004 16:56:03 +0000 (16:56 +0000)]
Support columns whose declared type is an interface better, by treating
2004-11-08 Matthias Clasen <mclasen@redhat.com>
* gtk/gtktreedatalist.c: Support columns whose declared type is
an interface better, by treating them like G_TYPE_OBJECT if
the interface types requires G_TYPE_OBJECT.
Bastien Nocera [Mon, 8 Nov 2004 16:24:52 +0000 (16:24 +0000)]
add the icons again with the binary flag (Closes: #157665)
2004-11-08 Bastien Nocera <hadess@hadess.net>
* gtk/stock-icons/stock_media_play_rtl_16.png:
* gtk/stock-icons/stock_media_play_rtl_24.png: add the icons again
with the binary flag (Closes: #157665)
Matthias Clasen [Sun, 7 Nov 2004 05:42:01 +0000 (05:42 +0000)]
New convenience function to add a filter for image files which can be
2004-11-07 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkfilefilter.h:
* gtk/gtkfilefilter.c (gtk_file_filter_add_pixbuf_formats):
New convenience function to add a filter for image files
which can be loaded by GdkPixbuf. (#145388, Anders Carlsson)
Matthias Clasen [Sun, 7 Nov 2004 05:15:25 +0000 (05:15 +0000)]
Show files in folder modes. (#157013, Nickolay V. Shmyrev)
2004-11-07 Matthias Clasen <mclasen@redhat.com>
Show files in folder modes. (#157013, Nickolay V. Shmyrev)
* gtk/gtkfilechooserdefault.c (create_file_list): Use a selection
function to determine which rows can be selected.
(update_appearance): Always show files. Also queue a redraw.
(set_list_model): Always show files.
(list_select_func): The selection function used for the file list.
Don't allow to select files when in select/create folder mode.
(list_row_activated): Don't activate files in folder modes.
(list_icon_data_func, list_mtime_data_func, list_size_data_func):
Render files insensitive in folder modes.
Matthias Clasen [Sun, 7 Nov 2004 04:57:04 +0000 (04:57 +0000)]
Don't support CREATE_FOLDER and SAVE for now. UI authorities object to it.
2004-11-06 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkfilechooserbutton.c (gtk_file_chooser_button_set_property):
Don't support CREATE_FOLDER and SAVE for now. UI authorities
object to it. (#157384, Seth Nickell)
Matthias Clasen [Sun, 7 Nov 2004 04:10:01 +0000 (04:10 +0000)]
Jump through a few hoops to make the tooltip on the filter combo box work
2004-11-06 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkfilechooserdefault.c (file_pane_create): Jump through
a few hoops to make the tooltip on the filter combo box work
a bit better. This fixes #157273 and #157074.
Matthias Clasen [Fri, 5 Nov 2004 20:11:48 +0000 (20:11 +0000)]
Queue the resize before setting the tearoff state, to make sure the
2004-11-05 Matthias Clasen <mclasen@redhat.com>
* gtk/gtktearoffmenuitem.c (gtk_tearoff_menu_item_activate):
Queue the resize before setting the tearoff state, to
make sure the torn-off menu picks up the size increase due
to the arrow in the torn off menu item. (#157286, Adam
Hooper, fix proposed by Owen Taylor)
Matthias Clasen [Fri, 5 Nov 2004 15:58:36 +0000 (15:58 +0000)]
Don't unnecessarily call gtk_menu_position(), since that function has
2004-11-05 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkmenu.c (menu_change_screen): Don't unnecessarily
call gtk_menu_position(), since that function has issues
when called on a menu whose parent is unrealized. (#157354,
Adam Hooper)
Bastien Nocera [Thu, 4 Nov 2004 14:49:44 +0000 (14:49 +0000)]
Make sure the RTL variants are used for media icons update following the
2004-11-04 Bastien Nocera <hadess@hadess.net>
* gtk/gtkiconfactory.c: (get_default_icons): Make sure the RTL
variants are used for media icons
* gtk/stock-icons/Makefile.am: update following the addition of
the 2 Play icon RTL variants
* gtk/stock-icons/stock_media_play_rtl_16.png: added
* gtk/stock-icons/stock_media_play_rtl_24.png: added
2004-11-04 Bastien Nocera <hadess@hadess.net>
* gtk/tmpl/gtkstock.sgml: add RTL variants for all the media icons
needing it
James M. Cape [Wed, 3 Nov 2004 10:26:18 +0000 (10:26 +0000)]
Don't mysteriously go to the parent dir when hitting "Cancel" in folder
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).
Matthias Clasen [Tue, 2 Nov 2004 13:25:37 +0000 (13:25 +0000)]
As a last stage in GtkWindow key press handing, try adding
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)
Matthias Clasen [Mon, 1 Nov 2004 04:38:24 +0000 (04:38 +0000)]
Update the state of the cell view when the state of the button changes (to
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)
Matthias Clasen [Sun, 31 Oct 2004 19:10:29 +0000 (19:10 +0000)]
Don't force the height of the action area, we don't scroll it anyway, and
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)
Matthias Clasen [Sun, 31 Oct 2004 05:40:25 +0000 (05:40 +0000)]
Add api for image transfer via copy-and-paste (#156408)
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().
Robert Ögren [Sat, 30 Oct 2004 18:04:49 +0000 (18:04 +0000)]
Implement these on win32, currently only for button 1. Fixes the resize
2004-10-29 Robert Ögren <gtk@roboros.com>
* gdk/win32/gdkwindow-win32.c (gdk_window_begin_resize_drag),
(gdk_window_begin_move_drag): Implement these on win32, currently
only for button 1. Fixes the resize grip of GtkStatusbar on
win32. (#143285)
Matthias Clasen [Sat, 30 Oct 2004 04:08:43 +0000 (04:08 +0000)]
Sort the dir_mtimes list in the same way as the search path.
2004-10-30 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkicontheme.c (insert_theme): Sort the dir_mtimes
list in the same way as the search path.
(theme_subdir_load): Avoid stat()ing subdirs if the theme
directory doesn't exist. (#156866)
Matthias Clasen [Sat, 30 Oct 2004 02:57:23 +0000 (02:57 +0000)]
Drop the reference to the pixbuf, regardless whether it is a stock pixbuf.
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)
Matthias Clasen [Fri, 29 Oct 2004 21:03:52 +0000 (21:03 +0000)]
Move the "tail" question to the text view section. Add an entry for "why
2004-10-29 Matthias Clasen <mclasen@redhat.com>
* gtk/question_index.sgml: Move the "tail" question to the
text view section.
Add an entry for "why are my types not registered". (#156809,
Q by Salvador Fandiño, A by Owen Taylor)