]> Pileus Git - ~andy/gtk/log
~andy/gtk
19 years agohave a dummy case GDK_OWNER_CHANGE in switch statements to avoid gcc
Manish Singh [Fri, 9 Jul 2004 22:42:19 +0000 (22:42 +0000)]
have a dummy case GDK_OWNER_CHANGE in switch statements to avoid gcc

Fri Jul  9 15:33:55 2004  Manish Singh  <yosh@gimp.org>

        * gdk/gdkevents.c: have a dummy case GDK_OWNER_CHANGE in switch
        statements to avoid gcc warnings about not all enum values handled.

        * gdk/x11/gdkdisplay-x11.c (gdk_display_open): ignore should live in
        #ifdef HAVE_XFIXES.

19 years agofunction doesn't return a value, so don't use g_return_val_if_fail()
Manish Singh [Fri, 9 Jul 2004 22:40:37 +0000 (22:40 +0000)]
function doesn't return a value, so don't use g_return_val_if_fail()

Fri Jul  9 15:38:06 2004  Manish Singh  <yosh@gimp.org>

        * gdk-pixbuf-io.c (gdk_pixbuf_format_set_disabled): function doesn't
        return a value, so don't use g_return_val_if_fail()

        * gdk-pixbuf-scale.c (gdk_pixbuf_rotate_simple): initialize dest in
        the can't happen case, to quiet gcc.

        * io-tiff.c (tifflibversion): enclose in #if TIFFLIB_VERSION >=
        20031226.

19 years agoAdd an "override_redirect" bit.
Soeren Sandmann [Fri, 9 Jul 2004 21:27:09 +0000 (21:27 +0000)]
Add an "override_redirect" bit.

Fri Jul  9 23:26:09 2004  Soeren Sandmann  <sandmann@daimi.au.dk>

* gdk/x11/gdkwindow-x11.h (struct _GdkWindowImplX11): Add an
"override_redirect" bit.

* gdk/x11/gdkwindow-x11.c (gdk_window_new): Set it here.

* gdk/x11/gdkwindow-x11.c (gdk_window_move, gdk_window_resize,
gdk_window_move_resize):
Update the local size/position cache
immediately for override redirect windows.

* gdk/x11/gdkwindow-x11.c (show_window_internal): Invalidate
newly mapped child and override redirect windows.

19 years agoFixes #137031:
Federico Mena Quintero [Fri, 9 Jul 2004 21:13:20 +0000 (21:13 +0000)]
Fixes #137031:

2004-07-09  Federico Mena Quintero  <federico@ximian.com>

Fixes #137031:

* gtk/gtkfilesystemunix.c (get_fallback_icon): New helper
function, fetches a stock icon as a fallback.
(gtk_file_system_unix_volume_render_icon): Fall back to a stock
icon.
(gtk_file_system_unix_render_icon): Fall back to a stock icon.
Use helper functions rather than being a mega-function.
(get_icon_name_for_directory): Renamed from
get_icon_for_directory().
(get_icon_type_from_path): New helper function; code pulled out
from gtk_file_system_unix_render_icon().
(get_special_icon): Likewise.
(get_icon_for_mime_type): Likewise.

19 years agochange icon sizes, toolbar sizes
cinamod [Fri, 9 Jul 2004 20:28:41 +0000 (20:28 +0000)]
change icon sizes, toolbar sizes

19 years agoUse the requisition of the widget instead of relying on the style drawing
Matthias Clasen [Fri, 9 Jul 2004 18:08:35 +0000 (18:08 +0000)]
Use the requisition of the widget instead of relying on the style drawing

2004-07-09  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtktooltips.c (gtk_tooltips_paint_window): Use the
requisition of the widget instead of relying on the style
drawing function to supply the size of the drawable.  (#146531)

19 years agoFix typo; tmp_event -> temp_event.
Federico Mena Quintero [Fri, 9 Jul 2004 17:43:10 +0000 (17:43 +0000)]
Fix typo; tmp_event -> temp_event.

2004-07-09  Federico Mena Quintero  <federico@ximian.com>

* gdk/x11/gdkdnd-x11.c (xdnd_send_xevent): Fix typo; tmp_event ->
temp_event.

19 years agoMake GtkEntry work harder to protect passwords: (#143955, Morten Welinder)
Matthias Clasen [Fri, 9 Jul 2004 15:11:36 +0000 (15:11 +0000)]
Make GtkEntry work harder to protect passwords: (#143955, Morten Welinder)

2004-07-09  Matthias Clasen  <mclasen@redhat.com>

  Make GtkEntry work harder to protect passwords:  (#143955,
Morten Welinder)

* gtk/gtkentry.c (gtk_entry_destroy): Add a destroy handler
to clear the password even if the widget is leaked.

* gtk/gtkentry.c (gtk_entry_real_delete_text):
* gtk/gtkentry.c (gtk_entry_finalize): Zero out the memory
before freeing it.

* gtk/gtkentry.c (gtk_entry_real_insert_text): Zero and free
the old memory instead of just reallocating it.

* gtk/gtkentry.c (gtk_entry_create_layout): Don't leak text
direction information for passwords.

19 years agoFix some cases where style functions were not handling widget == NULL
Matthias Clasen [Fri, 9 Jul 2004 14:40:36 +0000 (14:40 +0000)]
Fix some cases where style functions were not handling widget == NULL

2004-07-09  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkstyle.c: Fix some cases where style functions were
not handling widget == NULL properly.  (#146282)

19 years agoImprove the EXPANDER_MAX warning.
Matthias Clasen [Fri, 9 Jul 2004 02:44:24 +0000 (02:44 +0000)]
Improve the EXPANDER_MAX warning.

Thu Jul  8 22:38:58 2004  Matthias Clasen  <maclas@gmx.de>

* gtk/gtktreeview.c: Improve the EXPANDER_MAX warning.

19 years agoFix #139290:
Federico Mena Quintero [Fri, 9 Jul 2004 00:53:48 +0000 (00:53 +0000)]
Fix #139290:

2004-07-08  Federico Mena Quintero  <federico@ximian.com>

Fix #139290:

* gtk/gtkfilesystemmodel.c (_gtk_file_system_model_new): Add a
GError argument.  Do check for errors when getting the
GtkFileFolder:  get the folder and read the children before
actually creating the model.  Removed obsolete code that handled
roots-changed on the file system.
(file_model_node_get_info): Assert that we don't reach the old
case to display file system roots.
(roots_changed_callback): Removed.

* gtk/gtkfilechooserdefault.c (set_list_model): Add a GError
argument, and a boolean return value.  Return an error if we
cannot create the file system model.  On error, set a NULL model
on the tree.
(gtk_file_chooser_default_set_current_folder): Use the error value
from set_list_model().
(gtk_file_chooser_default_set_property): Set the show_hidden
property only if the browse_files_model exists.
(gtk_file_chooser_default_unselect_path): Only operate if the
browse_files_model exists.
(check_preview_change): Check whether we have the sort_model.
(change_folder_and_display_error): Copy the path we get passed
before using it.  There's a comment in there that explains why we
need to copy it; basically, if the passed path belongs to the
model, the model may go away in the middle of this function and
we'll be left with a dangling pointer.
(install_list_model_filter): Assert that the model is not NULL.
(set_current_filter): Check whether the model exists.

* gtk/gtktreeselection.c (gtk_tree_selection_get_selected): Don't
g_return_if_fail if the model is NULL.
(gtk_tree_selection_get_selected_rows): Likewise.
(gtk_tree_selection_count_selected_rows): Likewise.
(gtk_tree_selection_selected_foreach): Likewise.
(gtk_tree_selection_path_is_selected): Likewise; rather just
return FALSE.
(gtk_tree_selection_select_all): Likewise.
(gtk_tree_selection_unselect_all): Likewise.
(gtk_tree_selection_select_range): Do g_return_if_fail() if the
model is NULL.
(gtk_tree_selection_unselect_range): Likewise.

* gtk/gtkfilesystemunix.c (fill_in_names): Return immediately if
g_dir_open() fails:  there is no need to set the error ourselves,
as g_dir_open() already does it.

19 years agoAllow to restore the default search function. (#145365, John Finlay)
Matthias Clasen [Thu, 8 Jul 2004 21:19:23 +0000 (21:19 +0000)]
Allow to restore the default search function. (#145365, John Finlay)

* gtk/gtktreeview.c (gtk_tree_view_set_search_equal_func): Allow
to restore the default search function.  (#145365, John Finlay)

19 years agoDon't leak references to the drag context. (#144324, Alex Larsson)
Matthias Clasen [Thu, 8 Jul 2004 20:29:19 +0000 (20:29 +0000)]
Don't leak references to the drag context. (#144324, Alex Larsson)

2004-07-08  Matthias Clasen  <mclasen@redhat.com>

* gdk/x11/gdkdnd-x11.c (xdnd_send_xevent): Don't leak
references to the drag context.  (#144324, Alex Larsson)

19 years agoUpdated Bulgarian translation by Vladimir "Kaladan" Petkov
Alexander Shopov [Thu, 8 Jul 2004 06:29:10 +0000 (06:29 +0000)]
Updated Bulgarian translation by Vladimir "Kaladan" Petkov

2004-07-08  Alexander Shopov  <ash@contact.bg>

* bg.po: Updated Bulgarian translation by
Vladimir "Kaladan" Petkov <vpetkov@i-space.org>

19 years agoStop editing when a new model is set. (#145566, Dmitry M. Shatrov)
Matthias Clasen [Thu, 8 Jul 2004 04:33:50 +0000 (04:33 +0000)]
Stop editing when a new model is set. (#145566, Dmitry M. Shatrov)

Thu Jul  8 00:33:15 2004  Matthias Clasen  <maclas@gmx.de>

* gtk/gtktreeview.c (gtk_tree_view_set_model):  Stop editing
when a new model is set.  (#145566, Dmitry M. Shatrov)

19 years agoUpdates
Matthias Clasen [Thu, 8 Jul 2004 04:00:56 +0000 (04:00 +0000)]
Updates

19 years agoNew functions to disable/enable individual loaders and to obtain license
Matthias Clasen [Thu, 8 Jul 2004 03:56:36 +0000 (03:56 +0000)]
New functions to disable/enable individual loaders and to obtain license

Wed Jul  7 23:53:58 2004  Matthias Clasen  <maclas@gmx.de>

* gdk-pixbuf-io.h:
* gdk-pixbuf-io.c (gdk_pixbuf_format_is_disabled):
* gdk-pixbuf-io.c (gdk_pixbuf_format_set_disabled):
* gdk-pixbuf-io.c (gdk_pixbuf_format_get_license):
New functions to disable/enable individual loaders and to
obtain license information about loaders.

* gdk-pixbuf-io.h (GdkPixbufFormat): Add disabled and
license fields.

* gdk-pixbuf-io.c (_gdk_pixbuf_get_module):
* gdk-pixbuf-io.c (_gdk_pixbuf_get_named_module): Skip
disabled loaders.

* io-*.c: Add license information in the fill_info
functions.

19 years agoMake sure that subpixbufs are properly aligned for
Matthias Clasen [Thu, 8 Jul 2004 03:48:10 +0000 (03:48 +0000)]
Make sure that subpixbufs are properly aligned for

Wed Jul  7 23:44:32 2004  Matthias Clasen  <maclas@gmx.de>

* gtk/gtkimage.c (gtk_image_expose): Make sure that subpixbufs
are properly aligned for gdk_pixbuf_saturate_and_pixelate(),
in order to avoid rendering artifacts from misaligned
pixelation patterns.  (#145585, Felipe Heidrich, Billy Biggs)

19 years agoSmall documentation fixes.
Matthias Clasen [Wed, 7 Jul 2004 16:24:55 +0000 (16:24 +0000)]
Small documentation fixes.

2004-07-07  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtktreeview.c:
* gtk/gtktreeview.h: Small documentation fixes.

19 years agoMisc additions.
Matthias Clasen [Wed, 7 Jul 2004 16:22:57 +0000 (16:22 +0000)]
Misc additions.

2004-07-07  Matthias Clasen  <mclasen@redhat.com>

* gtk/tmpl/*: Misc additions.

* gtk/gtk-sections.txt: Updates.

* gtk/tmpl/gtkcellrendererprogress.sgml: New file.

* gtk/gtk-docs.sgml: Add GtkCellRendererProgress.

* gtk/Makefile.am (HTML_IMAGES): Add file and directory icons.

19 years agoSmall documentation fixes.
Matthias Clasen [Wed, 7 Jul 2004 15:55:28 +0000 (15:55 +0000)]
Small documentation fixes.

2004-07-07  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtktreeview.c:
* gtk/gtktreeview.h: Small documentation fixes.

19 years agoFix the build.
Matthias Clasen [Wed, 7 Jul 2004 15:33:16 +0000 (15:33 +0000)]
Fix the build.

19 years agoForgotten file.
Matthias Clasen [Wed, 7 Jul 2004 15:26:21 +0000 (15:26 +0000)]
Forgotten file.

19 years agoSupport separators in combo boxes and more generally in tree views
Matthias Clasen [Wed, 7 Jul 2004 15:15:35 +0000 (15:15 +0000)]
Support separators in combo boxes and more generally in tree views

2004-07-07  Matthias Clasen  <mclasen@redhat.com>

Support separators in combo boxes and more generally in tree
views  (#135873):

* gtk/gtkcombobox.h:
* gtk/gtkcombobox.c (gtk_combo_box_get_row_separator_column):
* gtk/gtkcombobox.c (gtk_combo_box_set_row_separator_column):
Add a ::row-separator-column property with getter and setter,
which can indicate a boolean model column to determine which
rows are separators.

* gtk/gtkcombobox.c: Display separator rows as separator menu
items in menu mode, and by using the new treeview separator
functionality in list mode.

* gtk/gtktreeview.h:
* gtk/gtktreeview.c (gtk_tree_view_get_row_separator_func):
* gtk/gtktreeview.c (gtk_tree_view_set_row_separator_func):
Add a callback to determine whether a row is a separator.

* gtk/gtktreeview.c (gtk_tree_view_bin_expose):
* gtk/gtktreeview.c (gtk_tree_view_create_row_drag_icon):
* gtk/gtktreeview.c (validate_row): Use the new callback
to determine whether a row is a separator, and draw it
as a separator then. Since separators should take up less
vertical space than regular rows, this requires removing
the redundant MAX(...,expander_size) calls which appear in
many places. Instead, the MAX() is now only done in
validate_row(), and only if the row is not a separator.
To catch possible side effects of this intrusive change,
I have left EXPANDER_MAX() calls in place of the MAX() calls
which will emit a warning if something breaks. They should
be removed before 2.6.

* gtk/gtktreeselection.c (row_is_selectable): Don't let
separator rows be selected.

* tests/testcombo.c (create_blaat): Add a separator column.

19 years agoFix a 64bit alignment issue. (#144302, Sunil)
Matthias Clasen [Wed, 7 Jul 2004 02:59:47 +0000 (02:59 +0000)]
Fix a 64bit alignment issue. (#144302, Sunil)

Tue Jul  6 22:58:00 2004  Matthias Clasen  <maclas@gmx.de>

* gdk/x11/gdkwindow-x11.c (gdk_x11_window_set_user_time): Fix
a 64bit alignment issue.  (#144302, Sunil)

19 years agogdk/win32/gdkdrawable-win32.c (gdk_win32_draw_text)
Tor Lillqvist [Wed, 7 Jul 2004 00:10:03 +0000 (00:10 +0000)]
gdk/win32/gdkdrawable-win32.c (gdk_win32_draw_text)

2004-07-07  Tor Lillqvist  <tml@iki.fi>

* gdk/win32/gdkdrawable-win32.c (gdk_win32_draw_text)
* gdk/win32/gdkfont-win32.c (gdk_text_extents)
* gdk/win32/gdkproperty-win32.c (find_common_locale,
gdk_property_change)
* gdk/win32/gdkselection-win32.c (gdk_selection_convert): Use
g_utf8_to_utf16() instead of the removed _gdk_utf8_to_ucs2() (see
below).

* gdk/win32/gdkglobals-win32.c
* gdk/win32/gdkmain-win32.c (_gdk_windowing_init)
* gdk/win3/gdkprivate-win32.h: Add a variable for the TARGETS
atom. Initialize it. Declare it. Drop the variable for the
COMPOUND_TEXT atom.

* gdk/win32/gdkim-win32.c (gdk_wcstombs): Don't return UTF-8. This
function is supposed to return the string in the locale's charset
and encoding. Use g_convert().

(gdk_mbstowcs): Similarily, don't take an UTF-8 string, but a
string in the locale's charset. Use g_convert().

(_gdk_ucs2_to_utf8, _gdk_utf8_to_wcs, _gdk_utf8_to_ucs2):
Delete. The UCS-2 functions didn't handle surrogates anyway. Use
GLib's UTF-16 functions instead. Windows uses UTF-16.

* gdk/win32/gdkprivate-win32.h: Remove declarations of the deleted
functions mentioned above.

* gdk/win32/gdkproperty-win32.c (gdk_property_change): Use CF_TEXT
also if the string is of type STRING, i.e. ISO-8859-1, and the
current codepage is 1252, and contains no C1 chars. Accept
also UTF8_STRING.

* gdk/win32/gdkselection-win32.c (_gdk_selection_property_store):
Mark as static. When storing STRING data, convert to
Latin-1. (#140537)
(gdk_selection_owner_set_for_display): Now that STRING is always
ISO-8859-1, use UTF8_STRING when sending the selection request
to ourselves.

(gdk_selection_convert): Handle also UTF8_STRING. (#140537, John
Ehresman)

(gdk_text_property_to_text_list_for_display): Make work more like
X11 version. Do obey the encoding parameter.

(gdk_string_to_compound_text_for_display,
gdk_utf8_to_compound_text_for_display): Don't even pretend
supporting COMPOUND_TEXT.

(gdk_utf8_to_string_target): Convert to ISO-8859-1, like on X11.

(sanitize_utf8): Zero-terminate string.

19 years agoAlso gdk-pixbuf.c was changed.
Tor Lillqvist [Tue, 6 Jul 2004 22:31:45 +0000 (22:31 +0000)]
Also gdk-pixbuf.c was changed.

19 years agoMark the version variables for proper import and export from Windows DLLs.
Tor Lillqvist [Tue, 6 Jul 2004 22:27:44 +0000 (22:27 +0000)]
Mark the version variables for proper import and export from Windows DLLs.

2004-07-06  Tor Lillqvist  <tml@iki.fi>

* gdk-pixbuf-features.h.in: Mark the version variables for proper
import and export from Windows DLLs. Thanks to Laurent Sansonetti
for reporting the problem.

19 years agoAdd stock_file_16.png, stock_file_24.png, stock_directory_16.png and
Matthias Clasen [Tue, 6 Jul 2004 20:28:48 +0000 (20:28 +0000)]
Add stock_file_16.png, stock_file_24.png, stock_directory_16.png and

2004-07-06  Matthias Clasen  <mclasen@redhat.com>

* gtk/stock-icons/Makefile.am: Add stock_file_16.png,
stock_file_24.png, stock_directory_16.png and stock_directory_24.png.

* gtk/gtkstock.h (GTK_STOCK_FILE, GTK_STOCK_DIRECTORY):
* gtk/gtkiconfactory.c (get_default_icons): New stock icons as
fallbacks for gtkfilechooser. Currently these are the same images
as the "new" and "open" items...

19 years agoFix for #136496, Pawel Salek:
Jonathan Blandford [Tue, 6 Jul 2004 14:32:18 +0000 (14:32 +0000)]
Fix for #136496, Pawel Salek:

Tue Jul  6 10:00:22 2004  Jonathan Blandford  <jrb@redhat.com>

Fix for #136496, Pawel Salek:

* gtk/gtktreeview.c (gtk_tree_view_row_changed): Queue a redraw on
a node when it changes in fixed_height mode.

(gtk_tree_view_node_queue_redraw): new function to queue a redraw
on a node.

19 years agoMake sure private->monitor_num is a valid monitor number before using it.
Matthias Clasen [Tue, 6 Jul 2004 13:28:42 +0000 (13:28 +0000)]
Make sure private->monitor_num is a valid monitor number before using it.

2004-07-06  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkmenu.c (gtk_menu_position): Make sure
private->monitor_num is a valid monitor number before
using it.  (#139187, Michael Natterer)

2004-06-25  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkfontbutton.c (gtk_font_button_update_font_info): Avoid
a crash if the font doesn't exist.  (#144967, Yevgen Muntyan)

19 years agoImprove positioning of keyboard-activated menus with Xinerama.
Matthias Clasen [Tue, 6 Jul 2004 06:02:57 +0000 (06:02 +0000)]
Improve positioning of keyboard-activated menus with Xinerama.

Tue Jul  6 02:00:28 2004  Matthias Clasen  <maclas@gmx.de>

* gtk/gtkfilechooserdefault.c (popup_position_func):
* gtk/gtkentry.c (popup_position_func):
* gtk/gtktextview.c (popup_position_func): Improve positioning
of keyboard-activated menus with Xinerama.

19 years agoOnly call GDK_THREADS_ENTER() / _LEAVE() when called from an idle handler.
Matthias Clasen [Tue, 6 Jul 2004 04:33:40 +0000 (04:33 +0000)]
Only call GDK_THREADS_ENTER() / _LEAVE() when called from an idle handler.

Tue Jul  6 00:29:03 2004  Matthias Clasen  <maclas@gmx.de>

* gtk/gtkuimanager.c (do_updates):
(do_updates_idle): Only call GDK_THREADS_ENTER() / _LEAVE()
when called from an idle handler.  (#145429, Jan-Marek Glogowski)

19 years agoUse the less efficient g_object_interface_find_property () instead of the
Matthias Clasen [Tue, 6 Jul 2004 04:08:32 +0000 (04:08 +0000)]
Use the less efficient g_object_interface_find_property () instead of the

Mon Jul  5 23:47:38 2004  Matthias Clasen  <maclas@gmx.de>

* gtk/gtkfilechooserutils.c (delegate_notify): Use
the less efficient g_object_interface_find_property () instead
of the param_id range check, since the GParamSpecs we're
dealing with are the overridden onces on the interface, whose
param_id is always zero.  (#145312, Alex Roitman, fix proposed
by Owen Taylor)

19 years agoadded a default method for the add virtual method of GtkContainer.
Lorenzo Gil Sanchez [Mon, 5 Jul 2004 15:44:58 +0000 (15:44 +0000)]
added a default method for the add virtual method of GtkContainer.

* gtk/gtklayout.c (gtk_layout_add): added a default method for the add
virtual method of GtkContainer.
(gtk_layout_class_init): assign gtk_layout_add to the 'add' virtual
method slot of the container class.

19 years agoUse gint, not int in gtk_icon_view_set_markup_column, (Paolo Maggi)
Anders Carlsson [Mon, 5 Jul 2004 11:34:29 +0000 (11:34 +0000)]
Use gint, not int in gtk_icon_view_set_markup_column, (Paolo Maggi)

2004-07-05  Anders Carlsson  <andersca@gnome.org>

* gtk/gtkiconview.c: (gtk_icon_view_set_markup_column):
* gtk/gtkiconview.h:
Use gint, not int in gtk_icon_view_set_markup_column,
(Paolo Maggi)

19 years agoUpdated Nepali Translation
Pawan Chitrakar [Mon, 5 Jul 2004 05:41:55 +0000 (05:41 +0000)]
Updated Nepali Translation

2004-07-04  Pawan Chitrakar  <pawan@nplinux.org>

* ne.po: Updated Nepali Translation

19 years agoAdd an "activate_cursor_item" action signal and bind it to the return key.
Anders Carlsson [Sun, 4 Jul 2004 23:19:46 +0000 (23:19 +0000)]
Add an "activate_cursor_item" action signal and bind it to the return key.

2004-07-05  Anders Carlsson  <andersca@gnome.org>

* gtk/gtkiconview.c: (gtk_icon_view_class_init),
(gtk_icon_view_real_select_cursor_item),
(gtk_icon_view_real_activate_cursor_item):
* gtk/gtkiconview.h:
Add an "activate_cursor_item" action signal
and bind it to the return key.

19 years agoAdd a simple file browser based on the icon view.
Anders Carlsson [Sun, 4 Jul 2004 20:35:35 +0000 (20:35 +0000)]
Add a simple file browser based on the icon view.

2004-07-04  Anders Carlsson  <andersca@gnome.org>

* demos/gtk-demo/Makefile.am:
* demos/gtk-demo/gnome-fs-directory.png:
* demos/gtk-demo/gnome-fs-regular.png:
* demos/gtk-demo/iconview.c: (load_pixbufs), (fill_store),
(sort_func), (create_store), (item_activated), (up_clicked),
(home_clicked), (do_iconview):
Add a simple file browser based on the icon view.

* gtk/gtk.h:
Add gtk/gtkiconview.h

* gtk/gtkiconview.c: (gtk_icon_view_layout),
(gtk_icon_view_item_new), (gtk_icon_view_item_activated):
Fix a few bugs discovered while writing the demo.

19 years agoActually integrate iconview docs.
Matthias Clasen [Sun, 4 Jul 2004 19:34:49 +0000 (19:34 +0000)]
Actually integrate iconview docs.

19 years agoFix a small issue
Anders Carlsson [Sun, 4 Jul 2004 16:08:01 +0000 (16:08 +0000)]
Fix a small issue

19 years agoAdd GtkIconView to the documentation.
Anders Carlsson [Sun, 4 Jul 2004 15:58:10 +0000 (15:58 +0000)]
Add GtkIconView to the documentation.

2004-07-04  Anders Carlsson  <andersca@gnome.org>

* gtk/gtk-docs.sgml:
* gtk/gtk-sections.txt:
* gtk/gtk.types:
Add GtkIconView to the documentation.

19 years agogtk/gtkiconview.c Add GtkIconView to the build, remove debugging output.
Anders Carlsson [Sun, 4 Jul 2004 15:56:55 +0000 (15:56 +0000)]
gtk/gtkiconview.c Add GtkIconView to the build, remove debugging output.

2004-07-04  Anders Carlsson  <andersca@gnome.org>

* gtk/Makefile.am:
* gtk/gtkiconview.c
* gtk/gtkiconview.h:
Add GtkIconView to the build, remove debugging output.

19 years agoFix the "selection_changed" signal to not get emitted twice in some cases.
Anders Carlsson [Sun, 4 Jul 2004 12:43:26 +0000 (12:43 +0000)]
Fix the "selection_changed" signal to not get emitted twice in some cases.

2004-07-04  Anders Carlsson  <andersca@gnome.org>

* configure.in:
* libegg/iconlist/eggiconlist.c: (egg_icon_list_expose),
(scroll_timeout), (egg_icon_list_motion),
(egg_icon_list_button_press), (egg_icon_list_update_rubberband),
(egg_icon_list_start_rubberbanding),
(egg_icon_list_stop_rubberbanding),
(egg_icon_list_unselect_all_internal),
(egg_icon_list_real_select_all),
(egg_icon_list_adjustment_changed), (egg_icon_list_item_free),
(egg_icon_list_select_item), (verify_items),
(egg_icon_list_row_changed), (egg_icon_list_row_inserted),
(egg_icon_list_row_deleted), (egg_icon_list_rows_reordered),
(egg_icon_list_select_all_between),
(egg_icon_list_move_cursor_up_down),
(egg_icon_list_move_cursor_page_up_down),
(egg_icon_list_move_cursor_left_right),
(egg_icon_list_move_cursor_start_end), (egg_icon_list_set_model),
(egg_icon_list_get_selected_items), (egg_icon_list_select_all),
(egg_icon_list_unselect_all):
* libegg/iconlist/eggiconlist.h:
* libegg/iconlist/testiconlist.c: (foreach_selected_remove):
Fix the "selection_changed" signal to not get emitted twice in some cases.
Also fix a bunch of issues reported by Jonathan.

19 years agoFix off-by-one error. GDate month is one-based and GtkCalendar month is
Matthias Clasen [Sun, 4 Jul 2004 05:31:45 +0000 (05:31 +0000)]
Fix off-by-one error. GDate month is one-based and GtkCalendar month is

Sun Jul  4 01:29:35 2004  Matthias Clasen  <maclas@gmx.de>

* gtk/gtkcalendar.c (gtk_calendar_drag_data_get):
(gtk_calendar_drag_data_received): Fix off-by-one error.
GDate month is one-based and GtkCalendar month is zero-based.
(#145134, William Jon McCann)

19 years agoDon't crash if somebody tries to move a node after itself in a list of
Matthias Clasen [Sun, 4 Jul 2004 05:12:47 +0000 (05:12 +0000)]
Don't crash if somebody tries to move a node after itself in a list of

Sun Jul  4 01:11:07 2004  Matthias Clasen  <maclas@gmx.de>

* gtk/gtktreestore.c (gtk_tree_store_move): Don't crash if
somebody tries to move a node after itself in a list of
length 1.  (#145291, Sampo Nurmentaus)

19 years agoFix links to www.freedesktop.org. (#145210, Billy Biggs)
Matthias Clasen [Sun, 4 Jul 2004 03:46:24 +0000 (03:46 +0000)]
Fix links to www.freedesktop.org. (#145210, Billy Biggs)

Sat Jul  3 23:43:23 2004  Matthias Clasen  <maclas@gmx.de>

* docs/faq/gtk-faq.sgml:
* gtk/gtkwindow.c: Fix links to www.freedesktop.org.  (#145210,
Billy Biggs)

19 years agoFix a few things
Anders Carlsson [Sat, 3 Jul 2004 20:36:01 +0000 (20:36 +0000)]
Fix a few things

19 years agoFixes and stuff
Anders Carlsson [Sat, 3 Jul 2004 10:04:14 +0000 (10:04 +0000)]
Fixes and stuff

19 years agoDocument functions and fix a few bugs.
Anders Carlsson [Sat, 3 Jul 2004 08:01:34 +0000 (08:01 +0000)]
Document functions and fix a few bugs.

2004-07-03  Anders Carlsson  <andersca@gnome.org>

* libegg/iconlist/eggiconlist.c: (egg_icon_list_add_move_binding),
(egg_icon_list_real_move_cursor), (egg_icon_list_new),
(egg_icon_list_new_with_model), (egg_icon_list_get_path_at_pos),
(egg_icon_list_selected_foreach),
(egg_icon_list_set_selection_mode),
(egg_icon_list_get_selection_mode), (egg_icon_list_set_model),
(egg_icon_list_get_model), (egg_icon_list_set_text_column),
(egg_icon_list_get_text_column), (egg_icon_list_set_markup_column),
(egg_icon_list_get_markup_column),
(egg_icon_list_set_pixbuf_column),
(egg_icon_list_get_pixbuf_column), (egg_icon_list_select_path),
(egg_icon_list_unselect_path), (egg_icon_list_select_all),
(egg_icon_list_unselect_all), (egg_icon_list_path_is_selected),
(egg_icon_list_item_activated):
* libegg/iconlist/eggiconlist.h:
* libegg/iconlist/testiconlist.c: (foreach_selected_remove_func),
(foreach_selected_remove), (selection_changed), (main):
Document functions and fix a few bugs.

19 years agoReset current_width and current_height to 0 when ending the embedding.
Matthias Clasen [Sat, 3 Jul 2004 06:12:38 +0000 (06:12 +0000)]
Reset current_width and current_height to 0 when ending the embedding.

Sat Jul  3 02:09:51 2004  Matthias Clasen  <maclas@gmx.de>

* gtk/gtksocket.c (gtk_socket_end_embedding): Reset current_width
and current_height to 0 when ending the embedding.  (#143675,
Nickolay V. Shmyrev)

19 years agoLet the cursor move to the right end of the entry text, even if it ends in
Matthias Clasen [Sat, 3 Jul 2004 05:50:40 +0000 (05:50 +0000)]
Let the cursor move to the right end of the entry text, even if it ends in

Sat Jul  3 01:48:19 2004  Matthias Clasen  <maclas@gmx.de>

* gtk/gtkentry.c (gtk_entry_move_visually): Let the cursor move
to the right end of the entry text, even if it ends in combining
marks.  (#141728, Theppitak Karoonboonyanan)

19 years agoCorrect the math to calculate bilinear weights. (#112412, Brian Cameron)
Matthias Clasen [Sat, 3 Jul 2004 05:29:03 +0000 (05:29 +0000)]
Correct the math to calculate bilinear weights. (#112412, Brian Cameron)

Sat Jul  3 00:41:44 2004  Matthias Clasen  <maclas@gmx.de>

* pixops/pixops.c (bilinear_box_make_weights): Correct the
math to calculate bilinear weights. (#112412, Brian Cameron)

19 years agoUnset the displayed row when unsetting the model. (#138560, Christian
Matthias Clasen [Sat, 3 Jul 2004 03:37:44 +0000 (03:37 +0000)]
Unset the displayed row when unsetting the model. (#138560, Christian

Fri Jul  2 23:34:33 2004  Matthias Clasen  <maclas@gmx.de>

* gtk/gtkcombobox.c (gtk_combo_box_unset_model): Unset the displayed
row when unsetting the model.  (#138560, Christian Persch)

19 years agoProperly align mask and pixbuf if a subarea is exposed. (#135423, fix by
Matthias Clasen [Sat, 3 Jul 2004 02:43:06 +0000 (02:43 +0000)]
Properly align mask and pixbuf if a subarea is exposed. (#135423, fix by

Fri Jul  2 22:41:27 2004  Matthias Clasen  <maclas@gmx.de>

* gtk/gtkimage.c (gtk_image_expose): Properly align mask and
pixbuf if a subarea is exposed.  (#135423, fix by John Ehresman)

19 years agoAdd scroll events to the event mask, set a scroll_event handler. Handle
Matthias Clasen [Sat, 3 Jul 2004 01:51:17 +0000 (01:51 +0000)]
Add scroll events to the event mask, set a scroll_event handler. Handle

Fri Jul  2 21:40:21 2004  Matthias Clasen  <maclas@gmx.de>

* gtk/gtknotebook.c (gtk_notebook_realize): Add scroll events
to the event mask, set a scroll_event handler.
* gtk/gtknotebook.c (gtk_notebook_scroll): Handle scroll events
by switching tabs.  (#145244, Gabriel de Perthuis)

19 years agoAdd markup column support.
Anders Carlsson [Fri, 2 Jul 2004 13:20:16 +0000 (13:20 +0000)]
Add markup column support.

2004-07-02  Anders Carlsson  <andersca@gnome.org>

* libegg/iconlist/eggiconlist.c: (egg_icon_list_class_init),
(egg_icon_list_init), (egg_icon_list_set_property),
(egg_icon_list_get_property), (egg_icon_list_calculate_item_size),
(egg_icon_list_paint_item), (egg_icon_list_update_item_text),
(egg_icon_list_get_text_column), (egg_icon_list_set_markup_column),
(egg_icon_list_get_markup_column),
(egg_icon_list_set_pixbuf_column),
(egg_icon_list_get_pixbuf_column):
* libegg/iconlist/eggiconlist.h:
* libegg/iconlist/testiconlist.c: (fill_model), (create_model):
Add markup column support.

19 years agoUpdate icon list to use the tree model instead.
Anders Carlsson [Fri, 2 Jul 2004 12:04:49 +0000 (12:04 +0000)]
Update icon list to use the tree model instead.

2004-07-02  Anders Carlsson  <andersca@gnome.org>

* libegg/iconlist/eggiconlist.c: (egg_icon_list_class_init),
(egg_icon_list_init), (egg_icon_list_destroy),
(egg_icon_list_finalize), (egg_icon_list_set_property),
(egg_icon_list_get_property), (egg_icon_list_button_press),
(egg_icon_list_select_first_matching_item),
(egg_icon_list_maybe_begin_dragging_items),
(egg_icon_list_real_toggle_cursor_item),
(egg_icon_list_calculate_item_size),
(egg_icon_list_invalidate_sizes), (egg_icon_list_paint_item),
(egg_icon_list_item_new), (egg_icon_list_item_unref),
(egg_icon_list_get_item_text), (egg_icon_list_get_item_icon),
(egg_icon_list_get_item_at_pos), (egg_icon_list_get_path_at_pos),
(egg_icon_list_selected_foreach), (egg_icon_list_select_path),
(egg_icon_list_unselect_path), (egg_icon_list_path_is_selected),
(egg_icon_list_item_activated), (egg_icon_list_get_items),
(egg_icon_list_row_changed), (egg_icon_list_row_inserted),
(egg_icon_list_row_deleted), (egg_icon_list_rows_reordered),
(egg_icon_list_build_items), (egg_icon_list_set_model),
(egg_icon_list_get_model), (egg_icon_list_set_text_column),
(egg_icon_list_set_pixbuf_column):
* libegg/iconlist/eggiconlist.h:
* libegg/iconlist/testiconlist.c: (fill_model), (create_model),
(foreach_selected_print), (item_removed), (remove_selected),
(item_cb), (do_popup_menu), (main):
* libegg/util/eggmarshalers.list:
Update icon list to use the tree model instead.

19 years agoMake sure we check for a NULL model first.
Anders Carlsson [Fri, 2 Jul 2004 11:32:03 +0000 (11:32 +0000)]
Make sure we check for a NULL model first.

2004-07-02  Anders Carlsson  <andersca@gnome.org>

* gtk/gtktreeview.c (gtk_tree_view_set_model):
Make sure we check for a NULL model first.

19 years ago0.6.1
Raymond Penners [Thu, 1 Jul 2004 22:46:02 +0000 (22:46 +0000)]
0.6.1

19 years agoButton icons configurable, 0.6.1
Raymond Penners [Thu, 1 Jul 2004 21:30:16 +0000 (21:30 +0000)]
Button icons configurable, 0.6.1

19 years agoFix win32 build problem w/o wintab. Fixed #145242
J. Ali Harlow [Thu, 1 Jul 2004 10:05:15 +0000 (10:05 +0000)]
Fix win32 build problem w/o wintab. Fixed #145242

2004-07-01  J. Ali Harlow  <ali@juiblex.co.uk>

* gdk/win32/gdkinput-win32.c (_gdk_input_ungrab_pointer): Fix
win32 build problem w/o wintab.  Fixed #145242

19 years agoUse g_return_if_fail to make sure that the model is a GtkTreeModel.
Anders Carlsson [Wed, 30 Jun 2004 10:07:49 +0000 (10:07 +0000)]
Use g_return_if_fail to make sure that the model is a GtkTreeModel.

2004-06-30  Anders Carlsson  <andersca@gnome.org>

* gtk/gtktreeview.c (gtk_tree_view_set_model): Use
g_return_if_fail to make sure that the model is a GtkTreeModel.

19 years agoUpdated Lithuanian translation.
Žygimantas Beručka [Tue, 29 Jun 2004 10:04:00 +0000 (10:04 +0000)]
Updated Lithuanian translation.

2004-06-29  Žygimantas Beručka  <uid0@akl.lt>

* lt.po: Updated Lithuanian translation.

19 years agoDraw line with the current state, not GTK_STATE_NORMAL
Soeren Sandmann [Sun, 27 Jun 2004 01:13:13 +0000 (01:13 +0000)]
Draw line with the current state, not GTK_STATE_NORMAL

Sat Jun 26 17:41:10 2004  Soeren Sandmann  <sandmann@daimi.au.dk>

        * gtk/gtk[hv]separator.c (gtk_[hv]separator_expose): Draw line with the
        current state, not GTK_STATE_NORMAL

        * gtk/gtkframe.c (gtk_frame_paint): Fix a rounding error

19 years agoMake sure the rubberband is updated when scrolling.
Soeren Sandmann [Sat, 26 Jun 2004 19:07:25 +0000 (19:07 +0000)]
Make sure the rubberband is updated when scrolling.

 Sat Jun 26 21:05:15 2004  Soeren Sandmann  <sandmann@daimi.au.dk>

* libegg/iconlist/eggiconlist.c (egg_icon_list_adjustment_changed):
Make sure the rubberband is updated when scrolling.

19 years agosmall color tweak. (#141173)
Soeren Sandmann [Sat, 26 Jun 2004 13:09:22 +0000 (13:09 +0000)]
small color tweak. (#141173)

Sat Jun 26 15:07:25 2004  Soeren Sandmann  <sandmann@daimi.au.dk>

* gtk/gtkstyle.c, gtk/gtkrc.c: small color tweak. (#141173)

19 years agoHandle _NET_WM_STATE_ABOVE and _NET_WM_STATE_BELOW. (#144851, Billy Biggs)
Matthias Clasen [Sat, 26 Jun 2004 05:17:59 +0000 (05:17 +0000)]
Handle _NET_WM_STATE_ABOVE and _NET_WM_STATE_BELOW. (#144851, Billy Biggs)

Sat Jun 26 01:15:40 2004  Matthias Clasen  <maclas@gmx.de>

* gdk/x11/gdkwindow-x11.c (set_initial_hints): Handle
_NET_WM_STATE_ABOVE and _NET_WM_STATE_BELOW.  (#144851,
Billy Biggs)

19 years agoPrevent unwanted recursion by resetting icon_set->cache before freeing the
Matthias Clasen [Sat, 26 Jun 2004 05:08:36 +0000 (05:08 +0000)]
Prevent unwanted recursion by resetting icon_set->cache before freeing the

Sat Jun 26 01:04:31 2004  Matthias Clasen  <maclas@gmx.de>

* gtk/gtkiconfactory.c (clear_cache): Prevent unwanted
recursion by resetting icon_set->cache before freeing
the cache.  (#144947, Tim Janik)

19 years agoAccept a NULL style.
Matthias Clasen [Sat, 26 Jun 2004 04:58:33 +0000 (04:58 +0000)]
Accept a NULL style.

Sat Jun 26 00:40:02 2004  Matthias Clasen  <maclas@gmx.de>

* gtk/gtkiconfactory.c (render_icon_name_pixbuf):
* gtk/gtkiconfactory.c (gtk_icon_set_render_icon):
* gtk/gtkstyle.c (gtk_default_render_icon): Accept a NULL
style.

19 years agoReflect the last change in the docs.
Matthias Clasen [Sat, 26 Jun 2004 04:05:25 +0000 (04:05 +0000)]
Reflect the last change in the docs.

Sat Jun 26 00:04:36 2004  Matthias Clasen  <maclas@gmx.de>

* gtk/gtkentrycompletion.c (gtk_entry_completion_set_model):
* gtk/gtkcombobox.c (gtk_combo_box_set_model): Reflect the
last change in the docs.

19 years agoAllow passing NULL to unset the model. (#137211, patch by Mariano
Matthias Clasen [Sat, 26 Jun 2004 03:39:35 +0000 (03:39 +0000)]
Allow passing NULL to unset the model. (#137211, patch by Mariano

Fri Jun 25 23:35:42 2004  Matthias Clasen  <maclas@gmx.de>

* gtk/gtkentrycompletion.c (gtk_entry_completion_set_model):
* gtk/gtkcombobox.c (gtk_combo_box_set_model): Allow passing
NULL to unset the model.  (#137211, patch by  Mariano Suárez-Alvarez)

Fri Jun 25 23:33:05 2004  Matthias Clasen  <maclas@gmx.de>

* gtk/gtkcombobox.c (gtk_combo_box_menu_position_below): Fix the
placement policy for GtkComboBoxEntry to be: if it fits below,
place below, if it fits above place above, else place in the
larger space and scroll so that the scroll arrow appear at the
far end.  (#144362, David A. Knight)

19 years agoAvoid uninitialized use of &parent_iter. (#145007, John Finlay)
Matthias Clasen [Sat, 26 Jun 2004 02:57:32 +0000 (02:57 +0000)]
Avoid uninitialized use of &parent_iter. (#145007, John Finlay)

Fri Jun 25 22:49:58 2004  Matthias Clasen  <maclas@gmx.de>

* gtk/gtktreestore.c (gtk_tree_store_move): Avoid uninitialized
use of &parent_iter. (#145007, John Finlay)

19 years agoreviewed by: Matthias Clasen <maclas@gmx.de>
Bastien Nocera [Fri, 25 Jun 2004 15:21:43 +0000 (15:21 +0000)]
reviewed by: Matthias Clasen <maclas@gmx.de>

2004-06-25  Bastien Nocera  <hadess@hadess.net>

reviewed by: Matthias Clasen  <maclas@gmx.de>

* gdk/x11/gdkkeys-x11.c: (get_symbol), (update_keymaps),
(gdk_keymap_lookup_key), (translate_keysym): fix keys parsing when
the number of keysyms per keycode is odd. Fixes #144808.

19 years agoAvoid a crash if the font doesn't exist. (#144967, Yevgen Muntyan)
Matthias Clasen [Fri, 25 Jun 2004 14:58:59 +0000 (14:58 +0000)]
Avoid a crash if the font doesn't exist. (#144967, Yevgen Muntyan)

2004-06-25  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkfontbutton.c (gtk_font_button_update_font_info): Avoid
a crash if the font doesn't exist.  (#144967, Yevgen Muntyan)

19 years agoCommit a forgotten fix.
Matthias Clasen [Fri, 25 Jun 2004 04:33:25 +0000 (04:33 +0000)]
Commit a forgotten fix.

19 years agoFix a typo, string change. (#139503, Baris Cicek)
Matthias Clasen [Fri, 25 Jun 2004 03:37:58 +0000 (03:37 +0000)]
Fix a typo, string change. (#139503, Baris Cicek)

Thu Jun 24 23:35:09 2004  Matthias Clasen  <maclas@gmx.de>

* gtk/gtknotebook.c (gtk_notebook_class_init): Fix a typo,
string change.  (#139503, Baris Cicek)

19 years agoFixed LTR translation
Alexander Shopov [Thu, 24 Jun 2004 08:12:18 +0000 (08:12 +0000)]
Fixed LTR translation

2004-06-24  Alexander Shopov  <ash@contact.bg>

        * bg.po: Fixed LTR translation

19 years agoFlip the y axes in the diagrams.
Matthias Clasen [Wed, 23 Jun 2004 01:59:40 +0000 (01:59 +0000)]
Flip the y axes in the diagrams.

Tue Jun 22 21:54:24 2004  Matthias Clasen  <maclas@gmx.de>

* gdk-pixbuf/composite.dia:
* gdk-pixbuf/composite.png: Flip the y axes in the diagrams.

19 years agoUse a Save or an Open stock button for the C-l dialog depending on the
Federico Mena Quintero [Wed, 23 Jun 2004 00:28:47 +0000 (00:28 +0000)]
Use a Save or an Open stock button for the C-l dialog depending on the

2004-06-22  Federico Mena Quintero  <federico@ximian.com>

* gtk/gtkfilechooserdefault.c (location_popup_handler): Use a Save
or an Open stock button for the C-l dialog depending on the action
in which the file chooser operates.  Fixes #141753.

19 years agoFixes the GTK+ part of #142308:
Federico Mena Quintero [Tue, 22 Jun 2004 20:08:36 +0000 (20:08 +0000)]
Fixes the GTK+ part of #142308:

2004-06-22  Federico Mena Quintero  <federico@ximian.com>

Fixes the GTK+ part of #142308:

* gtk/gtkfilesystemunix.c (gtk_file_system_unix_filename_to_path):
Use filename_to_path().
(gtk_file_system_unix_uri_to_path): Likewise.
(filename_to_path): Use remove_trailing_slash().

19 years agoImprove docs for the ::move_cursor signal.
Matthias Clasen [Tue, 22 Jun 2004 19:50:36 +0000 (19:50 +0000)]
Improve docs for the ::move_cursor signal.

* gtk/gtktextview.c (gtk_text_view_class_init): Improve docs
for the ::move_cursor signal.

19 years agoDocument the push_in parameter of GtkMenuPositionFunc.
Matthias Clasen [Tue, 22 Jun 2004 16:35:52 +0000 (16:35 +0000)]
Document the push_in parameter of GtkMenuPositionFunc.

2004-06-22  Matthias Clasen  <mclasen@redhat.com>

* gtk/tmpl/gtkmenu.sgml: Document the push_in parameter
of GtkMenuPositionFunc.

19 years agoMake example UTF-8 safe. (#143264, Tommi Komulainen)
Matthias Clasen [Tue, 22 Jun 2004 16:06:44 +0000 (16:06 +0000)]
Make example UTF-8 safe. (#143264, Tommi Komulainen)

2004-06-22  Matthias Clasen  <mclasen@redhat.com>

* gtk/tmpl/gtkeditable.sgml: Make example UTF-8
safe.  (#143264, Tommi Komulainen)

19 years agoAccept "<WINDOWTYPE>" as a valid accel path. (#144427, Philip Kendall)
Matthias Clasen [Tue, 22 Jun 2004 15:56:24 +0000 (15:56 +0000)]
Accept "<WINDOWTYPE>" as a valid accel path. (#144427, Philip Kendall)

* gtk/gtkaccelmap.c (_gtk_accel_path_is_valid): Accept
"<WINDOWTYPE>" as a valid accel path.  (#144427, Philip
Kendall)

19 years agoMake sure this gets defined for all backends, so linux-fb has a chance of
Matthias Clasen [Tue, 22 Jun 2004 15:34:02 +0000 (15:34 +0000)]
Make sure this gets defined for all backends, so linux-fb has a chance of

* gtk/gtkselection.c (GTK_SELECTION_MAX_SIZE): Make sure
this gets defined for all backends, so linux-fb has a
chance of compiling.

19 years agoDoc updates.
Matthias Clasen [Tue, 22 Jun 2004 15:29:29 +0000 (15:29 +0000)]
Doc updates.

19 years agoTypo fix. (#144750, Jeff Franks)
Matthias Clasen [Tue, 22 Jun 2004 14:26:42 +0000 (14:26 +0000)]
Typo fix. (#144750, Jeff Franks)

2004-06-22  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkicontheme.h (GTK_ICON_THEME_GET_CLASS): Typo
fix.  (#144750, Jeff Franks)

19 years agoMerge from stable:
Michael Natterer [Mon, 21 Jun 2004 16:13:55 +0000 (16:13 +0000)]
Merge from stable:

2004-06-21  Michael Natterer  <mitch@gimp.org>

Merge from stable:

* gdk/x11/gdkdrawable-x11.[ch]: made convert_format() utility
function public as _gdk_x11_convert_to_format().

* gdk/x11/gdkcursor-x11.c (create_cursor_image): premultiply
the pixels from the GdkPixbuf when putting them in the
Xcursor image. Fixes bug #144350.

19 years agoAdditions.
Matthias Clasen [Mon, 21 Jun 2004 04:52:47 +0000 (04:52 +0000)]
Additions.

19 years agoNew functions to rotate pixbufs by multiples of 90 degrees and to flip
Matthias Clasen [Mon, 21 Jun 2004 04:52:24 +0000 (04:52 +0000)]
New functions to rotate pixbufs by multiples of 90 degrees and to flip

Mon Jun 21 00:44:51 2004  Matthias Clasen  <maclas@gmx.de>

* gdk-pixbuf-transform.h:
* gdk-pixbuf-scale.c (gdk_pixbuf_rotate_simple):
* gdk-pixbuf-scale.c (gdk_pixbuf_flip): New functions to
rotate pixbufs by multiples of 90 degrees and to flip them
horizontally or vertically.

19 years agoRemove this unused function. (Patch by Jody Goldberg)
Matthias Clasen [Mon, 21 Jun 2004 04:10:07 +0000 (04:10 +0000)]
Remove this unused function. (Patch by Jody Goldberg)

Mon Jun 21 00:06:44 2004  Matthias Clasen  <maclas@gmx.de>

* libegg/iconlist/eggiconlist.c (egg_icon_list_item_get_icon_list):
Remove this unused function.  (Patch by Jody Goldberg)

Mon Jun 21 00:05:56 2004  Matthias Clasen  <maclas@gmx.de>

* libegg/iconlist/eggiconlist.c (egg_icon_list_queue_draw_item):
Avoid warnings if items are selected before the icon list is
realized.  (Patch by Jody Goldberg)

Mon Jun 21 00:05:16 2004  Matthias Clasen  <maclas@gmx.de>

* libegg/iconlist/eggiconlist.c (egg_icon_list_button_press):
Fix a small problem in mode GTK_SELECTION_NONE.

Sun Jun 20 23:39:51 2004  Matthias Clasen  <maclas@gmx.de>

* libegg/iconlist/eggiconlist.c: Let ctrl key combinations
move the focus without influencing the selection.

19 years agoLet ctrl key combinations move the focus without influencing the
Matthias Clasen [Mon, 21 Jun 2004 03:41:04 +0000 (03:41 +0000)]
Let ctrl key combinations move the focus without influencing the

Sun Jun 20 23:39:51 2004  Matthias Clasen  <maclas@gmx.de>

* libegg/iconlist/eggiconlist.c: Let ctrl key combinations
move the focus without influencing the selection.

19 years agoForgotten files.
Matthias Clasen [Mon, 21 Jun 2004 02:46:03 +0000 (02:46 +0000)]
Forgotten files.

19 years agoHeader file reorganization. (#51999)
Matthias Clasen [Sun, 20 Jun 2004 05:11:57 +0000 (05:11 +0000)]
Header file reorganization.  (#51999)

19 years agoAdd a nice figure to the docs.
Matthias Clasen [Sat, 19 Jun 2004 05:45:55 +0000 (05:45 +0000)]
Add a nice figure to the docs.

19 years agoFixes
Matthias Clasen [Sat, 19 Jun 2004 01:21:59 +0000 (01:21 +0000)]
Fixes

19 years agoImplement keynav.
Matthias Clasen [Fri, 18 Jun 2004 05:17:01 +0000 (05:17 +0000)]
Implement keynav.

Fri Jun 18 01:15:33 2004  Matthias Clasen  <maclas@gmx.de>

* libegg/iconlist/eggiconlist.c: Implement keynav.

19 years agoWhen inserting a visible node, free the old path before creating the new
Federico Mena Quintero [Wed, 16 Jun 2004 21:38:47 +0000 (21:38 +0000)]
When inserting a visible node, free the old path before creating the new

2004-06-16  Federico Mena Quintero  <federico@ximian.com>

* gtk/gtkfilesystemmodel.c (do_files_added): When inserting a
visible node, free the old path before creating the new one.
Fixes #144356.

19 years agoMake the tiff loader work with both libtiff 3.5.7 and libtiff 3.6.1.
Matthias Clasen [Wed, 16 Jun 2004 17:52:49 +0000 (17:52 +0000)]
Make the tiff loader work with both libtiff 3.5.7 and libtiff 3.6.1.

2004-06-16  Matthias Clasen  <mclasen@redhat.com>

* io-tiff.c: Make the tiff loader work with both
libtiff 3.5.7 and libtiff 3.6.1.  (#135541, Marco Ghirlanda)