1 2002-04-21 Matthias Clasen <maclas@gmx.de>
3 * gtk/tmpl/gtktreemodel.sgml:
4 * gtk/tmpl/gtkradiomenuitem.sgml: Fix crossreferences. (#78392)
6 * gtk/gtk-sections.txt: Add GtkWidgetClass. (#78392)
8 * gtk/tmpl/gtkwidget.sgml: Rewrite docs for
9 gtk_widget_reset_rc_styles. (#75588)
11 * gdk/tmpl/properties.sgml: Fix gdk_property_change docs. (#72312)
13 * gtk/text_widget.sgml: Fix misleading example. (
15 * gtk/tmpl/gtkdialog.sgml: Fix stock id in example. (#74439)
17 Tue Apr 9 18:34:58 2002 Owen Taylor <otaylor@redhat.com>
19 * gtk/gtkcontainer.c (_gtk_container_queue_resize): Always
20 set the ALLOC_NEEDED and REQUEST_NEEDED flags up the hierarchy,
21 even if we aren't currently in a resize container... we need
22 this to properly handle size changes to widgets that are
23 being moved from one heirarchy to another. (#78226)
25 Tue Apr 9 21:41:24 2002 Kristian Rietveld <kris@gtk.org>
29 * gtk/gtktreeselection.c (_gtk_tree_selection_internal_select_node):
30 add override_browse_mode argument and implement,
31 (gtk_tree_selection_unselect_path): always unselect the path,
32 (toplevel): update uses of _gtk_tree_selection_internal_select_node
34 * gtk/gtktreeview.c: update uses of
35 _gtk_tree_selection_internal_select_node
37 * gtk/gtktreeprivate.h (_gtk_tree_selection_internal_select_node):
40 Tue Apr 9 21:39:44 2002 Kristian Rietveld <kris@gtk.org>
44 * gtk/gtktreeprivate.h: add _gtk_tree_view_column_has_editable_cell
46 * gtk/gtktreeviewcolumn.c (_gtk_tree_view_column_has_editable_cell):
49 * gtk/gtktreeview.c (gtk_tree_view_button_press): send cell event
50 on first click when cell isn't editable
52 Tue Apr 9 21:37:31 2002 Kristian Rietveld <kris@gtk.org>
54 * gtk/gtktreedatalist.c (_gtk_tree_data_list_check_type): add some
55 types which were missing and useful to use (fixes #77870)
57 2002-04-09 Anders Carlsson <andersca@gnu.org>
59 * gtk/gtkfilesel.c (open_new_dir): Initialize error to NULL.
61 2002-04-08 Manish Singh <yosh@gimp.org>
63 * tests/testgtk.c: really revert testgtk.c
65 Mon Apr 8 20:28:54 2002 Kristian Rietveld <kris@gtk.org>
67 * gtk/gtktreeselection.c (gtk_tree_selection_select_path),
68 (gtk_tree_selection_unselect_path),
69 (gtk_tree_selection_path_is_selected): check the return value of
70 _gtk_tree_view_find_node and return if it's TRUE. This makes those
71 functions work somewhat saner on non-expanded trees.
73 Fri Apr 5 18:28:56 2002 Kristian Rietveld <kris@gtk.org>
75 * gtk/gtktreeselection.c (gtk_tree_selection_set_mode): free
76 anchor row reference after unselecting the selection (fixes #76272)
78 Fri Apr 5 18:27:48 2002 Kristian Rietveld <kris@gtk.org>
80 * gtk/gtktreeview.c (gtk_tree_view_real_expand_row): only return
81 when we don't have to open all children (fixes #75736)
83 Fri Apr 5 18:24:24 2002 Kristian Rietveld <kris@gtk.org>
85 * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_clear): unref
86 cellrenderer after clearing the attributes of the renderer (fixes
89 Fri Apr 5 05:55:14 2002 Jonathan Blandford <jrb@gnome.org>
91 * gtk/gtktreeview.c (gtk_tree_view_grab_focus): implement.
92 (gtk_tree_view_move_cursor_up_down): check for focus
93 (gtk_tree_view_move_cursor_page_up_down): ditto
94 (gtk_tree_view_move_cursor_left_right): ditto
95 (gtk_tree_view_move_cursor_start_end): ditto
96 (gtk_tree_view_real_select_all): ditto
97 (gtk_tree_view_real_unselect_all): ditto
98 (gtk_tree_view_real_select_cursor_row): ditto
99 (gtk_tree_view_real_toggle_cursor_row): ditto
100 (gtk_tree_view_real_expand_collapse_cursor_row): ditto
101 (gtk_tree_view_real_select_cursor_parent): ditto
102 (gtk_tree_view_real_start_interactive_search): ditto
104 * gtk/gtktreeviewcolumn.c: grab focus
106 2002-04-05 Alex Larsson <alexl@redhat.com>
108 * gdk/linux-fb/gdkkeyboard-fb.c (write_string):
109 Fix undefined variable typo.
110 Patch from Simon Floery <simon.floery@gmx.at>
112 Fri Apr 5 01:06:15 2002 Tim Janik <timj@gtk.org>
114 * gdk/x11/gdkwindow-x11.c (set_text_property): fix segfault
115 upon NULL return from gdk_utf8_to_string_target().
117 * gdk/x11/gdkselection-x11.c (gdk_utf8_to_string_target): fix
118 return value comment to mention NULL returns upon EMFILE.
120 Thu Apr 4 22:35:42 2002 Soeren Sandmann <sandmann@daimi.au.dk>
122 * tests/testgtk.c (menu_items): revert accidentally commited
125 Thu Apr 4 22:28:08 2002 Soeren Sandmann <sandmann@daimi.au.dk>
127 * gtk/gtkmenuitem.c (gtk_menu_item_paint): Fix problem with menu
128 titles being clipped (#75948)
130 2002-04-04 Tor Lillqvist <tml@iki.fi>
132 * gdk/gdkrgb.c: Fix some bugs, and introduce a minor feature.
134 (gdk_rgb_convert_4_pack): New function, for 16-color (4 bits per
135 pixel) static visuals (fixes #858).
137 (gdk_rgb_convert_gray4_pack, gdk_rgb_convert_gray4_d_pack): Fix
138 same bugs in both functions: Odd start coordinate (partial byte)
139 was not handled correctly. Also a partial final byte was not
142 (gdk_rgb_do_colormaps): Use G_N_ELEMENTS.
143 (gdk_rgb_create_info): For pseudocolor visuals, use the 2x2x2
144 colorcube only for depths 3 and 4. For static color, use it for
145 depths 3..7 like before. (Depth 5..7 pseudocolor probably never
146 occurs on X11. It doesn't normally occur on Win32 either, but
147 there is experimental code in gdkvisual-win32.c to let the user
148 restrict the size of palette used.)
149 (gdk_rgb_init): Set gdk_rgb_verbose if the GDK_DEBUG_GDKRGB flag
151 (gdk_rgb_select_conv): Use gdk_rgb_convert_8 also for depths 5, 6
152 and 7 (see above). Use gdk_rgb_convert_4_pack for 4 bits per pixel
155 Tue Apr 2 11:10:13 2002 Jonathan Blandford <jrb@redhat.com>
157 * gtk/gtkliststore.c (gtk_list_store_set_sort_func): set the
158 sort_func correctly, 77030
160 Tue Apr 2 13:44:27 2002 Tim Janik <timj@gtk.org>
162 * configure.in: update version to 2.0.2, binary age 2, interface
165 * NEWS: updates for 2.0.2.
167 Mon Apr 1 22:20:24 2002 Kristian Rietveld <kris@gtk.org>
169 * gtk/gtktreeview.c (gtk_tree_view_move_cursor_page_up_down): add
170 check for y > tree_view->priv->height (fixes #76974)
172 Mon Apr 1 22:19:39 2002 Kristian Rietveld <kris@gtk.org>
174 * gtk/gtktreemodelsort.c (gtk_tree_model_sort_sort_level): get
175 the stamp changes right this time
177 Mon Apr 1 22:13:24 2002 Kristian Rietveld <kris@gtk.org>
179 * gtk/gtktreemodel.c (gtk_tree_row_reference_free): only
180 disconnect the ref callbacks when model == proxy (Thanks go to
181 Manuel Clos Crespo for the remote debugging)
183 Sat Mar 30 15:19:24 2002 Kristian Rietveld <kris@gtk.org>
185 * gtk/gtktreemodelsort.c: revert the latest stamp increment changes,
186 as it broke stuff for trees
188 Fri Mar 29 18:15:12 2002 Owen Taylor <otaylor@redhat.com>
190 * ===== Released 2.0.1 ======
192 Fri Mar 29 18:09:18 2002 Owen Taylor <otaylor@redhat.com>
194 * gtk/gtkaccelgroup.c (gtk_accel_group_query): Call
195 gdk_keyval_to_lower() on the key passed in, since we
196 lowercase all other key vals passed in, so querying
197 keyvals will otherwise fail if the caller used
198 an uppercase accelerators (#76899, Vitaly Tishkov)
200 Fri Mar 29 17:41:21 2002 Owen Taylor <otaylor@redhat.com>
202 * gtk/gtkmain.c (load_modules): Fix screwup in handling
203 of module path that was resulting in freed memory being
204 accessed when both GTK_MODULES and a theme were set.
205 (#76902, Johan Dahlin)
207 Fri Mar 29 17:57:36 2002 Owen Taylor <otaylor@redhat.com>
209 * gtk/gtkiconfactory.c (get_default_icons): Fix wrong
210 stock id's for ADD/REMOVE. (#76915, Vitaly Tishkov)
212 2002-03-29 Hans Breuer <hans@breuer.org>
214 * gtk/gtkmain.h : fix typo in gtk_init_check macro, which
215 caused crashes if argc != 0
217 * gtk/stock-icons/makefile.msc : added new icons
219 Fri Mar 29 20:17:35 2002 Kristian Rietveld <kris@gtk.org>
221 * gtk/gtktreemodelsort.c (gtk_tree_model_sort_rows_reordered):
222 remove call to gtk_tree_model_sort_increment_stamp
223 (gtk_tree_model_sort_sort_level): always increment the stamp
225 Fri Mar 29 00:19:41 2002 Owen Taylor <otaylor@redhat.com>
229 * configure.in: Version 2.0.1, binary, interface age 1.
231 * configure.in (GDK_PIXBUF_VERSION): Up required versions
234 * gtk/gtkiconfactory.c gtk/stock-icons/Makefile.am:
235 Add stock_add/remove_16.
237 Thu Mar 28 18:38:30 2002 Owen Taylor <otaylor@redhat.com>
239 * gtk/gtk[hv]paned.c (gtk_[hv]paned_size_allocate):
240 Don't show the window unless the widget is mapped.
241 (#76742, Dennis Björklund, Soeren Sandmann)
243 2002-03-29 Hans Breuer <hans@breuer.org>
245 Fixed dashed line issues (#74441) to an IMO reasonable extend.
246 That is: use PS_USERSTYLE on WinNT (the next GDI limit appears
247 to be with lines width > 50); Render horizontal and vertical
248 dashed lines on Win9x 'by hand'. Dotted selection rectangles
249 and Dia look nice ...
251 * gdk/win32/gdkprivate-win32.h : add pen_dashes pointer and
252 num_pen_dashes to _GdkGCWin32
253 * gdk/win32/gdkgc-win32.c : initialize pen_dashes and remove
254 the guesses from dashes to windoze line styles.
255 (predraw_set_forground) : always ExtCreatePen (PS_SOLID) on
256 Win9x, which does not support PS_USERSTYLE.
257 * gdk/win32/gdkdrawable-win32.c : new functions render_line_
258 <horizontal|vertical>. Use them if not running on NT in
259 gdk_win32_draw_<rectangle|segments|lines> ()
261 * gdk/win32/gdkkeys-win32.c (gdk_keyval_name) : return NULL
262 for keyval == 0 to avoid to have zeros in all menu entries
265 2002-03-29 Jakub Steiner <jimmac@ximian.com>
267 * gtk/stock-icons/stock_add_24.png:
268 * gtk/stock-icons/stock_add_16.png:
269 * gtk/stock-icons/stock_remove_24.png:
270 * gtk/stock-icons/stock_remove_16.png: use a simple '+' and '-',
271 works better. the old box was too clumsy
273 Thu Mar 28 21:11:04 2002 Tim Janik <timj@gtk.org>
275 * gtk/gtkfilesel.c (open_new_dir): when encountering non-UTF-8 file
276 names, alert the user with g_message() instead of g_warning() and
277 put out the actual conversion error.
279 2002-03-28 Dave Camp <dave@ximian.com>
281 * gtk/gtktreeview.c (install_scroll_sync_handler): Don't install
282 the handler if the widget isn't realized.
284 2002-03-28 Jakub Steiner <jimmac@ximian.com>
286 * gtk/stock-icons/stock_font*:
287 * gtk/stock-icons/stock_align*:
288 * gtk/stock-icons/stock_text*: better solution to the dark theme
289 problem. Also looks more pretty IMHO
291 2002-03-27 Matthias Clasen <maclas@gmx.de>
293 * configure.in: Try to find libpng via pkg-config first,
294 since libpng-1.2.2 will come with a .pc file.
296 Wed Mar 27 11:10:39 2002 Owen Taylor <otaylor@redhat.com>
298 * gtk/gtknotebook.c (gtk_notebook_real_remove): Set
299 page->last_focus_child to NULL as well as removing the
300 weak reference, to deal with reentrancy in set_focus_child().
301 (#76634, Dennis Björklund)
303 2002-03-27 Murray Cumming <murrayc@usa.net>
305 * gtk/gtktreeview.c: Corrected registered return type of
306 "move-cursor" signal. Had to add a marshaller to
307 gtk/gtkmarshalers.list.
309 Tue Mar 26 14:46:50 2002 Owen Taylor <otaylor@redhat.com>
311 * gtk/gtkmenu.c (gtk_menu_popup): Shuffle the ordering around
312 some more (position before realizing) fixing problems with
313 arrows popping up at the wrong time (#73386), hopefully not
314 introducing other problems. (Reported by Ettore Perrazoli, others)
316 2002-03-26 Dave Camp <dave@ximian.com>
318 * gtk/gtktreeview.c (gtk_tree_view_button_press): Free the path
319 after calling gtk_tree_view_row_activated() rather than before.
321 2002-03-25 Sven Neumann <sven@gimp.org>
323 * gtk/gtkrc.c (gtk_rc_parse_font_name): free the style's
324 font_description before assigning a new one.
325 (gtk_rc_parse_stock): always unref the created icon_set. #76289
327 2002-03-25 Mark McLoughlin <mark@skynet.ie>
329 * gtk/gtkbindings.c: (gtk_binding_entry_add_signal),
330 kill code duplicated in gtk_binding_entry_add_signall.
332 Sun Mar 24 10:32:38 2002 Jonathan Blandford <jrb@redhat.com>
334 * gtk/gtktreemodel.c (gtk_tree_path_copy): Make path arg const, #75653
336 * gtk/gtkfontsel.c (gtk_font_selection_show_available_styles): fix
339 * gtk/gtktreeview.c (gtk_tree_view_button_press): remove the grab
340 when we emit row_activated so that listeners of this signal can
341 grab the mouse, #75629
343 2002-03-23 Havoc Pennington <hp@pobox.com>
345 * gtk/gtktextlayout.c (gtk_text_layout_real_invalidate):
346 invalidate the line containing start, even if the [start,end)
347 range is empty (just invalidate [start,end], essentially).
348 Partially fixes #72374
350 2002-03-23 Havoc Pennington <hp@pobox.com>
352 * gtk/gtktextview.c (gtk_text_view_do_popup): end any selection in
353 progress, patch from db@zigo.dhs.org, #74620
355 2002-03-23 Havoc Pennington <hp@pobox.com>
357 * gtk/gtktextview.c (gtk_text_view_move_cursor_internal): extend
358 selection for pageup/pagedown and ctrl+pageup/pagedown if
359 shift is held. more of #53934
361 2002-03-23 Havoc Pennington <hp@pobox.com>
363 * gtk/gtktextview.c (gtk_text_view_destroy_layout): disconnect
364 layout handlers earlier in the function, to avoid possible
366 (gtk_text_view_invalidate): Don't install idle handlers if
367 layout == NULL, otherwise we get problems during finalization
368 since clearing the buffer invalidates and puts the idle handlers
369 back after we destroy the layout. #74660
370 (gtk_text_view_ensure_layout): Install the validation handlers
371 right after creating the layout.
373 * gtk/gtktexttagtable.c (foreach_unref): call
374 _gtk_text_buffer_notify_will_remove_tag(), #75126
376 2002-03-22 Havoc Pennington <hp@pobox.com>
378 * gdk/x11/gdkfont-x11.c (gdk_fontset_load): add more explanatory
379 text to the error message about missing charsets, and use
380 g_printerr() not g_warning() since this is typically not a
381 programming error (we do not export any API to ask whether
382 a font set will have missing charsets so apps realistically can't
383 do anything other than try the gdk_fontset_load())
385 * gtk/gtktextview.c (gtk_text_view_key_press_event): return FALSE
386 if the text view isn't editable and the user presses Return,
387 so default buttons and such can be activated, #74937
389 * gtk/gtktextbuffer.c (paste_from_buffer): don't insert
390 if the insertion point is not editable and the paste
391 is interactive, #74125
393 * gtk/gtkwindow.c (gtk_window_move_resize): enhance the #if 0
396 * gtk/gtktextbuffer.c (cut_or_copy): only remove the previous
397 cut/copied data right before replacing it, when we know we are
398 going to replace it. Fixes #74049
400 2002-03-22 Richard Hult <rhult@codefactory.se>
402 * gdk/gdkevents.c (gdk_event_get_root_coords): Fix typo, where x
403 value was assigned to both x and y.
405 Fri Mar 22 11:29:11 2002 Owen Taylor <otaylor@redhat.com>
407 Partial fix for problem where keypad keys acted
408 as shift-arrows in an entry rather than arrows (#74327)
410 * gtk/gtkkeyhash.c (_gtk_key_hash_lookup): Sort lookup
411 results by number of modifiers in the entry. Fixes
412 problem where if a key matched both modified and unmodified
413 key bindings ... e.g., the distinguishing key binding
414 was consumed, then it was random which was used.
416 * gtk/gtkbindings.c (gtk_binding_entries_sort_patterns):
417 Catch the case where there are multiple entries from the
418 same bindingset (with different modifiers), and use only
419 the first entry, which, with the change in _gtk_key_hash_lookup()
420 will be the preferred value.
422 Fri Mar 22 10:56:19 2002 Owen Taylor <otaylor@redhat.com>
424 * gtk/gtkaccelmap.c (gtk_accel_map_save_fd): Fix memory
425 leak. (#74400, Morten Welinder.)
427 * gtk/gtkaccelmap.c: Properly handle short returns from
428 write() calls. (Handling EINTR isn't enough... that only
429 handles the case where you were interrupted before you
430 wrote a single byte.)
432 * gdk/linux-fb/gdkmouse-fb.c gdk/linux-fb/gdkkeyboard-fb.c:
433 Robustify against short returns from write() calls.
435 Fri Mar 22 10:12:10 2002 Owen Taylor <otaylor@redhat.com>
437 * gtk/gtktextview.c (gtk_text_view_paint): Change
438 G_BREAKPOINT() to g_assert_not_reached ().
439 (#75865, Ashok Venkiteswaran)
441 2002-03-22 Tor Lillqvist <tml@iki.fi>
443 * gdk/win32/gdkgc-win32.c (gdk_win32_gc_set_dashes): Don't clear
444 all of the pen_style, just the PS_STYLE_MASK. Seems to fix #74441,
445 but that is just the special case of one-pixel wide one-pixel
446 on-off dotted lines. To fully implement generic X11 style dashed
447 lines a major rewrite would be needed.
449 2002-03-21 Matthias Clasen <maclas@gmx.de>
451 * gtk/gtkaccelgroup.c (gtk_accelerator_valid): Trivial typo
452 fix. (Vitaly Tishkov, #75726)
454 Thu Mar 21 10:04:05 2002 Owen Taylor <otaylor@redhat.com>
456 * gdk/gdkwindow.c (gdk_window_real_get_depth): Remove
457 some left over debugging code with a G_BREAKPOINT()
460 Wed Mar 20 19:33:31 2002 Owen Taylor <otaylor@redhat.com>
462 * gtk/gtkcalendar.c (gtk_calendar_main_button): When
463 changing months when the user clicks on a prev-month
464 or next-month day, focus and select the new day.
465 Ignore double clicks on prev-month, next-month days.
466 (Based on suggestions from Andras Salamon, #74173)
468 * gtk/gtkcalendar.c: Implement th01700000049444c3a436f6e6669674c697374656e65723a312e30000001000000caaedfba54000000010100002d0000002f746d702f6f726269742d6d617474686961732f6f72622d3230343432383833373231323236303434343638000000001800000000000000481c141e963f0a0d0400000015e1f72e64770034"
469 ADD 134217747 "def" "/apps/nautilus" "IOR:010000001700000049444c3a436f6e6669674c697374656e65723a312e30000001000000caaedfba54000000010100002d0000002f746d702f6f726269742d6d617474686961732f6f72622d3230343432383833373231323236303434343638000000001800000000000000481c141e963f0a0d0400000015e1f72e64770034"
470 ADD 150994964 "def" "/system/gnome-vfs" "IOR:010000001700000049444c3a436f6e6669674c697374656e65723a312e30000001000000caaedfba54000000010100002d0000002f746d702f6f726269742d6d617474686961732f6f72622d3230343432383833373231323236303434343638000000001800000000000000481c141e963f0a0d0400000015e1f72e64770034"
471 CLIENTADD "IOR:010000001700000049444c3a436f6e6669674c697374656e65723a312e30000001000000caaedfba54000000010100002b0000002f746d702f6f726269742d6d617474686961732f6f72622d3738303530313930373932313535333437300000000000001800000000000000aa339f6f8b3d48850400000096860fef60231737"
472 ADD 167772181 "def" "/apps/nautilus" "IOR:010000001700000049444c3a436f6e6669674c697374656e65723a312e30000001000000caaedfba54000000010100002b0000002f746d702f6f726269742d6d617474686961732f6f72622d3738303530313930373932313535333437300000000000001800000000000000aa339f6f8b3d48850400000096860fef60231737"
473 CLIENTADD "IOR:010000001700000049444c3a436f6e6669674c697374656e65723a312e30000001000000caaedfba54000000010100002b0000002f746d702f6f726269742d6d617474686961732f6f72622d36313132313137333236333037393935383300000000000018000000000000008d73b7d1346083e8040000009196fd8de688604d"
474 ADD 184549398 "def" "/apps/nautilus" "IOR:010000001700000049444c3a436f6e6669674c697374656e65723a312e30000001000000caaedfba54000000010100002b0000002f746d702f6f726269742d6d617474686961732f6f72622d36313132313137333236333037393935383300000000000018000000000000008d73b7d1346083e8040000009196fd8de688604d"
475 CLIENTADD "IOR:010000001700000049444c3a436f6e6669674c697374656e65723a312e30000001000000caaedfba54000000010100002d0000002f746d702f6f726269742d6d617474686961732f6f72622d3135363339303134353031393239333638383337000000001800000000000000ddd33ce6282042d304000000e640a9f986363f72"
476 ADD 201326615 "def" "/apps/nautilus" "IOR:010000001700000049444c3a436f6e6669674c697374656e65723a312e30000001000000caaedfba54000000010100002d0000002f746d702f6f726269742d6d617474686961732f6f72622d3135363339303134353031393239333638383337000000001800000000000000ddd33ce6282042d304000000e640a9f986363f72"
477 CLIENTADD "IOR:010000001700000049444c3a436f6e6669674c697374656e65723a312e30000001000000caaedfba54000000010100002c0000002f746d702f6f726269742d6d617474686961732f6f72622d3131383231333939373238343433353033323400000000001800000000000000d4f6f197a3d8217704000000dd5fdd74d176f84c"
478 ADD 218103832 "def" "/apps/nautilus" "IOR:010000001700000049444c3a436f6e6669674c697374656e65723a312e30000001000000caaedfba54000000010100002c0000002f746d702f6f726269742d6d617474686961732f6f72622d3131383231333939373238343433353033323400000000001800000000000000d4f6f197a3d8217704000000dd5fdd74d176f84c"
479 ADD 234881049 "def" "/system/gnome-vfs" "IOR:010000001700000049444c3a436f6e6669674c697374656e65723a312e30000001000000caaedfba54000000010100002b0000002f746d702f6f726269742d6d617474686961732f6f72622d3738303530313930373932313535333437300000000000001800000000000000aa339f6f8b3d48850400000096860fef60231737"
480 ADD 251658266 "def" "/system/gnome-vfs" "IOR:010000001700000049444c3a436f6e6669674c697374656e65723a312e30000001000000caaedfba54000000010100002d0000002f746d702f6f726269742d6d617474686961732f6f72622d3135363339303134353031393239333638383337000000001800000000000000ddd33ce6282042d304000000e640a9f986363f72"
481 ADD 268435483 "def" "/system/gnome-vfs" "IOR:010000001700000049444c3a436f6e6669674c697374656e65723a312e30000001000000caaedfba54000000010100002b0000002f746d702f6f726269742d6d617474686961732f6f72622d36313132313137333236333037393935383300000000000018000000000000008d73b7d1346083e8040000009196fd8de688604d"
482 ADD 285212700 "def" "/system/gnome-vfs" ""
497 HREF="gtk-themeable-stock-images.html#GTKICONFACTORY"
514 NAME="GTK-ICON-FACTORY-REMOVE-DEFAULT"
516 >gtk_icon_factory_remove_default ()</H3
525 CLASS="PROGRAMLISTING"
526 >void gtk_icon_factory_remove_default (<A
527 HREF="gtk-themeable-stock-images.html#GTKICONFACTORY"
534 >Removes an icon factory from the list of default icon
535 factories. Not normally used; you might use it for a library that
536 can be unloaded or shut down.</P
540 CLASS="INFORMALTABLE"
570 HREF="gtk-themeable-stock-images.html#GTKICONFACTORY"
572 > previously added with <A
573 HREF="gtk-themeable-stock-images.html#GTK-ICON-FACTORY-ADD-DEFAULT"
574 >gtk_icon_factory_add_default</A
590 NAME="GTK-ICON-SET-ADD-SOURCE"
592 >gtk_icon_set_add_source ()</H3
601 CLASS="PROGRAMLISTING"
602 >void gtk_icon_set_add_source (<A
603 HREF="gtk-themeable-stock-images.html#GTKICONSET"
607 HREF="gtk-themeable-stock-images.html#GTKICONSOURCE"
614 >Icon sets have a list of <A
615 HREF="gtk-themeable-stock-images.html#GTKICONSOURCE"
617 >, which they use as base
618 icons for rendering icons in different states and sizes. Icons are
619 scaled, made to look insensitive, etc. in
621 HREF="gtk-themeable-stock-images.html#GTK-ICON-SET-RENDER-ICON"
622 >gtk_icon_set_render_icon</A
624 HREF="gtk-themeable-stock-images.html#GTKICONSET"
626 > needs base images to
627 work with. The base images and when to use them are described by
629 HREF="gtk-themeable-stock-images.html#GTKICONSOURCE"
633 >This function copies <TT
638 >, so you can reuse the same source immediately
639 without affecting the icon set.</P
641 >An example of when you'd use this function: a web browser's "Back
642 to Previous Page" icon might point in a different direction in
643 Hebrew and in English; it might look different when insensitive;
644 and it might change size depending on toolbar mode (small/large
645 icons). So a single icon set would contain all those variants of
646 the icon, and you might add a separate source for each one.</P
648 >You should nearly always add a "default" icon source with all
649 fields wildcarded, which will be used as a fallback if no more
650 specific source matches. <A
651 HREF="gtk-themeable-stock-images.html#GTKICONSET"
653 > always prefers more specific
654 icon sources to more generic icon sources. The order in which you
655 add the sources to the icon set does not matter.</P
658 HREF="gtk-themeable-stock-images.html#GTK-ICON-SET-NEW-FROM-PIXBUF"
659 >gtk_icon_set_new_from_pixbuf</A
660 >() creates a new icon set with a
661 default icon source based on the given pixbuf.</P
665 CLASS="INFORMALTABLE"
695 HREF="gtk-themeable-stock-images.html#GTKICONSET"
715 HREF="gtk-themeable-stock-images.html#GTKICONSOURCE"
732 NAME="GTK-ICON-SET-COPY"
734 >gtk_icon_set_copy ()</H3
743 CLASS="PROGRAMLISTING"
745 HREF="gtk-themeable-stock-images.html#GTKICONSET"
747 >* gtk_icon_set_copy (<A
748 HREF="gtk-themeable-stock-images.html#GTKICONSET"
764 CLASS="INFORMALTABLE"
794 HREF="gtk-themeable-stock-images.html#GTKICONSET"
815 HREF="gtk-themeable-stock-images.html#GTKICONSET"
817 > identical to the first.</TD
832 NAME="GTK-ICON-SET-NEW"
834 >gtk_icon_set_new ()</H3
843 CLASS="PROGRAMLISTING"
845 HREF="gtk-themeable-stock-images.html#GTKICONSET"
847 >* gtk_icon_set_new (void);</PRE
853 HREF="gtk-themeable-stock-images.html#GTKICONSET"
856 HREF="gtk-themeable-stock-images.html#GTKICONSET"
858 > represents a single icon
859 in various sizes and widget states. It can provide a <GTKDOCLINK
861 >GdkPixbuf</GTKDOCLINK
863 for a given size and state on request, and automatically caches
864 some of the rendered <GTKDOCLINK
866 >GdkPixbuf</GTKDOCLINK
869 >Normally you would use <A
870 HREF="gtkwidget.html#GTK-WIDGET-RENDER-ICON"
871 >gtk_widget_render_icon</A
874 HREF="gtk-themeable-stock-images.html#GTKICONSET"
876 > directly. The one case where you'd use
878 HREF="gtk-themeable-stock-images.html#GTKICONSET"
880 > is to create application-specific icon sets to place in
882 HREF="gtk-themeable-stock-images.html#GTKICONFACTORY"
888 CLASS="INFORMALTABLE"
919 HREF="gtk-themeable-stock-images.html#GTKICONSET"
936 NAME="GTK-ICON-SET-NEW-FROM-PIXBUF"
938 >gtk_icon_set_new_from_pixbuf ()</H3
947 CLASS="PROGRAMLISTING"
949 HREF="gtk-themeable-stock-images.html#GTKICONSET"
951 >* gtk_icon_set_new_from_pixbuf (<GTKDOCLINK
953 >GdkPixbuf</GTKDOCLINK
960 HREF="gtk-themeable-stock-images.html#GTKICONSET"
967 > as the default/fallback
968 source image. If you don't add any additional <A
969 HREF="gtk-themeable-stock-images.html#GTKICONSOURCE"
972 icon set, all variants of the icon will be created from <TT
978 using scaling, pixelation, etc. as required to adjust the icon size
979 or make the icon look insensitive/prelighted.</P
983 CLASS="INFORMALTABLE"
1014 >GdkPixbuf</GTKDOCLINK
1034 HREF="gtk-themeable-stock-images.html#GTKICONSET"
1051 NAME="GTK-ICON-SET-REF"
1053 >gtk_icon_set_ref ()</H3
1062 CLASS="PROGRAMLISTING"
1064 HREF="gtk-themeable-stock-images.html#GTKICONSET"
1066 >* gtk_icon_set_ref (<A
1067 HREF="gtk-themeable-stock-images.html#GTKICONSET"
1074 >Increments the reference count on <TT
1083 CLASS="INFORMALTABLE"
1113 HREF="gtk-themeable-stock-images.html#GTKICONSET"
1153 NAME="GTK-ICON-SET-RENDER-ICON"
1155 >gtk_icon_set_render_icon ()</H3
1164 CLASS="PROGRAMLISTING"
1167 >GdkPixbuf</GTKDOCLINK
1168 >* gtk_icon_set_render_icon (<A
1169 HREF="gtk-themeable-stock-images.html#GTKICONSET"
1173 HREF="gtkstyle.html"
1177 HREF="gtkwidget.html#GTKTEXTDIRECTION"
1178 >GtkTextDirection</A
1181 HREF="gtk-standard-enumerations.html#GTKSTATETYPE"
1185 HREF="gtk-themeable-stock-images.html#GTKICONSIZE"
1189 HREF="gtkwidget.html"
1192 const char *detail);</PRE
1197 >Renders an icon using <A
1198 HREF="gtkstyle.html#GTK-STYLE-RENDER-ICON"
1199 >gtk_style_render_icon</A
1202 HREF="gtkwidget.html#GTK-WIDGET-RENDER-ICON"
1203 >gtk_widget_render_icon</A
1204 >() is better, since it automatically provides
1205 most of the arguments from the current widget settings. This
1206 function never returns <TT
1209 >; if the icon can't be rendered
1210 (perhaps because an image file fails to load), a default "missing
1211 image" icon will be returned instead.</P
1215 CLASS="INFORMALTABLE"
1245 HREF="gtk-themeable-stock-images.html#GTKICONSET"
1265 HREF="gtkstyle.html"
1267 > associated with <TT
1292 > text direction</TD
1343 > widget that will display the icon, or <TT
1363 > detail to pass to the theme engine, or <TT
1386 >GdkPixbuf</GTKDOCLINK
1387 > to be displayed</TD
1402 NAME="GTK-ICON-SET-UNREF"
1404 >gtk_icon_set_unref ()</H3
1413 CLASS="PROGRAMLISTING"
1414 >void gtk_icon_set_unref (<A
1415 HREF="gtk-themeable-stock-images.html#GTKICONSET"
1422 >Decrements the reference count on <TT
1428 if the reference count reaches 0.</P
1432 CLASS="INFORMALTABLE"
1462 HREF="gtk-themeable-stock-images.html#GTKICONSET"
1479 NAME="GTK-ICON-SIZE-LOOKUP"
1481 >gtk_icon_size_lookup ()</H3
1490 CLASS="PROGRAMLISTING"
1493 >gboolean</GTKDOCLINK
1494 > gtk_icon_size_lookup (<A
1495 HREF="gtk-themeable-stock-images.html#GTKICONSIZE"
1510 >Obtains the pixel size of a semantic icon size, normally <TT
1517 HREF="GTK-ICON-SIZE-MENU-CAPS"
1518 >GTK_ICON_SIZE_MENU</GTKDOCLINK
1520 HREF="GTK-ICON-SIZE-BUTTON-CAPS"
1521 >GTK_ICON_SIZE_BUTTON</GTKDOCLINK
1522 >, etc. This function
1523 isn't normally needed, <A
1524 HREF="gtkwidget.html#GTK-WIDGET-RENDER-ICON"
1525 >gtk_widget_render_icon</A
1527 way to get an icon for rendering, then just look at the size of
1528 the rendered pixbuf. The rendered pixbuf may not even correspond to
1529 the width/height returned by <A
1530 HREF="gtk-themeable-stock-images.html#GTK-ICON-SIZE-LOOKUP"
1531 >gtk_icon_size_lookup</A
1533 are free to render the pixbuf however they like, including changing
1538 CLASS="INFORMALTABLE"
1584 > location to store icon width</TD
1601 > location to store icon height</TD
1627 > was a valid size</TD
1642 NAME="GTK-ICON-SIZE-REGISTER"
1644 >gtk_icon_size_register ()</H3
1653 CLASS="PROGRAMLISTING"
1655 HREF="gtk-themeable-stock-images.html#GTKICONSIZE"
1657 > gtk_icon_size_register (const <GTKDOCLINK
1673 >Registers a new icon size, along the same lines as <GTKDOCLINK
1674 HREF="GTK-ICON-SIZE-MENU-CAPS"
1675 >GTK_ICON_SIZE_MENU</GTKDOCLINK
1677 etc. Returns the integer value for the size.</P
1681 CLASS="INFORMALTABLE"
1710 > name of the icon size</TD
1727 > the icon width</TD
1744 > the icon height</TD
1762 > integer value representing the size </TD
1777 NAME="GTK-ICON-SIZE-REGISTER-ALIAS"
1779 >gtk_icon_size_register_alias ()</H3
1788 CLASS="PROGRAMLISTING"
1789 >void gtk_icon_size_register_alias (const <GTKDOCLINK
1794 HREF="gtk-themeable-stock-images.html#GTKICONSIZE"
1806 > as another name for <TT
1813 HREF="gtk-themeable-stock-images.html#GTK-ICON-SIZE-FROM-NAME"
1814 >gtk_icon_size_from_name</A
1830 CLASS="INFORMALTABLE"
1881 > an existing icon size</TD
1896 NAME="GTK-ICON-SIZE-FROM-NAME"
1898 >gtk_icon_size_from_name ()</H3
1907 CLASS="PROGRAMLISTING"
1909 HREF="gtk-themeable-stock-images.html#GTKICONSIZE"
1911 > gtk_icon_size_from_name (const <GTKDOCLINK
1919 >Looks up the icon size associated with <TT
1928 CLASS="INFORMALTABLE"
1957 > the name to look up.</TD
1975 > the icon size with the given name.</TD
1990 NAME="GTK-ICON-SIZE-GET-NAME"
1992 >gtk_icon_size_get_name ()</H3
2001 CLASS="PROGRAMLISTING"
2002 >G_CONST_RETURN <GTKDOCLINK
2005 >* gtk_icon_size_get_name
2007 HREF="gtk-themeable-stock-images.html#GTKICONSIZE"
2014 >Gets the canonical name of the given icon size. The returned string
2015 is statically allocated and should not be freed.</P
2019 CLASS="INFORMALTABLE"
2049 HREF="gtk-themeable-stock-images.html#GTKICONSIZE"
2069 > the name of the given icon size.</TD
2084 NAME="GTK-ICON-SET-GET-SIZES"
2086 >gtk_icon_set_get_sizes ()</H3
2095 CLASS="PROGRAMLISTING"
2096 >void gtk_icon_set_get_sizes (<A
2097 HREF="gtk-themeable-stock-images.html#GTKICONSET"
2101 HREF="gtk-themeable-stock-images.html#GTKICONSIZE"
2112 >Obtains a list of icon sizes this icon set can render. The returned
2113 array must be freed with <GTKDOCLINK
2120 CLASS="INFORMALTABLE"
2150 HREF="gtk-themeable-stock-images.html#GTKICONSET"
2169 > return location for array of sizes</TD
2186 > location to store number of elements in returned array</TD
2201 NAME="GTK-ICON-SOURCE-GET-DIRECTION"
2203 >gtk_icon_source_get_direction ()</H3
2212 CLASS="PROGRAMLISTING"
2214 HREF="gtkwidget.html#GTKTEXTDIRECTION"
2215 >GtkTextDirection</A
2216 > gtk_icon_source_get_direction
2218 HREF="gtk-themeable-stock-images.html#GTKICONSOURCE"
2225 >Obtains the text direction this icon source applies to. The return
2226 value is only useful/meaningful if the text direction is <SPAN
2237 CLASS="INFORMALTABLE"
2267 HREF="gtk-themeable-stock-images.html#GTKICONSOURCE"
2287 > text direction this source matches</TD
2302 NAME="GTK-ICON-SOURCE-GET-DIRECTION-WILDCARDED"
2304 >gtk_icon_source_get_direction_wildcarded ()</H3
2313 CLASS="PROGRAMLISTING"
2316 >gboolean</GTKDOCLINK
2317 > gtk_icon_source_get_direction_wildcarded
2319 HREF="gtk-themeable-stock-images.html#GTKICONSOURCE"
2326 >Gets the value set by <A
2327 HREF="gtk-themeable-stock-images.html#GTK-ICON-SOURCE-SET-DIRECTION-WILDCARDED"
2328 >gtk_icon_source_set_direction_wildcarded</A
2333 CLASS="INFORMALTABLE"
2363 HREF="gtk-themeable-stock-images.html#GTKICONSOURCE"
2386 > if this icon source is a base for any text direction variant</TD
2401 NAME="GTK-ICON-SOURCE-GET-FILENAME"
2403 >gtk_icon_source_get_filename ()</H3
2412 CLASS="PROGRAMLISTING"
2413 >G_CONST_RETURN <GTKDOCLINK
2416 >* gtk_icon_source_get_filename
2418 HREF="gtk-themeable-stock-images.html#GTKICONSOURCE"
2425 >Retrieves the source filename, or <TT
2428 > if none is set. The
2429 filename is not a copy, and should not be modified or expected to
2430 persist beyond the lifetime of the icon source.</P
2434 CLASS="INFORMALTABLE"
2464 HREF="gtk-themeable-stock-images.html#GTKICONSOURCE"
2484 > image filename</TD
2499 NAME="GTK-ICON-SOURCE-GET-PIXBUF"
2501 >gtk_icon_source_get_pixbuf ()</H3
2510 CLASS="PROGRAMLISTING"
2513 >GdkPixbuf</GTKDOCLINK
2514 >* gtk_icon_source_get_pixbuf (const <A
2515 HREF="gtk-themeable-stock-images.html#GTKICONSOURCE"
2522 >Retrieves the source pixbuf, or <TT
2526 The reference count on the pixbuf is not incremented.</P
2530 CLASS="INFORMALTABLE"
2560 HREF="gtk-themeable-stock-images.html#GTKICONSOURCE"
2595 NAME="GTK-ICON-SOURCE-GET-SIZE"
2597 >gtk_icon_source_get_size ()</H3
2606 CLASS="PROGRAMLISTING"
2608 HREF="gtk-themeable-stock-images.html#GTKICONSIZE"
2610 > gtk_icon_source_get_size (const <A
2611 HREF="gtk-themeable-stock-images.html#GTKICONSOURCE"
2618 >Obtains the icon size this source applies to. The return value
2619 is only useful/meaningful if the icon size is <SPAN