summaryrefslogtreecommitdiff
path: root/gtk
Commit message (Collapse)AuthorAgeFilesLines
* 2.5.5GTK_2_5_5Matthias Clasen2004-11-124-7/+7
|
* Don't try to use xdgmime on Windows where we don't build it. (#157944, J.Matthias Clasen2004-11-121-0/+6
| | | | | | | 2004-11-11 Matthias Clasen <mclasen@redhat.com> * gtk/gtkfilefilter.c: Don't try to use xdgmime on Windows where we don't build it. (#157944, J. Ali Harlow)
* Also reserve space for the resize grip if the grip_window is not realizedMatthias Clasen2004-11-121-7/+11
| | | | | | | | | | 2004-11-11 Matthias Clasen <mclasen@redhat.com> * gtk/gtkstatusbar.c (gtk_statusbar_size_allocate): Also reserve space for the resize grip if the grip_window is not realized yet. (#158010, Christian Persch) (gtk_statusbar_button_press): Only start a resize if the button press comes from the grip_window. (#158011, Christian Persch)
* Fix some C99isms.Matthias Clasen2004-11-111-3/+3
| | | | | | 2004-11-11 Matthias Clasen <mclasen@redhat.com> * gtk/gtkuimanager.c (update_node): Fix some C99isms.
* Remove two more places where we were unconditionally setting "visible",Matthias Clasen2004-11-112-12/+28
| | | | | | | | | | | | | | 2004-11-11 Matthias Clasen <mclasen@redhat.com> * gtk/gtkuimanager.c (update_node): Remove two more places where we were unconditionally setting "visible", causing unnecessary notifications. * gtk/gtkclipboard.c (gtk_clipboard_get_for_display): (gtk_clipboard_get): Clarify the docs. (#156638, Torsten Schoenfeld) (gtk_clipboard_finalize): Warn if the clipboard is still in its displays clipboard list.
* Considerably speed up GtkUIManager, by changing the semantics of the dirtyMatthias Clasen2004-11-111-444/+448
| | | | | | | | | | | | | | | | | | | | 2004-11-11 Matthias Clasen <mclasen@redhat.com> Considerably speed up GtkUIManager, by changing the semantics of the dirty flag. It is now propagated up the tree, and update_node() doesn't descend into clean subtrees. (#143668, Dave Neary, Michael Natterer, Sven Neumann, fix proposed by Soeren Sandmann) * gtk/gtkuimanager.c (node_prepend_ui_reference): Only prepend a new node reference if the merge_id is different. Take a GNode, so we can walk up the tree, adjust all callers. (node_remove_ui_reference): Only mark a node dirty if the first ui reference is removed. Take a GNode here as well for consistency. (update_node): Don't descend into clean subtrees. (mark_node_dirty): New function to mark a node and its predecessors dirty.
* return FALSE instead of TRUE. This is just a quick fix to prevent the idleJonathan Blandford2004-11-111-1/+1
| | | | | | | | Thu Nov 11 11:34:32 2004 Jonathan Blandford <jrb@redhat.com> * gtk/gtkfilechooserbutton.c (update_idler): return FALSE instead of TRUE. This is just a quick fix to prevent the idle from looping indefinitely.
* Use embedded tab rather than '\t' escape sequence. (#157949)J. Ali Harlow2004-11-111-1/+1
| | | | | | | | | 2004-11-11 J. Ali Harlow <ali@juiblex.co.uk> * gdk/Makefile.am: * gdk-pixbuf/Makefile.am: * gtk/Makefile.am (gtk.def): Use embedded tab rather than '\t' escape sequence. (#157949)
* Only shorten the label if it actually overlaps the resize grip.Matthias Clasen2004-11-101-18/+76
| | | | | | | | | 2004-11-10 Matthias Clasen <mclasen@redhat.com> * gtk/gtkstatusbar.c (gtk_statusbar_size_allocate): Only shorten the label if it actually overlaps the resize grip. (gtk_statusbar_size_allocate): Handle extra children by leaving room for the resize grip. (#157778, Christian Persch)
* Only shorten the label if it actually overlaps the resize grip.Matthias Clasen2004-11-101-6/+9
| | | | | | | 2004-11-10 Matthias Clasen <mclasen@redhat.com> * gtk/gtkstatusbar.c (gtk_statusbar_size_allocate): Only shorten the label if it actually overlaps the resize grip.
* Make power a double. (gtk_range_class_init): s/digits/decimal digits/ inMatthias Clasen2004-11-101-3/+3
| | | | | | | | | 2004-11-09 Matthias Clasen <mclasen@redhat.com> * gtk/gtkrange.c (gtk_range_real_change_value): Make power a double. (gtk_range_class_init): s/digits/decimal digits/ in doc comment.
* Remove debugging printfs.Matthias Clasen2004-11-101-5/+1
| | | | | | | 2004-11-09 Matthias Clasen <mclasen@redhat.com> * gtk/gtkfilechooserbutton.c (update_idler): Remove debugging printfs.
* Improve the docs. (#157785, Torsten Schoenfeld)Matthias Clasen2004-11-102-6/+9
| | | | | | | 2004-11-09 Matthias Clasen <mclasen@redhat.com> * gtk/gtkicontheme.[ch]: Improve the docs. (#157785, Torsten Schoenfeld)
* Add new symbols.Matthias Clasen2004-11-093-0/+8
| | | | | | | | 2004-11-09 Matthias Clasen <mclasen@redhat.com> * gtk/gtk.symbols: Add new symbols. * xdgmime.h: Prefix all symbols.
* Make it work with *big* icon views. (#154466)Matthias Clasen2004-11-091-3/+4
| | | | | | | 2004-11-09 Matthias Clasen <mclasen@redhat.com> * gtk/gtkiconview.c (gtk_icon_view_scroll_to_item): Make it work with *big* icon views. (#154466)
* Make return types G_CONST_RETURN instead of const.Matthias Clasen2004-11-095-4/+30
| | | | | | | | | | | | | | 2004-11-09 Matthias Clasen <mclasen@redhat.com> * gtk/gtkaction.[hc]: * gtk/gtkactiongroup.[hc]: Make return types G_CONST_RETURN instead of const. * gtk/gtk.symbols: * gtk/gtkaction.h: * gtk/gtkaction.c (gtk_action_get_accel_path): Add a function to obtain the accel path of an action. (#148106, Michael Natterer)
* Raise the grip window when appropriate. (gtk_statusbar_init): Instead ofMatthias Clasen2004-11-091-5/+11
| | | | | | | | | | | 2004-11-09 Matthias Clasen <mclasen@redhat.com> * gtk/gtkstatusbar.c (gtk_statusbar_init): Raise the grip window when appropriate. (gtk_statusbar_init): Instead of cutting the text of, make ellipsize the label. (gtk_statusbar_size_allocate): Don't let the label extend under the resize grip.
* Raise the grip window when appropriate.Matthias Clasen2004-11-091-5/+23
| | | | | | | 2004-11-09 Matthias Clasen <mclasen@redhat.com> * gtk/gtkstatusbar.c (gtk_statusbar_init): Raise the grip window when appropriate.
* Use a row reference, not a path, to associate separators with their treeMatthias Clasen2004-11-091-9/+13
| | | | | | | | | 2004-11-09 Matthias Clasen <mclasen@redhat.com> * gtk/gtkcombobox.c (find_menu_by_path) (gtk_combo_box_menu_fill_level, gtk_combo_box_menu_row_inserted): Use a row reference, not a path, to associate separators with their tree row.
* Show the grip_window if necessary.Matthias Clasen2004-11-091-1/+4
| | | | | | | 2004-11-09 Matthias Clasen <mclasen@redhat.com> * gtk/gtkstatusbar.c (gtk_statusbar_set_has_resize_grip): Show the grip_window if necessary.
* Only clear the triangle below the grip to the background, not the fullMatthias Clasen2004-11-091-22/+28
| | | | | | | | 2004-11-09 Matthias Clasen <mclasen@redhat.com> * gtk/gtkstyle.c (gtk_default_draw_resize_grip): Only clear the triangle below the grip to the background, not the full area.
* Clip when drawing the cursor. This prevents bits of a selectable labelMatthias Clasen2004-11-091-3/+4
| | | | | | | | | 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)
* Apply a patch by Owen Taylor to get reasonable allocations for theMatthias Clasen2004-11-091-32/+8
| | | | | | | | 2004-11-09 Matthias Clasen <mclasen@redhat.com> * gtk/gtkstatusbar.c: Apply a patch by Owen Taylor to get reasonable allocations for the statusbar and its children. (#73359)
* Add new symbols.Matthias Clasen2004-11-091-0/+3
| | | | | | 2004-11-09 Matthias Clasen <mclasen@redhat.com> * gtk/gtk.symbols: Add new symbols.
* Avoid resizing GtkStatusbar if the text of the label changes (#90955, HeMatthias Clasen2004-11-093-3/+105
| | | | | | | | | | | | | | | 2004-11-09 Matthias Clasen <mclasen@redhat.com> Avoid resizing GtkStatusbar if the text of the label changes (#90955, He Qiangqiang, fix proposed by Owen Taylor, patch by Christian Persch) * gtk/gtklabel.[hc]: Add a boolean single-line-mode property which causes the label height not to depend on the actual text, but only on the font. * gtk/gtkstatusbar.c (gtk_statusbar_init): Turn on single-line-mode for the label.
* Use xdg_mime_mime_type_subclass() to match mime types. This also gives useMatthias Clasen2004-11-083-3/+12
| | | | | | | | | 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)
* Use gtk_widget_{hide,show} instead of g_object_set (..."visible"...).Matthias Clasen2004-11-081-3/+4
| | | | | | | 2004-11-08 Matthias Clasen <mclasen@redhat.com> * gtk/gtkaction.c (_gtk_action_sync_menu_visible): Use gtk_widget_{hide,show} instead of g_object_set (..."visible"...).
* Sync from upstreamMatthias Clasen2004-11-0812-100/+1096
| | | | | | 2004-11-08 Matthias Clasen <mclasen@redhat.com> * Sync from upstream
* Hide the website button if the url is unset. (#157630, John Finlay)Matthias Clasen2004-11-081-0/+1
| | | | | | | 2004-11-08 Matthias Clasen <mclasen@redhat.com> * gtk/gtkaboutdialog.c (gtk_about_dialog_set_website): Hide the website button if the url is unset. (#157630, John Finlay)
* Change the return types of the gchar ** getters to be more const correct.Matthias Clasen2004-11-082-21/+21
| | | | | | | | 2004-11-08 Matthias Clasen <mclasen@redhat.com> * gtk/gtkaboutdialog.[hc]: Change the return types of the gchar ** getters to be more const correct. (#157566, Mariano Suárez-Alvarez)
* Add uri targets before text targets, to make file dnd work better.Matthias Clasen2004-11-081-6/+14
| | | | | | | | 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)
* Support columns whose declared type is an interface better, by treatingMatthias Clasen2004-11-081-4/+19
| | | | | | | | 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.
* add the icons again with the binary flag (Closes: #157665)Bastien Nocera2004-11-082-0/+0
| | | | | | | | 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)
* - removedBastien Nocera2004-11-082-0/+0
|
* New convenience function to add a filter for image files which can beMatthias Clasen2004-11-072-9/+63
| | | | | | | | | | | 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) * tests/testfilechooser.c: Test the image filter.
* Remove some warnings.Matthias Clasen2004-11-071-2/+2
| | | | | | 2004-11-07 Matthias Clasen <mclasen@redhat.com> * gtk/gtkmenu.c (menu_change_screen): Remove some warnings.
* Show files in folder modes. (#157013, Nickolay V. Shmyrev)Matthias Clasen2004-11-071-30/+86
| | | | | | | | | | | | | | | | 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.
* Don't support CREATE_FOLDER and SAVE for now. UI authorities object to it.Matthias Clasen2004-11-071-0/+18
| | | | | | | | 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)
* Forgotten fileMatthias Clasen2004-11-071-0/+5
|
* Jump through a few hoops to make the tooltip on the filter combo box workMatthias Clasen2004-11-072-9/+27
| | | | | | | | 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.
* Add the ComboCellInfo to the list. (#157528, Carlos Garnacho Parro)Matthias Clasen2004-11-061-0/+2
| | | | | | | | 2004-11-06 Matthias Clasen <mclasen@redhat.com> * gtk/gtkcombobox.c (gtk_combo_box_cell_layout_pack_end): Add the ComboCellInfo to the list. (#157528, Carlos Garnacho Parro)
* Remove this unneeded function, as it breaks state propagation.Matthias Clasen2004-11-051-27/+0
| | | | | | | 2004-11-05 Matthias Clasen <mclasen@redhat.com> * gtk/gtkcombobox.c (gtk_combo_box_menu_button_state_changed): Remove this unneeded function, as it breaks state propagation.
* Queue the resize before setting the tearoff state, to make sure theMatthias Clasen2004-11-051-2/+1
| | | | | | | | | | 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)
* Don't unnecessarily call gtk_menu_position(), since that function hasMatthias Clasen2004-11-051-1/+7
| | | | | | | | | 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)
* Document new functions.Matthias Clasen2004-11-051-3/+50
| | | | | | 2004-11-05 Matthias Clasen <mclasen@redhat.com> * gtk/gtkmain.c: Document new functions.
* Typo fix.Matthias Clasen2004-11-041-1/+1
| | | | | | | | | | | | 2004-11-04 Matthias Clasen <mclasen@redhat.com> * gtk/stock-icons/Makefile.am: Typo fix. * gtk/tmpl/gtkstock.sgml: Fix markup. * gtk/gtk-docs.sgml: * gtk/migrating-GtkAboutDialog.sgml: Add a first version of a GnomeAbout --> GtkAboutDialog migration chapter.
* Documentation updates.Matthias Clasen2004-11-041-1/+115
| | | | | | 2004-11-04 Matthias Clasen <mclasen@redhat.com> * gtk/gtkaboutdialog.c: Documentation updates.
* Make sure the RTL variants are used for media icons update following theBastien Nocera2004-11-044-15/+19
| | | | | | | | | | | | | | | | 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
* Don't leak the path. (#157301, Carlos Garnacho Parro)Matthias Clasen2004-11-041-0/+2
| | | | | | | 2004-11-03 Matthias Clasen <mclasen@redhat.com> * gtk/gtkfilechooserdefault.c (new_folder_button_clicked): Don't leak the path. (#157301, Carlos Garnacho Parro)
* Tiny cleanupMatthias Clasen2004-11-031-2/+1
|