summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Integrate Erwann Chenede's multihead changes for the gtk/ directory.Alex Larsson2002-04-2957-824/+1951
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Mon Apr 29 18:28:00 2002 Owen Taylor <otaylor@redhat.com> Integrate Erwann Chenede's multihead changes for the gtk/ directory. * gtk/gtkclipboard.[ch]: Add gtk_clipboard_get_for_display(), make internals multihead aware. * gtk/gtkcolorsel.[ch]: Add gtk_color_selection_set_change_palette_with_screen_hook () [ugh!] make up for non-multihead safety of gtk_color_selection_set_change_palette_hook() * gtk/gtkinvisible.[ch] gtk/gtkmenu.[ch] gtkwindow.[ch]: Add gtk_{invisible,menu,window}_set_screen(); add "screen" properties for GtkWindow and GtkMenu. * gtk/gtkplug.[ch]: Add gtk_plug_construct_for_display(), gtk_plug_new_for_display(). Multihead fixes. * gtk/gtkselection.[ch]: Add gtk_selection_owner_set_for_display(), make internals multihead aware. * gtk/gtksettings.[ch]: Add gtk_settings_get_for_screen(), get rid of now-useless gtk_settings_constructor(). * gtk/gtkstyle.[ch]: Add gtk_style_get_font_for_display(), fix check/radio button indicators bitmap handling to be multihead safe. * gtk/gtkwidget.[ch]: Add gtk_widget_get_screen(), gtk_widget_has_screen(), gtk_widget_get_display(), gtk_widget_get_clipboard(), gtk_widget_get_root_window(). * gtk/gtkbindings.c gtk/gtkbutton.c gtk/gtkclist.c gtk/gtkcombo.c gtk/gtkctree.c gtk/gtkdnd.c gtk/gtkfilesel.c gtk/gtkgamma.c gtk/gtkhandlebox.c gtk/gtkhsv.c gtk/gtkimcontext.c gtk/gtklabel.c gtk/gtklist.c gtk/gtkmain.c gtk/gtkmenuitem.c gtk/gtkmenushell.c gtk/gtknotebook.c gtk/gtkoldeditable.c gtk/gtkoptionmenu.c gtk/gtkpaned.c gtk/gtkpreview.c gtk/gtksocket.c gtk/gtktext.c gtk/gtktextbuffer.c gtk/gtktextview.c gtk/gtktipsquery.c gtk/gtktooltips.c gtk/gtktreeview.c gtk/gtktreeviewcolumn.c: misc mechanical multihead-safety fixes. * gtk/gtkclipboard.c: Use a GtkImage rather than a pixmap for the dropper, look up the color palette only at realization time, other multihead fixes. * gtk/gtkcombo.c (gtk_combo_unrealize): Popdown the list when unrealizing. * gtk/gtkentry.c: Only claim ownership of the primary selection when realized, misc multihead fixes. * gtk/gtkfontsel.c: Only fill in fonts when attached to a screen, fix gtk_font_selection_get_font() for multihead. * gtk/gtkgc.c: make the depth => drawable hash per-screen. * gtk/gtkinvisible.c: Add a constructor that realizes the widget, so we get a realized widget with g_object_new() as well gtk_invisible_new() as before. * gtk/gtkmain.c: Get rid of unused gtk_visual/gtk_colormap variables. * gtk/gtktextdisplay.c: Add warnings if stipple bitmaps are used on the wrong screen. * gtk/gtktoolbar.c: Make handling of GtkSettings-based layout read properties and connect to settings when the screen is changed, rather than on init/finalize. * gtk/gtkwindow.c: Fix icon handing to be multihead safe ... default icon pixmaps/mask are only shared between windows on the same screen. Misc multihead fixes. Sat Apr 27 13:49:53 2002 Owen Taylor <otaylor@redhat.com> * gtk/gtkclipboard.c (gtk_clipboard_get_for_display): Update docs to reference GDK_SELECTION_CLIPBOARD rather GDK_NONE. 2002-04-29 Alex Larsson <alexl@redhat.com> * gdk/linux-fb/gdkproperty-fb.c (gdk_property_get): Fix silly bug, noticed by Sven Neumann. Sun Apr 28 22:43:55 2002 Jonathan Blandford <jrb@gnome.org> * gtk/gtktreemodelsort.c (gtk_tree_model_sort_set_sort_func): Fix so that you can set a new sort func.
* Fix silly bug, noticed by Sven Neumann.Alex Larsson2002-04-297-1/+31
| | | | | | | 2002-04-29 Alex Larsson <alexl@redhat.com> * gdk/linux-fb/gdkproperty-fb.c (gdk_property_get): Fix silly bug, noticed by Sven Neumann.
* Fix so that you can set a new sort func.Jonathan Blandford2002-04-297-3/+37
| | | | | | | Sun Apr 28 22:43:55 2002 Jonathan Blandford <jrb@gnome.org> * gtk/gtktreemodelsort.c (gtk_tree_model_sort_set_sort_func): Fix so that you can set a new sort func.
* Updated tr.poFatih Demir2002-04-272-340/+265
|
* Updated Greek translationSimos Xenitellis2002-04-271-70/+117
|
* Use GDK_DISPLAY_XDISPLAY instead of GDK_SCREEN_XDISPLAY since we pass in aAnders Carlsson2002-04-2610-1/+106
| | | | | | | | | | | | | | | | | | 2002-04-27 Anders Carlsson <andersca@gnu.org> * gdk/x11/gdkpixmap-x11.c (gdk_pixmap_foreign_new_for_display): Use GDK_DISPLAY_XDISPLAY instead of GDK_SCREEN_XDISPLAY since we pass in a GdkDisplay * in the macro. 2002-04-26 Anders Carlsson <andersca@gnu.org> * gdk/gdkdisplay.c: (gdk_set_default_display): Call _gdk_windowing_set_default_display. * gdk/gdkinternals.h: * gdk/x11/gdkmain-x11.c: (_gdk_windowing_set_default_display): New function that sets gdk_display to the default display. Fixes #79965
* if the deleted node was "below" this path, then do not unref all nodesKristian Rietveld2002-04-267-1/+56
| | | | | | | | | | Fri Apr 26 21:58:16 2002 Kristian Rietveld <kris@gtk.org> * gtk/gtktreemodel.c (gtk_tree_row_ref_deleted_callback): if the deleted node was "below" this path, then do not unref all nodes between the deleted parent and the node this rowref is pointing too (see added comment in gtk_tree_row_ref_deleted_callback), (fixes #77977)
* tests/testtreecolumns.c quit the main loop when the window is destroyed.Sven Neumann2002-04-268-3/+42
| | | | | | | | 2002-04-26 Sven Neumann <sven@gimp.org> * tests/testtreecolumns.c * tests/testtreeview.c: quit the main loop when the window is destroyed. Removed compiler warnings about wrong format in printf().
* This commit fixes binary compatibility, which I broke with my recent cellKristian Rietveld2002-04-2610-40/+174
| | | | | | | | | | | | | | | | | | | Fri Apr 26 21:46:42 2002 Kristian Rietveld <kris@gtk.org> This commit fixes binary compatibility, which I broke with my recent cell renderer commits :/. * gtk/gtkcellrenderer.h: move cell_background out of _GtkCellRenderer * gtk/gtkcellrenderer.c: create GtkCellRendererInfo, with the cell_background field and use this as object data. This way we keep the field private and dont break ABI. * gtk/gtkcellrendererpixbuf.h: remove stock_id, stock_size and stock_detail from _GtkCellRendererPixbuf * gtk/gtkcellrendererpixbuf.c: create a GtkCellRendererPixbufInfo with above mentioned fields. And update everything.
* include X11/Xlib.h, fixes the buildKristian Rietveld2002-04-267-0/+26
| | | | | | Fri Apr 26 21:42:02 2002 Kristian Rietveld <kris@gtk.org> * gdk/x11/gdkdrawable-x11.h: include X11/Xlib.h, fixes the build
* Add missing gdkscreen/display-x11.h files.Owen Taylor2002-04-269-14/+62
| | | | | | | Fri Apr 26 10:34:15 2002 Owen Taylor <otaylor@redhat.com> * gdk/x11/Makefile.am (libgdk_x11_la_SOURCES): Add missing gdkscreen/display-x11.h files.
* Fix some docs duplicated between templates and inline.Owen Taylor2002-04-265-107/+39
| | | | | | | Thu Apr 25 22:37:58 2002 Owen Taylor <otaylor@redhat.com> * gdk/tmpl/{events,input_devices,region,x_interaction}.sgml: Fix some docs duplicated between templates and inline.
* Start of integration of Erwann Chenede's multihead work from theOwen Taylor2002-04-2591-4307/+6705
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Thu Apr 25 16:51:40 2002 Owen Taylor <otaylor@redhat.com> Start of integration of Erwann Chenede's multihead work from the gtk-multihead branch. * gdk/gdkdisplay.[ch] gdk/gdkscreen.[ch] gdk/x11/gdkdisplay-x11.[ch] gdk/x11/gdkscreen-x11.[ch] New classes representing a set of screens with attached input devices and a single contiguous area, respectively. * gdk/gdk.[ch] gdk/gdkinternals.h gdk/x11/gdkmain-x11.c: gdk/x11/gdkprivate-x11.h: Make the initialization interface simple _gdk_windowing_init() and do the rest in gdk_open_display() calls. * gdk/gdk.[ch]: Add gdk_parse_args() which can be used to do the display-independent part of initialization instead of gdk_init_[check]. * gdk/gdkcursor.h gdk/gdkfont.h gdk/gdkkeys.h gdk/gdkpixmap.h gdk/gdkproperty.h gdk/gdkselection.h gdk/gdkwindow.h: Add multihead variants (_for_display(), for_screen()) of functions getting information specific to a particular screen screen or display. * gdk/gdkscreen.[ch]: Add gdk_screen__* variants of functions like gdk_rgb_get_colormap() that used to get/list global objects. * gdk/x11/gdkx.h: Add functions for converting GdkScreen and GdkDisplay into the X equivalents. * gdk/x11/gdkwindow-x11.c: Removed gdk_window_xid_at_coords() not in the headers and unused. * configure.in gdk/x11/{gxid.c,gxid_lib.[ch],gdkinput-gxi.c}: Remove gxid support ... has not been tested for a long time... "xfree" support is more portable to non XFree86. * gdk/**.h: Add a GDK_MULTIHEAD_SAFE define that can be used to turn off functions that are inherently non-multihead safe. * gdk/**.c: add GDK_NOTE(multihead, ...) calls when functions are used in non-multihead-safe ways. * gdk/*.c gdk/x11/*.c: Changes to make the internals of GDK multihead safe.
* Updated Slovenian translationAndraz Tori2002-04-251-36/+63
|
* fix typo in ChangeLogKristian Rietveld2002-04-256-6/+6
|
* Fixes #74206.Kristian Rietveld2002-04-258-3/+110
| | | | | | | | | | | | | | | Thu Apr 25 23:49:01 2002 Kristian Rietveld <kris@gtk.org> Fixes #74206. * gtk/gtktreeprivate.h: add _gtk_tree_view_column_count_special_cells * gtk/gtktreeview.c (_gtk_tree_view_column_has_editable_cell), (_gtk_tree_view_column_get_editable_cell): remove a space which made the code look ugly (_gtk_tree_view_column_count_special_cells): new function, (gtk_tree_view_column_cell_process_action): if there's only one activatable cell, the whole column will activate that renderer.
* make the search dialog not scroll horizontally (prolly fixes #74806).Kristian Rietveld2002-04-257-2/+32
| | | | | | | Thu Apr 25 23:36:55 2002 Kristian Rietveld <kris@gtk.org> * gtk/gtktreeview.c (gtk_tree_view_search_iter): make the search dialog not scroll horizontally (prolly fixes #74806).
* Avoid a possible division by zero. (#77820)Matthias Clasen2002-04-257-2/+36
| | | | | * gtk/gtkrange.c (gtk_range_calc_layout): Avoid a possible division by zero. (#77820)
* use the child's requisition.height, not allocation.height, as width ofSoeren Sandmann2002-04-257-2/+41
| | | | | | | | Thu Apr 25 20:24:37 2002 Soeren Sandmann <sandmann@daimi.au.dk> * gtk/gtkmenuitem.c (gtk_menu_item_size_allocate): use the child's requisition.height, not allocation.height, as width of submenu indicator. (#75948)
* Updated Slovenian translationAndraz Tori2002-04-251-512/+512
|
* Updated Slovenian translationAndraz Tori2002-04-251-363/+427
|
* resort if we're already in 'unsorted' state, and update the docsKristian Rietveld2002-04-247-1/+36
| | | | | | | Thu Apr 25 00:26:34 2002 Kristian Rietveld <kris@gtk.org> * gtk/gtktreemodelsort.c (gtk_tree_model_sort_reset_default_sort_func): resort if we're already in 'unsorted' state, and update the docs
* Remove GTK_OBJECT_CONNECTED.Matthias Clasen2002-04-249-3/+34
| | | | | | | * gtk/gtk-sections.txt: Remove GTK_OBJECT_CONNECTED. * gtk/gtktreeview.c (gtk_tree_view_stop_editing): Remove doc comment markers on freeform comments.
* Fix file corruption that got accidentally delivered.Matthias Clasen2002-04-241-2474/+1543
|
* temporarily set ->priv->edited_column to NULL. Pleas read the comment inKristian Rietveld2002-04-247-3/+55
| | | | | | | | Wed Apr 24 17:34:16 2002 Kristian Rietveld <kris@gtk.org> * gtk/gtktreeview.c (gtk_tree_view_stop_editing): temporarily set ->priv->edited_column to NULL. Pleas read the comment in this function for an explanation (fixes #79632).
* Remove the ISO8859-1 restriction from the description of png tEXtMatthias Clasen2002-04-243-13/+37
| | | | | | | | | * gdk-pixbuf-io.c (gdk_pixbuf_save): Remove the ISO8859-1 restriction from the description of png tEXt parameters. * io-png.c (png_text_to_pixbuf_option): (gdk_pixbuf__png_image_save): If libpng supports it, store and retrieve non-ISO8859-1 text as UTF-8. (#76172)
* Formatting fix.Matthias Clasen2002-04-232-2/+2
| | | | * gtk/tmpl/gtksocket.sgml: Formatting fix.
* Improve docs. (#62359)Matthias Clasen2002-04-2312-25/+75
| | | | | | | | | | | | | * gtk/gtktextview.c (gtk_text_view_buffer_to_window_coords): (gtk_text_view_window_to_buffer_coords): Improve docs. (#62359) * gdk-pixbuf/tmpl/gdk-pixbuf-loader.sgml: Updates. (#79001) * gtk/tmpl/gtksocket.sgml: Add link to XEmbed draft. (#67818) * gtk/tmpl/gtkdrawingarea.sgml: Fix a typo. * gtk/text_widget.sgml: Complete the fix for #79080.
* Updated Norwegian (bokmål) translation.Kjartan Maraas2002-04-232-32/+80
| | | | | | 2002-04-23 Kjartan Maraas <kmaraas@gnome.org> * no.po: Updated Norwegian (bokmål) translation.
* This commit adds a cell_background property for cell renderers. With thisKristian Rietveld2002-04-239-9/+244
| | | | | | | | | | | | | | | | | | | | | Tue Apr 23 18:35:34 2002 Kristian Rietveld <kris@gtk.org> This commit adds a cell_background property for cell renderers. With this property you can make your TreeView look incredibly ugly. * gtk/gtkcellrenderer.c: add cell_background, cell_background_gdk and cell_background_set properties, (set_cell_bg_color): new function, (gtk_cell_renderer_get_property), (gtk_cell_renderer_set_property): support for new properties, (gtk_cell_renderer_render): render a background when set. * gtk/gtkcellrenderer.h: add cell_background_set and cell_background fields. * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_cell_process_action): when rendering, pass in just the background_area of the cell and not the background_area of the entire column.
* Updated Slovenian translationAndraz Tori2002-04-231-251/+197
|
* Update ChangeLogAnders Carlsson2002-04-226-6/+12
|
* Use gtk_entry_get_public_chars. Fixes #79532.Anders Carlsson2002-04-227-1/+37
| | | | | | | 2002-04-22 Anders Carlsson <andersca@gnu.org> * gtk/gtkentry.c (gtk_entry_drag_data_get): Use gtk_entry_get_public_chars. Fixes #79532.
* This commit adds stock icon functionality to GtkCellRendererPixbuf whichKristian Rietveld2002-04-229-27/+206
| | | | | | | | | | | | | | | | Mon Apr 22 19:24:29 2002 Kristian Rietveld <kris@gtk.org> This commit adds stock icon functionality to GtkCellRendererPixbuf which is totally cool. * gtk/gtkcellrendererpixbuf.h: add some fields * gtk/gtkcellrendererpixbuf.c: add finalize method, add some properties, add some stock icon rendering code. * demos/gtk-demo/stock_browser.c: modified to use the stock icon stuff in the cellrendererpixbuf instead of its own stock icon rendering code.
* Updated Norwegian (bokmål) translation.Kjartan Maraas2002-04-222-209/+208
| | | | | | 2002-04-22 Kjartan Maraas <kmaraas@gnome.org> * no.po: Updated Norwegian (bokmål) translation.
* Updated French translation.Christophe Merlet2002-04-222-244/+236
|
* Fix typo in "Simple Example". (#78661)Matthias Clasen2002-04-212-2/+6
| | | | * gtk/tree_widget.sgml: Fix typo in "Simple Example". (#78661)
* Updated traditional Chinese translation.Kwok-Koon Cheung2002-04-213-483/+449
|
* Save x and y in window_private.Alexander Larsson2002-04-218-1/+62
| | | | | | | | | | | 2002-04-21 Alexander Larsson <alla@lysator.liu.se> * gdk/x11/gdkwindow-x11.c (gdk_window_reparent): Save x and y in window_private. * gtk/gtkplug.c (_gtk_plug_add_to_socket): Move plug window outside the visible area to avoid flashing until the first size_allocate.
* Add a fake STEPPER function that is used for drawing scrollbar steppers,GTK_ENGINES_1_9_0Owen Taylor2002-04-214-168/+105
| | | | | | | | | | | | | Sun Apr 21 14:10:04 2002 Owen Taylor <otaylor@redhat.com> * pixbuf-rc-style.c pixbuf.h pixbuf-draw.c: Add a fake STEPPER function that is used for drawing scrollbar steppers, so that themes that want to draw the button and arrow separately can override the default handling. * pixbuf-draw.c: Remove draw_polygon() since it was just a cut-and-paste of the default one. Remove some unused code.
* remove leftover conflict marker.Matthias Clasen2002-04-206-6/+0
|
* A bunch of trivial doc fixes.Matthias Clasen2002-04-2017-1549/+2583
|
* Updated Greek translationSimos Xenitellis2002-04-202-237/+241
|
* Updated Greek translationSimos Xenitellis2002-04-201-696/+646
|
* Updated Ukrainian translationYuri Syrota2002-04-201-255/+236
|
* add "selected_shadow_type" style propertySoeren Sandmann2002-04-207-8/+46
| | | | | | Sat Apr 20 21:15:11 2002 Soeren Sandmann <sandmann@daimi.au.dk> * gtk/gtkmenuitem.c: add "selected_shadow_type" style property
* Accept NULL for color to mean "unmodify"Owen Taylor2002-04-207-24/+95
| | | | | | | | | | Sat Apr 20 12:07:14 2002 Owen Taylor <otaylor@redhat.com> * gtk/gtkwidget.c (gtk_widget_modify_color_component): Accept NULL for color to mean "unmodify" * gtk/gtkwidget.c (gtk_widget_modify_font): Accept NULL for font_desc to mean "unmodify".
* replace GDK_IS_WINDOW with GDK_IS_DRAWABLE in the assert, only checkKristian Rietveld2002-04-207-6/+54
| | | | | | | | | | Sat Apr 20 16:49:26 2002 Kristian Rietveld <kris@gtk.org> * gdk/x11/gdkpixmap-x11.c (gdk_pixmap_new): replace GDK_IS_WINDOW with GDK_IS_DRAWABLE in the assert, only check GDK_WINDOW_DESTROYED if window is a GdkWindow, (gdk_bitmap_create_from_data): ditto, (gdk_pixmap_create_from_data): ditto
* add bug numberKristian Rietveld2002-04-196-0/+12
|
* add _gtk_tree_view_column_autosizeKristian Rietveld2002-04-199-23/+115
| | | | | | | | | | | | | | | Fri Apr 19 23:38:16 2002 Kristian Rietveld <kris@gtk.org> * gtk/gtktreeprivate.h: add _gtk_tree_view_column_autosize * gtk/gtktreeview.c: privately export _gtk_tree_view_column_autosize, and add a small note about that function, (gtk_tree_view_button_press): check for double click and "not having an autosize" column before autosizing the column, * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_set_min_width): call _gtk_tree_view_column_autosize to update autosized column width (gtk_tree_view_column_set_max_width): ditto