]> Pileus Git - ~andy/gtk/log
~andy/gtk
18 years agoapplied patch from maemo-gtk which avoids the allocation of an
Michael Natterer [Wed, 14 Dec 2005 12:47:49 +0000 (12:47 +0000)]
applied patch from maemo-gtk which avoids the allocation of an

2005-12-14  Michael Natterer  <mitch@imendio.com>

* gdk-pixbuf/io-jpeg.c: applied patch from maemo-gtk which avoids
the allocation of an intermediate buffer for non-progressive
jpegs. Fixed bug #305894.

* tests/test-images/valid_jpeg_progressive_test: new test image so
we can test both loading code paths in io-jpeg.c

18 years agoUpdated Telugu translation done by Prajasakti Localisation Team <localisation@prajasa...
Sunil Mohan Adapa [Wed, 14 Dec 2005 06:31:16 +0000 (06:31 +0000)]
Updated Telugu translation done by Prajasakti Localisation Team <localisation@prajasakti.com>.

18 years agoadded a link to the fgloating reference docs in the 2.10 release NEWS
Tim Janik [Tue, 13 Dec 2005 08:48:02 +0000 (08:48 +0000)]
added a link to the fgloating reference docs in the 2.10 release NEWS

Tue Dec 13 09:47:20 2005  Tim Janik  <timj@gtk.org>

        * README.in: added a link to the fgloating reference docs in the
        2.10 release NEWS section.

18 years agoSpeed this function up, using the fact that visibility is constant across
Matthias Clasen [Mon, 12 Dec 2005 19:33:23 +0000 (19:33 +0000)]
Speed this function up, using the fact that visibility is constant across

2005-12-12  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtktextiter.c (gtk_text_iter_set_visible_line_index):
Speed this function up, using the fact that visibility is
constant across segments. (#321548, Paolo Borelli)

18 years agoSpeed up stepping backwards. (#320638, Larry Ewing, Paolo Borelli)
Matthias Clasen [Mon, 12 Dec 2005 19:16:00 +0000 (19:16 +0000)]
Speed up stepping backwards. (#320638, Larry Ewing, Paolo Borelli)

2005-12-12  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtktextbtree.c (_gtk_text_line_char_to_byte_offsets):
* gtk/gtktextiter.c (gtk_text_iter_backward_chars): Speed up
stepping backwards.  (#320638, Larry Ewing, Paolo Borelli)

18 years agoOnly broadcast _GTK_LOAD_ICONTHEMES if we detect a real theme change, not
Matthias Clasen [Mon, 12 Dec 2005 17:39:50 +0000 (17:39 +0000)]
Only broadcast _GTK_LOAD_ICONTHEMES if we detect a real theme change, not

2005-12-12  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkicontheme.c (ensure_valid_themes): Only broadcast
_GTK_LOAD_ICONTHEMES if we detect a real theme change, not
upon initial theme load.  (#323876, Peter Lund)

18 years agoMake it compile
Matthias Clasen [Mon, 12 Dec 2005 17:32:36 +0000 (17:32 +0000)]
Make it compile

18 years agoRegister the size-changed signal correctly. (#323848, Murray Cumming)
Matthias Clasen [Mon, 12 Dec 2005 17:14:45 +0000 (17:14 +0000)]
Register the size-changed signal correctly. (#323848, Murray Cumming)

2005-12-12  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkstatusicon.c (gtk_status_icon_class_init): Register
the size-changed signal correctly.  (#323848, Murray Cumming)

18 years agoDon't fall thru to the wrong window types. (#323843)
Matthias Clasen [Mon, 12 Dec 2005 17:08:42 +0000 (17:08 +0000)]
Don't fall thru to the wrong window types. (#323843)

2005-12-12  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtktextview.c (gtk_text_view_get_border_window_size): Don't
fall thru to the wrong window types.  (#323843)

18 years agoMake the gtk-color-scheme setting work.
Matthias Clasen [Mon, 12 Dec 2005 15:48:43 +0000 (15:48 +0000)]
Make the gtk-color-scheme setting work.

2005-12-12  Matthias Clasen  <mclasen@redhat.com>

Make the gtk-color-scheme setting work.

* gtk/gtksettings.h:
* gtk/gtksettings.c (_gtk_settings_get_color_hash): Add a getter
that takes care of initializing the color hash if it is not
already there.

* gtk/gtkrc.c (gtk_rc_color_scheme_changed, gtk_rc_context_get):
And use it here.

18 years agoFix mnemonic key
Kwok-Koon Cheung [Mon, 12 Dec 2005 03:09:33 +0000 (03:09 +0000)]
Fix mnemonic key

* zh_TW.po: Fix mnemonic key

18 years agoUpdated French Translation.
Christophe Merlet [Sun, 11 Dec 2005 22:14:07 +0000 (22:14 +0000)]
Updated French Translation.

18 years agoFix an oversight
Matthias Clasen [Sun, 11 Dec 2005 04:25:52 +0000 (04:25 +0000)]
Fix an oversight

18 years agoFix the last commit
Matthias Clasen [Fri, 9 Dec 2005 17:26:26 +0000 (17:26 +0000)]
Fix the last commit

18 years agoUpdated Lithuanian translation.
Žygimantas Beručka [Fri, 9 Dec 2005 16:52:20 +0000 (16:52 +0000)]
Updated Lithuanian translation.

2005-12-09  Žygimantas Beručka  <zygis@gnome.org>

        * lt.po: Updated Lithuanian translation.

18 years agoDon't leak list[0]. (#323629, Markku Vire)
Matthias Clasen [Fri, 9 Dec 2005 16:25:56 +0000 (16:25 +0000)]
Don't leak list[0]. (#323629, Markku Vire)

2005-12-09  Matthias Clasen  <mclasen@redhat.com>

        * gtk/gtkselection.c (gtk_selection_data_get_uris): Don't
        leak list[0].  (#323629, Markku Vire)

18 years agoUnref the buffer when freeing the RequestData. (#323577)
Matthias Clasen [Fri, 9 Dec 2005 16:05:55 +0000 (16:05 +0000)]
Unref the buffer when freeing the RequestData. (#323577)

2005-12-09  Matthias Clasen  <mclasen@redhat.com>

        * gtk/gtktextbuffer.c (paste_from_buffer): Unref the buffer
        when freeing the RequestData.  (#323577)

18 years agoDon't leak text.
Matthias Clasen [Wed, 7 Dec 2005 19:50:39 +0000 (19:50 +0000)]
Don't leak text.

2005-12-07  Matthias Clasen  <mclasen@redhat.com>

* demos/gtk-demo/iconview_edit.c (set_cell_color): Don't
leak text.

18 years agoFix a variable name clash. (#323475, Ross Burton)
Matthias Clasen [Wed, 7 Dec 2005 18:00:20 +0000 (18:00 +0000)]
Fix a variable name clash. (#323475, Ross Burton)

2005-12-07  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtktoolbutton.c (clone_image_menu_size): Fix a
variable name clash.  (#323475, Ross Burton)

18 years agoIf the toolbar mode is ICONS and there is no icon set then show the label, and vice...
Ross Burton [Wed, 7 Dec 2005 17:14:07 +0000 (17:14 +0000)]
If the toolbar mode is ICONS and there is no icon set then show the label, and vice versa (#322019)

18 years agoUse the correct window when synthesizing the key event. (#323077, Sadrul
Matthias Clasen [Wed, 7 Dec 2005 17:09:54 +0000 (17:09 +0000)]
Use the correct window when synthesizing the key event. (#323077, Sadrul

2005-12-07  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtktreeview.c (gtk_tree_view_key_press): Use the correct
window when synthesizing the key event.  (#323077,
Sadrul Habib Chowdhury)

(gtk_tree_view_search_key_press_event): Also listen for
GDK_ISO_Left_Tab.  (#323077, Sadrul Habib Chowdhury)

18 years agoOnly scroll if we have focus. (#316310, Paolo Borelli)
Matthias Clasen [Wed, 7 Dec 2005 15:26:53 +0000 (15:26 +0000)]
Only scroll if we have focus. (#316310, Paolo Borelli)

2005-12-07  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtktextview.c (gtk_text_view_preedit_changed_handler):
Only scroll if we have focus.  (#316310, Paolo Borelli)

18 years agoFix a C99ism, spotted by Crispin Flowerday.
Matthias Clasen [Wed, 7 Dec 2005 14:00:26 +0000 (14:00 +0000)]
Fix a C99ism, spotted by Crispin Flowerday.

2005-12-07  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkfilesystemunix.c (cb_fill_in_mime_type): Fix a C99ism,
spotted by Crispin Flowerday.

18 years agoTurn metrics hinting on (part of #307196)
Behdad Esfahbod [Wed, 7 Dec 2005 02:33:10 +0000 (02:33 +0000)]
Turn metrics hinting on (part of #307196)

2005-12-06  Behdad Esfahbod  <behdad@gnome.org>

        * gtk/gtksettings.c (settings_update_font_options): Turn metrics
        hinting on (part of #307196)

18 years agoDon't commit from reset, it upstets GtkTextView.
Matthias Clasen [Tue, 6 Dec 2005 21:21:44 +0000 (21:21 +0000)]
Don't commit from reset, it upstets GtkTextView.

2005-12-06  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkimcontextsimple.c (gtk_im_context_simple_reset): Don't
commit from reset, it upstets GtkTextView.

* gtk/gtktextview.c (gtk_text_view_check_cursor_blink): Be more
careful when turning blinking on and off.
(gtk_text_view_focus_out_event): Make the cursor really invisible
when the focus goes away.  (#323087, Sadrul Habib Chowdhury)
(cursor_blinks): Check the gtk-cursor-blink setting first.

18 years agoFix refcounting issues with new_event and its window.
Matthias Clasen [Tue, 6 Dec 2005 18:03:50 +0000 (18:03 +0000)]
Fix refcounting issues with new_event and its window.

2005-12-06  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtktreeview.c (gtk_tree_view_key_press): Fix refcounting
issues with new_event and its window.

18 years agoAccept NULL as a detach func. (#323386, Jorn Baayen)
Matthias Clasen [Tue, 6 Dec 2005 17:33:46 +0000 (17:33 +0000)]
Accept NULL as a detach func. (#323386, Jorn Baayen)

2005-12-06  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkmenu.c (gtk_menu_attach_to_widget): Accept NULL
as a detach func.  (#323386, Jorn Baayen)

18 years agoAvoid conflict with win32 headers in the libdate routines. (#323045,
Matthias Clasen [Tue, 6 Dec 2005 17:07:55 +0000 (17:07 +0000)]
Avoid conflict with win32 headers in the libdate routines. (#323045,

2005-12-06  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkcalendar.c: Avoid conflict with win32 headers in
the libdate routines.  (#323045, Kazuki Iwamoto)

18 years agoDon't ignore errors from g_option_context_parse().
Matthias Clasen [Tue, 6 Dec 2005 16:44:31 +0000 (16:44 +0000)]
Don't ignore errors from g_option_context_parse().

2005-12-06  Matthias Clasen  <mclasen@redhat.com>

* gdk/gdk.c (gdk_parse_args):
* gtk/gtkmain.c (gtk_parse_args): Don't ignore errors
from g_option_context_parse().

18 years agofix missing hash table initialization.
Tim Janik [Tue, 6 Dec 2005 10:40:09 +0000 (10:40 +0000)]
fix missing hash table initialization.

Tue Dec  6 11:37:59 2005  Tim Janik  <timj@gtk.org>

        * gdk/gdkevents.c (gdk_event_new): fix missing hash table
        initialization.

18 years agoported memchunk uses to g_slice, so the code compiles again.
Tim Janik [Tue, 6 Dec 2005 09:34:27 +0000 (09:34 +0000)]
ported memchunk uses to g_slice, so the code compiles again.

Tue Dec  6 10:32:17 2005  Tim Janik  <timj@gtk.org>

        * gtk/gtkstatusbar.c: ported memchunk uses to g_slice, so the code
        compiles again.

18 years ago"event->state & modifiers", not "event->state && modifiers". Patch by
Federico Mena Quintero [Tue, 6 Dec 2005 03:11:43 +0000 (03:11 +0000)]
"event->state & modifiers", not "event->state && modifiers". Patch by

2005-12-05  Federico Mena Quintero  <federico@ximian.com>

* gtk/gtkfilechooserdefault.c (trap_activate_cb): "event->state &
modifiers", not "event->state && modifiers".  Patch by Sadrul
Habib Chowdhury <imadil@gmail.com>.  Fixes bug #323073.

18 years agoForgotten file
Matthias Clasen [Mon, 5 Dec 2005 21:33:05 +0000 (21:33 +0000)]
Forgotten file

18 years agoUse g_slice instead of mem chunks.
Matthias Clasen [Mon, 5 Dec 2005 21:28:32 +0000 (21:28 +0000)]
Use g_slice instead of mem chunks.

2005-12-05  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkwidget.c:
* gtk/gtkuimanager.c:
* gtk/gtktreedatalist.c:
* gtk/gtktext.c:
* gtk/gtkmain.c:
* gtk/gtkitemfactory.c:
* gtk/gtkseparator.[hc]:
* gtk/gtkclist.[hc]:
* gtk/gtkctree.c:
* gtk/gtkgc.c: Use g_slice instead of mem chunks.

18 years agomap the new GtkSettings properties "timeout-initial", "timeout-repeat",
Michael Natterer [Mon, 5 Dec 2005 21:06:57 +0000 (21:06 +0000)]
map the new GtkSettings properties "timeout-initial", "timeout-repeat",

2005-12-05  Michael Natterer  <mitch@imendio.com>

* gdk/x11/gdkevents-x11.c: map the new GtkSettings properties
"timeout-initial", "timeout-repeat", "color-scheme" and
"enable-enimations" to X settings.

18 years agoUse g_slice instead of mem chunks.
Matthias Clasen [Mon, 5 Dec 2005 20:51:18 +0000 (20:51 +0000)]
Use g_slice instead of mem chunks.

2005-12-05  Matthias Clasen  <mclasen@redhat.com>

* gdk/gdkevents.c:
* gdk/gdkcolor.c: Use g_slice instead of mem chunks.

18 years agoFree new_event after sending it to the search entry. (#323209, Crispin
Matthias Clasen [Mon, 5 Dec 2005 20:12:33 +0000 (20:12 +0000)]
Free new_event after sending it to the search entry. (#323209, Crispin

2005-12-05  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtktreeview.c (gtk_tree_view_key_press): Free new_event
after sending it to the search entry.  (#323209, Crispin Flowerday)

18 years agoForgotten commit
Matthias Clasen [Mon, 5 Dec 2005 18:52:04 +0000 (18:52 +0000)]
Forgotten commit

18 years agoAdd a note about GTK_FLOATING.
Matthias Clasen [Mon, 5 Dec 2005 16:39:29 +0000 (16:39 +0000)]
Add a note about GTK_FLOATING.

2005-12-05  Matthias Clasen  <mclasen@redhat.com>

* README.in: Add a note about GTK_FLOATING.

18 years agoUse g_object_is_floating.
Matthias Clasen [Mon, 5 Dec 2005 15:49:55 +0000 (15:49 +0000)]
Use g_object_is_floating.

2005-12-05  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkobject.h (GTK_OBJECT_FLOATING): Use g_object_is_floating.

18 years agoFixed translation of "Widget" and "Index" reported by kano@na.rim.or.jp.
Takeshi AIHANA [Sat, 3 Dec 2005 17:14:19 +0000 (17:14 +0000)]
Fixed translation of "Widget" and "Index" reported by kano@na.rim.or.jp.

2005-12-04  Takeshi AIHANA <aihana@gnome.gr.jp>

* ja.po: Fixed translation of "Widget" and "Index" reported by kano@na.rim.or.jp.

18 years agoDon't leak a pixbuf. (#323024, Paolo Borelli)
Matthias Clasen [Fri, 2 Dec 2005 20:57:45 +0000 (20:57 +0000)]
Don't leak a pixbuf. (#323024, Paolo Borelli)

2005-12-02  Matthias Clasen  <mclasen@redhat.com>

        * gtk/gtktoolbutton.c (clone_image_menu_size): Don't leak
        a pixbuf.  (#323024, Paolo Borelli)

18 years agoDon't crash if mime_type is NULL. (#322998, Sadrul Habib Chowdhury)
Matthias Clasen [Fri, 2 Dec 2005 19:57:36 +0000 (19:57 +0000)]
Don't crash if mime_type is NULL. (#322998, Sadrul Habib Chowdhury)

2005-12-02  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkfilesystemunix.c (get_icon_for_mime_type): Don't crash
if mime_type is NULL.  (#322998, Sadrul Habib Chowdhury)

18 years agoapplied modified patch from maemo-gtk which adds a "horizontal-padding"
Michael Natterer [Fri, 2 Dec 2005 19:49:10 +0000 (19:49 +0000)]
applied modified patch from maemo-gtk which adds a "horizontal-padding"

2005-12-02  Michael Natterer  <mitch@imendio.com>

* gtk/gtkmenu.c: applied modified patch from maemo-gtk which
adds a "horizontal-padding" style property. Fixes bug #323036.

18 years agoMerged modified patch from maemo-gtk that allows to disable toolbar
Michael Natterer [Thu, 1 Dec 2005 20:49:17 +0000 (20:49 +0000)]
Merged modified patch from maemo-gtk that allows to disable toolbar

2005-12-01  Michael Natterer  <mitch@imendio.com>

Merged modified patch from maemo-gtk that allows to disable
toolbar animations. Addresses bug #142582.

* gtk/gtksettings.c: added boolean property "gtk-enable-animations".
(patch from Christian Neumair)

* gtk/gtktoolbar.c: don't animate toolbar changes if the settings
property is FALSE. Replaced the individual "notify::foo"
connections to GtkSettings by a single "notify" callback and
dispatch internally.

18 years agoMerge upstream changes to handle duplicate glob patterns.
Matthias Clasen [Thu, 1 Dec 2005 19:04:41 +0000 (19:04 +0000)]
Merge upstream changes to handle duplicate glob patterns.

18 years agoremoved redundant assignment of widget_class->motion_notify_event.
Michael Natterer [Thu, 1 Dec 2005 13:03:43 +0000 (13:03 +0000)]
removed redundant assignment of widget_class->motion_notify_event.

2005-12-01  Michael Natterer  <mitch@imendio.com>

* gtk/gtkmenu.c (gtk_menu_class_init): removed redundant
assignment of widget_class->motion_notify_event.

18 years agoAdd an active property. (#322673, Jorn Baayen)
Matthias Clasen [Wed, 30 Nov 2005 04:25:34 +0000 (04:25 +0000)]
Add an active property. (#322673, Jorn Baayen)

2005-11-29  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtktoggleaction.c (gtk_toggle_action_class_init): Add
an active property.  (#322673, Jorn Baayen)

18 years agoProperly handle model changes in GtkTreeSelection: (#322569, Milosz
Matthias Clasen [Tue, 29 Nov 2005 19:34:15 +0000 (19:34 +0000)]
Properly handle model changes in GtkTreeSelection: (#322569, Milosz

2005-11-29  Matthias Clasen  <mclasen@redhat.com>

Properly handle model changes in GtkTreeSelection: (#322569,
Milosz Derezynski)

* gtk/gtktreeselection.c (gtk_tree_selection_selected_foreach):
Get a reference to the model, and stop the iteration if the model
of the treeview is changed on the way.

* gtk/gtktreeprivate.h:
* gtk/gtktreeselection.c (_gtk_tree_selection_emit_changed): New
private function to emit the GtkTreeSelection::changed signal.

* gtk/gtktreeview.c (gtk_tree_view_set_model): Call
_gtk_tree_selection_emit_changed() when the model changes.

18 years agoFixes the critical warnings from bug #317999, thus fixing the bug
Federico Mena Quintero [Tue, 29 Nov 2005 01:15:13 +0000 (01:15 +0000)]
Fixes the critical warnings from bug #317999, thus fixing the bug

2005-11-28  Federico Mena Quintero  <federico@ximian.com>

Fixes the critical warnings from bug #317999, thus fixing the bug
completely:

* gtk/gtkfilechooserdefault.c
(gtk_file_chooser_default_get_paths): In SELECT_FOLDER mode,
use _gtk_file_chooser_get_current_folder_path() instead of fetching the
impl->current_folder directly.  The latter may be null if we are
in RELOAD_NONE state.

18 years agoFix bug #321560, based on a patch by Bogdan Nicula (bogdanni@hotmail.com):
Federico Mena Quintero [Mon, 28 Nov 2005 22:25:03 +0000 (22:25 +0000)]
Fix bug #321560, based on a patch by Bogdan Nicula (bogdanni@hotmail.com):

2005-11-28  Federico Mena Quintero  <federico@ximian.com>

Fix bug #321560, based on a patch by Bogdan Nicula (bogdanni@hotmail.com):

* gtk/gtkfilechooserdefault.c (up_folder_handler): Don't add the
current_folder to the pending select paths here; the path bar will
give it to us now.
(path_bar_clicked): Add the child_path to the pending select paths
here.
(show_and_select_paths): Don't filter out folders.
(show_and_select_paths): Don't take separate arguments for
only_one_path and multiple paths.

* tests/autotestfilechooser.c (test_folder_switch_and_filters):
New test about preserving the filters when we change folders.

18 years agoInsert an LRM, to prevent -20 to come out as 20- in RTL locales. (#322571,
Matthias Clasen [Mon, 28 Nov 2005 16:00:26 +0000 (16:00 +0000)]
Insert an LRM, to prevent -20 to come out as 20- in RTL locales. (#322571,

2005-11-28  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkscale.c (_gtk_scale_format_value): Insert an LRM, to prevent
-20 to come out as 20- in RTL locales.  (#322571, Tze'ela Hebron)

18 years agoButtons use the label property for stock ids. (#322565, Milosz Derezynski)
Matthias Clasen [Mon, 28 Nov 2005 15:42:00 +0000 (15:42 +0000)]
Buttons use the label property for stock ids. (#322565, Milosz Derezynski)

2005-11-28  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkaction.c (gtk_action_sync_button_stock_id)
(connect_proxy): Buttons use the label property for stock ids.  (#322565,
Milosz Derezynski)

18 years agoCorrectly handle the cell list and indices into it. (#321856)
Matthias Clasen [Mon, 28 Nov 2005 15:32:44 +0000 (15:32 +0000)]
Correctly handle the cell list and indices into it. (#321856)

2005-11-28  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkiconview.c (update_text_cell, update_pixbuf_cell): Correctly
handle the cell list and indices into it.  (#321856)

18 years agoUpdate docs
Matthias Clasen [Mon, 28 Nov 2005 14:37:53 +0000 (14:37 +0000)]
Update docs

18 years agoForgotten file
Matthias Clasen [Mon, 28 Nov 2005 14:23:17 +0000 (14:23 +0000)]
Forgotten file

18 years agoSet timer_tag to 0 when the timeout is done. (#322291, Jean-Yves Lefort)
Matthias Clasen [Mon, 28 Nov 2005 14:17:06 +0000 (14:17 +0000)]
Set timer_tag to 0 when the timeout is done. (#322291, Jean-Yves Lefort)

2005-11-28  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtktooltips.c (gtk_tooltips_timeout): Set timer_tag to 0 when
the timeout is done.  (#322291, Jean-Yves Lefort)

18 years agoMake F2 work for renaming bookmarks. (#320822, Jaap A. Haitsma, patch by
Matthias Clasen [Mon, 28 Nov 2005 14:03:20 +0000 (14:03 +0000)]
Make F2 work for renaming bookmarks. (#320822, Jaap A. Haitsma, patch by

2005-11-28  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkfilechooserdefault.c (shortcuts_key_press_event_cb): Make
F2 work for renaming bookmarks.  (#320822, Jaap A. Haitsma, patch
by Paolo Borelli)

18 years agoImplement the conditional use of FlashWindowEx() properly for MSVC
Tor Lillqvist [Mon, 28 Nov 2005 08:40:56 +0000 (08:40 +0000)]
Implement the conditional use of FlashWindowEx() properly for MSVC

2005-11-28  Tor Lillqvist  <tml@novell.com>

* gdk/win32/gdkwindow-win32.c (gdk_window_set_urgency_hint):
Implement the conditional use of FlashWindowEx() properly for MSVC
compilations. The code was confusingly assuming that if compiled
with a "new" compiler, it will only be run on "new" Windows
versions. We want it to run on "old" versions, too, even if
compiled with a "new" compiler. There are two orthogonal issues:
whether the compiler defines the necessary API in its headers, and
whether it is present at run-time. (#318077)

18 years agoUse GetLocaleInfo() on Windows to get the localized weekday and month
Tor Lillqvist [Mon, 28 Nov 2005 01:51:08 +0000 (01:51 +0000)]
Use GetLocaleInfo() on Windows to get the localized weekday and month

2005-11-28  Tor Lillqvist  <tml@novell.com>

* gtk/gtkcalendar.c (gtk_calendar_init): Use GetLocaleInfo() on
Windows to get the localized weekday and month names. strftime()
in the Microsoft C library returns strings in the default codepage
for the locale of the process, not the system codepage. Thus
g_locale_to_utf8() isn't useable on the return value from
strftime(). (#322603)

18 years agoFix an example. (#322493, Elie De Brauwer)
Matthias Clasen [Sun, 27 Nov 2005 20:48:41 +0000 (20:48 +0000)]
Fix an example. (#322493, Elie De Brauwer)

2005-11-27  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkmessagedialog.c (gtk_message_dialog_new_with_markup):
Fix an example.  (#322493, Elie De Brauwer)

18 years agoFix two memory handling problems in GtkTreeView: (#322350, Søren
Matthias Clasen [Sun, 27 Nov 2005 20:36:15 +0000 (20:36 +0000)]
Fix two memory handling problems in GtkTreeView: (#322350, Søren

2005-11-27  Matthias Clasen  <mclasen@redhat.com>

Fix two memory handling problems in GtkTreeView: (#322350,
Søren Sandmann)

* gtk/gtktreeview.c (gtk_tree_view_destroy)
(gtk_tree_view_set_model): Remove all references to nodes in
the old model.
(gtk_tree_view_real_collapse_row): Unmark expanded_collapsed_node
before removing the children.

18 years agoDon't leak a PangoLayout here. (#322505, Paolo Borelli)
Matthias Clasen [Sun, 27 Nov 2005 20:23:46 +0000 (20:23 +0000)]
Don't leak a PangoLayout here. (#322505, Paolo Borelli)

2005-11-27  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkcolorbutton.c (gtk_color_button_init): Don't leak a
PangoLayout here.  (#322505, Paolo Borelli)

18 years agoOnce again rework Win32 window decoration code. Doesn't break #104514. The
Tor Lillqvist [Sun, 27 Nov 2005 02:58:09 +0000 (02:58 +0000)]
Once again rework Win32 window decoration code. Doesn't break #104514. The

2005-11-27  Tor Lillqvist  <tml@novell.com>

Once again rework Win32 window decoration code. Doesn't break
#104514. The dialogs in gtk-demo now have the same decorations and
behaviour as on X11. Tried to fix #322516 but it seems very hard
to make the trivial sample program there behave as expected. OTOH,
simply moving the gtk_window_decorate() call in the #322516 sample
program after the call to gtk_widget_show() helps...

* gdk/win32/gdkwindow-win32.c (set_or_clear_style_bits): Revert to
the correct semantics. Each call to gdk_window_set_decorations()
which calls this function is supposed to affect all decorations.

(decorate_based_on_hints): New function, looks at both geometry
hints and type hint and sets window decorations based on
that. Consolidate code from gdk_window_set_geometry_hints() and
gdk_window_set_type_hint() here.

(gdk_window_set_geometry_hints, gdk_window_set_type_hint): Call
decorate_based_on_hints().

18 years agoRevert to the correct semantics. (#322516)
Tor Lillqvist [Sun, 27 Nov 2005 00:20:55 +0000 (00:20 +0000)]
Revert to the correct semantics. (#322516)

2005-11-27  Tor Lillqvist  <tml@novell.com>

* gdk/win32/gdkwindow-win32.c (set_or_clear_style_bits): Revert to
the correct semantics. (#322516)
(gdk_window_set_geometry_hints): Adjust call correspondingly.

18 years agoMerge with gtk-wimp's CVS. Includes improved menu icon spacing, [+]/[-]
Dom Lachowicz [Fri, 25 Nov 2005 23:47:46 +0000 (23:47 +0000)]
Merge with gtk-wimp's CVS. Includes improved menu icon spacing, [+]/[-]

* modules/engines/ms-windows/*.[ch]: Merge with gtk-wimp's CVS.
Includes improved menu icon spacing, [+]/[-] expander drawing,
status-bar gippie drawing, and notebook tab drawing.

18 years agochanged two private guint that used to hold signal handler IDs to two
Michael Natterer [Thu, 24 Nov 2005 16:51:22 +0000 (16:51 +0000)]
changed two private guint that used to hold signal handler IDs to two

2005-11-24  Michael Natterer  <mitch@imendio.com>

* gtk/gtktoolbar.h (struct _GtkToolbar): changed two private guint
that used to hold signal handler IDs to two guint of padding.

* gtk/gtktoolbar.c (struct _GtkToolbarPrivate): added them as
gulong here.

(gtk_toolbar_screen_changed): changed accordingly.

18 years agodeprecated floating/sink API and implemented it in terms of the GObject
Tim Janik [Wed, 23 Nov 2005 18:06:58 +0000 (18:06 +0000)]
deprecated floating/sink API and implemented it in terms of the GObject

Wed Nov 23 18:55:47 2005  Tim Janik  <timj@imendio.com>

        * gtk/gtkobject.[hc]: deprecated floating/sink API and implemented it
        in terms of the GObject floating/sink API.

        * gtk/gtkaboutdialog.c:
        * gtk/gtkaction.c:
        * gtk/gtkcellview.c:
        * gtk/gtkclist.c:
        * gtk/gtkcolorsel.c:
        * gtk/gtkcombobox.c:
        * gtk/gtkfilechooserdefault.c:
        * gtk/gtkiconview.c:
        * gtk/gtkinvisible.c:
        * gtk/gtkitemfactory.c:
        * gtk/gtklayout.c:
        * gtk/gtkmenu.c:
        * gtk/gtkmenutoolbutton.c:
        * gtk/gtknotebook.c:
        * gtk/gtkprogress.c:
        * gtk/gtkrange.c:
        * gtk/gtkspinbutton.c:
        * gtk/gtkstatusicon.c:
        * gtk/gtktext.c:
        * gtk/gtktextview.c:
        * gtk/gtktoolbar.c:
        * gtk/gtktoolbutton.c:
        * gtk/gtktoolitem.c:
        * gtk/gtktreeitem.c:
        * gtk/gtktreeview.c:
        * gtk/gtktreeviewcolumn.c:
        * gtk/gtkuimanager.c:
        * gtk/gtkviewport.c:
        * gtk/gtkwidget.c:
        * gtk/gtkwindow.c:
        ported to use GObject's g_object_ref_sink().

        * gtk/gtkcolorsel.c:
        * gtk/gtkfilechooserdefault.c:
        * gtk/gtkaboutdialog.c:
        fixed compiler warnings.

18 years agoDocument symbolic colors and color expressions.
Matthias Clasen [Wed, 23 Nov 2005 17:11:36 +0000 (17:11 +0000)]
Document symbolic colors and color expressions.

2005-11-23  Matthias Clasen  <mclasen@redhat.com>

* gtk/tmpl/gtkrc.sgml: Document symbolic colors and
color expressions.

18 years agoFix typo when checking libtool config deplibs_check_method. Moreover,
Behdad Esfahbod [Wed, 23 Nov 2005 16:51:23 +0000 (16:51 +0000)]
Fix typo when checking libtool config deplibs_check_method. Moreover,

2005-11-23  Behdad Esfahbod  <behdad@gnome.org>

        * configure.in (enable_explicit_deps): Fix typo when checking
        libtool config deplibs_check_method. Moreover, enable explicit
        deps if we get anything other than pass_all from libtool. (part of
        #318750)

18 years agoAdded: ? gtk/gtkbuiltincache.h ? gtk/stock-icons/icon-theme.cache
Behdad Esfahbod [Wed, 23 Nov 2005 16:49:59 +0000 (16:49 +0000)]
Added: ? gtk/gtkbuiltincache.h ? gtk/stock-icons/icon-theme.cache

Added:
? gtk/gtkbuiltincache.h
? gtk/stock-icons/icon-theme.cache

18 years agoDon't create a big string, since Visual C++ doesn't like strings longer
Matthias Clasen [Wed, 23 Nov 2005 15:09:47 +0000 (15:09 +0000)]
Don't create a big string, since Visual C++ doesn't like strings longer

2005-11-23  Matthias Clasen  <mclasen@redhat.com>

* gtk/updateiconcache.c (write_csource): Don't create a big
string, since Visual C++ doesn't like strings longer than 64k.
(#322238, Kazuki IWAMOTO

18 years agoInclude gtkimcontextsimple.h (#322235, Kazuki IWAMOTO)
Matthias Clasen [Wed, 23 Nov 2005 14:35:05 +0000 (14:35 +0000)]
Include gtkimcontextsimple.h (#322235, Kazuki IWAMOTO)

2005-11-23  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkentry.c: Include gtkimcontextsimple.h  (#322235,
Kazuki IWAMOTO)

18 years agodon't leak all toplevel windows on other screens (correctly remove all
Michael Natterer [Wed, 23 Nov 2005 14:23:26 +0000 (14:23 +0000)]
don't leak all toplevel windows on other screens (correctly remove all

2005-11-23  Michael Natterer  <mitch@imendio.com>

* gtk/gtkrc.c (gtk_rc_reset_widgets): don't leak all toplevel
windows on other screens (correctly remove all temporary
references).

18 years agoadd gtk_style_lookup_color
Michael Natterer [Wed, 23 Nov 2005 10:34:35 +0000 (10:34 +0000)]
add gtk_style_lookup_color

2005-11-23  Michael Natterer  <mitch@imendio.com>

* gtk/gtk-sections.txt: add gtk_style_lookup_color

18 years agoAdded symbolic themable colors. Patch is a merged version of proposals
Michael Natterer [Wed, 23 Nov 2005 10:33:58 +0000 (10:33 +0000)]
Added symbolic themable colors. Patch is a merged version of proposals

2005-11-23  Michael Natterer  <mitch@imendio.com>

Added symbolic themable colors. Patch is a merged version of
proposals from Matthias and maemo-gtk. Fixes bug #114355.

* configure.in: require glib >= 2.9.1 for refcountable hashtables.

* gtk/gtksettings.c: added property "color-scheme" which is a
string defining colors like "foreground:black\nbackground:grey".
Automatically provide a name->GdkColor hash table mapping for the
color scheme.

* gtk/gtkrc.[ch]: added list of color hashes that works like the
list of icon factories. Append the color scheme hash from
GtkSettings if it exists. Extended gtkrc syntax to allow defining
and referencing of logical colors. Also allow to modulate colors
in gtkrc by using arbitrary expressions of mix(), shade(),
lighter() and darker(). Added internal function
_gtk_rc_style_get_color_hashes().

* gtk/gtkstyle.[ch]: keep a private list of color hashes around.
Get the list from _gtk_rc_style_get_color_hashes(). Export
internal function _gtk_style_shade() (used by above color
expressions). Added public API gtk_style_lookup_color() which
looks up a logical color by name.

* gtk/gtk.symbols: add gtk_style_lookup_color

* tests/testgtkrc: use symbolic colors for making
the scrollbars red.

18 years agoMade button-press timeouts which work like key repeat timeouts
Michael Natterer [Tue, 22 Nov 2005 12:40:15 +0000 (12:40 +0000)]
Made button-press timeouts which work like key repeat timeouts

2005-11-22  Michael Natterer  <mitch@imendio.com>

Made button-press timeouts which work like key repeat timeouts
configurable. Addresses bug #142582:

* gtk/gtksettings.c: added properties "gtk-timeout-initial" and
"gtk-timeout-repeat" which defalt to 200/20 (ms).

Use the values from GtkSettings instead of hardcoding them
(the repeat value is either taken as-is for fast repeat or
multiplied by 5 for slow repeat). Changed all places to use these
two standard initial/repeat timings:

* gtk/gtkcalendar.c (unchanged 200/20)
* gtk/gtknotebook.c (unchanged 200/100)
* gtk/gtkpathbar.c (changed from 300/150 to 200/100)
* gtk/gtkrange.c (changed from 250/100 to 200/100)
* gtk/gtkspinbutton.c (unchanged 200/20)

18 years agoAdd quartz backend.
Anders Carlsson [Tue, 22 Nov 2005 10:03:32 +0000 (10:03 +0000)]
Add quartz backend.

2005-11-21  Anders Carlsson  <andersca@imendio.com>

        * configure.in:
        * gtk/Makefile.am:
        * gdk/Makefile.am:
* gdk/quartz/*:
Add quartz backend.

        * docs/tools/Makefile.am:
Only build docshooter when the X11 backend is used.

        * gtk/gtkplug-stub.c:
Include gtkplug.h here.

        * gtk/gtksocket-stub.c:
Include gtksocket.h here.

18 years agoAdd quartz backend.
Anders Carlsson [Tue, 22 Nov 2005 10:01:03 +0000 (10:01 +0000)]
Add quartz backend.

2005-11-21  Anders Carlsson  <andersca@imendio.com>

        * configure.in:
        * gtk/Makefile.am:
        * gdk/Makefile.am:
        * gdk/quartz/*:
        Add quartz backend.

        * docs/tools/Makefile.am:
        Only build docshooter when the X11 backend is used.

        * gtk/gtkplug-stub.c:
        Include gtkplug.h here.

        * gtk/gtksocket-stub.c:
        Include gtksocket.h here.

18 years agoupdated Walloon file; changed my email address
Pablo Saratxaga [Mon, 21 Nov 2005 22:31:07 +0000 (22:31 +0000)]
updated Walloon file; changed my email address

18 years agoConvert GtkSocket to g_type_class_add_private.
Matthias Clasen [Mon, 21 Nov 2005 16:24:59 +0000 (16:24 +0000)]
Convert GtkSocket to g_type_class_add_private.

2005-11-21  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtksocket.c: Convert GtkSocket to g_type_class_add_private.

18 years agoConvert GtkMenu to g_type_class_add_private.
Matthias Clasen [Mon, 21 Nov 2005 16:15:11 +0000 (16:15 +0000)]
Convert GtkMenu to g_type_class_add_private.

2005-11-21  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkmenu.c: Convert GtkMenu to g_type_class_add_private.

18 years agoAdd a tearoff-title property, with getter and setter. (#316482, Olexiy
Matthias Clasen [Mon, 21 Nov 2005 16:01:56 +0000 (16:01 +0000)]
Add a tearoff-title property, with getter and setter. (#316482, Olexiy

2005-11-21  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtk.symbols:
* gtk/gtkcombobox.[hc]: Add a tearoff-title property,
with getter and setter.  (#316482, Olexiy Avramchenko)

* tests/testcombo.c (main): Test gtk_combo_box_set_title

18 years agoFix some _ vs - confusion.
Matthias Clasen [Mon, 21 Nov 2005 15:54:59 +0000 (15:54 +0000)]
Fix some _ vs - confusion.

2005-11-21  Matthias Clasen  <mclasen@redhat.com>

* gtk/Makefile.am (HTML_IMAGES): Fix some _ vs - confusion.

18 years agoMerge remaining fixes from the 2.8 branch, pointed out by Michael
Matthias Clasen [Mon, 21 Nov 2005 15:00:57 +0000 (15:00 +0000)]
Merge remaining fixes from the 2.8 branch, pointed out by Michael

2005-11-21  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkpathbar.c: Merge remaining fixes from the 2.8 branch,
pointed out by Michael Natterer.

18 years agoFix for bug #321542, Benedikt Meurer:
Matthias Clasen [Mon, 21 Nov 2005 14:34:52 +0000 (14:34 +0000)]
Fix for bug #321542, Benedikt Meurer:

2005-11-21  Matthias Clasen  <mclasen@redhat.com>

Fix for bug #321542, Benedikt Meurer:

* gtk/gtkcombobox.c (gtk_combo_box_set_active_internal):
Emit notify::active.

(gtk_combo_box_child_show, gtk_combo_box_child_hide): Use
g_signal_emit, not g_signal_emit_by_name.

18 years agoAdjusted wording.
Theppitak Karoonboonyanan [Sun, 20 Nov 2005 08:55:26 +0000 (08:55 +0000)]
Adjusted wording.

2005-11-20  Theppitak Karoonboonyanan  <thep@linux.thai.net>

* th.po: Adjusted wording.

18 years agoFixed typo.
Theppitak Karoonboonyanan [Sat, 19 Nov 2005 05:43:01 +0000 (05:43 +0000)]
Fixed typo.

2005-11-19  Theppitak Karoonboonyanan  <thep@linux.thai.net>

* th.po: Fixed typo.

18 years agoFix crashes in connection with pathbar scrolling (#321560, Bogdan Nicula)
Matthias Clasen [Sat, 19 Nov 2005 03:46:04 +0000 (03:46 +0000)]
Fix crashes in connection with pathbar scrolling (#321560, Bogdan Nicula)

2005-11-18  Matthias Clasen  <mclasen@redhat.com>

Fix crashes in connection with pathbar scrolling (#321560,
Bogdan Nicula)

* gtk/gtkpathbar.c (gtk_path_bar_update_slider_buttons):
Stop scrolling when desensitising slider buttons.
(gtk_path_bar_scroll_timeout, gtk_path_bar_slider_button_press):
And use it here.

* gtk/gtkpathbar.h (struct _GtkPathBar): Add a separate
scrolling_down flag.

18 years agoFix a C99ism. (#321777, Jens Granseuer)
Matthias Clasen [Fri, 18 Nov 2005 19:56:52 +0000 (19:56 +0000)]
Fix a C99ism. (#321777, Jens Granseuer)

2005-11-18  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkpathbar.c (button_clicked_cb): Fix a C99ism.
(#321777, Jens Granseuer)

18 years agoDisconnect the sync callback for the visibility property. (#321761, Philip
Matthias Clasen [Fri, 18 Nov 2005 19:47:57 +0000 (19:47 +0000)]
Disconnect the sync callback for the visibility property. (#321761, Philip

2005-11-18  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkaction.c (disconnect_proxy): Disconnect the
sync callback for the visibility property.  (#321761,
Philip Langdale)

18 years agoTurn off input methods in invisible entries, since they are confusing.
Matthias Clasen [Fri, 18 Nov 2005 19:13:11 +0000 (19:13 +0000)]
Turn off input methods in invisible entries, since they are confusing.

2005-11-18  Matthias Clasen  <mclasen@redhat.com>

Turn off input methods in invisible entries, since
they are confusing.  (#317002, James Su)

* gtk/gtkentry.c (gtk_entry_set_visibility): Toggle input
methods if visibility changes.
(popup_targets_received): Don't show the input method
menu if the entry is invisible.

18 years agoUpdated Lithuanian translation
Žygimantas Beručka [Thu, 17 Nov 2005 16:09:09 +0000 (16:09 +0000)]
Updated Lithuanian translation

2005-11-17  Žygimantas Beručka  <zygis@gnome.org>

        * lt.po: Updated Lithuanian translation

18 years agoAdd a note about range arrow sensitivity.
Matthias Clasen [Thu, 17 Nov 2005 15:04:21 +0000 (15:04 +0000)]
Add a note about range arrow sensitivity.

2005-11-17  Matthias Clasen  <mclasen@redhat.com>

* README.in: Add a note about range arrow sensitivity.

18 years agoconst correctness fixes
Matthias Clasen [Thu, 17 Nov 2005 14:57:24 +0000 (14:57 +0000)]
const correctness fixes
found by Arjan van de Ven and gcc.

18 years agocall gtk_window_process_updates() so the animation keeps running even if
Michael Natterer [Wed, 16 Nov 2005 14:40:41 +0000 (14:40 +0000)]
call gtk_window_process_updates() so the animation keeps running even if

2005-11-16  Michael Natterer  <mitch@imendio.com>

* gtk/gtkimage.c (animation_timeout): call
gtk_window_process_updates() so the animation keeps running even
if the main loop is busy with sources that eat a lot of cpu with
high priority. Fixes bug #321444.

(gtk_image_new_from_animation): document the fact that the
animation will stop running if the main loop is busy with sources
that have priorities higher than G_PRIORITY_DEFAULT.

* tests/testimage.c: added test case that shows an animation even
though a cpu-eating idle function is running.

18 years agonew internal function which destroys the display's event source. Also
Michael Natterer [Wed, 16 Nov 2005 12:36:22 +0000 (12:36 +0000)]
new internal function which destroys the display's event source. Also

2005-11-16  Michael Natterer  <mitch@imendio.com>

* gdk/x11/gdkevents-x11.c (_gdk_events_uninit): new internal
function which destroys the display's event source. Also removes
the source from the global display_sources list and unrefs it.

* gdk/x11/gdkprivate-x11.h: declare the function.

* gdk/x11/gdkdisplay-x11.c (gdk_display_x11_dispose): call it
instead of half-destroying the source here.

18 years agoUpdated Belarusian Translation
Ales Nyakhaychyk [Wed, 16 Nov 2005 10:59:34 +0000 (10:59 +0000)]
Updated Belarusian Translation

18 years agoFix integer overflows in the xpm loader
Matthias Clasen [Tue, 15 Nov 2005 15:59:05 +0000 (15:59 +0000)]
Fix integer overflows in the xpm loader

18 years agoFix a memory leak. (#321032, Peter Zelezny)
Matthias Clasen [Tue, 15 Nov 2005 15:38:53 +0000 (15:38 +0000)]
Fix a memory leak. (#321032, Peter Zelezny)

* gtk/gtktreestore.c (gtk_tree_store_move): Fix a memory
leak.  (#321032, Peter Zelezny)