Commit Graph

13779 Commits

Author SHA1 Message Date
Armin Burgmeier
1f5902ec25 Merge from trunk:
2007-05-02  Armin Burgmeier  <armin@openismus.com>

	Merge from trunk:

	* gtk/gtkcombobox.c: Destroy the menu in dispose instead of
	finalize, because the menu might unparent itself from its parent and
	cause a signal emission on a finalized object. (#430746)

svn path=/branches/gtk-2-10/; revision=17787
2007-05-03 16:22:38 +00:00
Yang Zhang
eda414c03b Updated zh_CN translation
svn path=/branches/gtk-2-10/; revision=17784
2007-05-03 11:50:59 +00:00
Matthias Clasen
ad0e3dcdd8 bump version
svn path=/branches/gtk-2-10/; revision=17781
2007-05-02 22:00:15 +00:00
Matthias Clasen
60709383b8 2.10.12
svn path=/branches/gtk-2-10/; revision=17779
GTK_2_10_12
2007-05-02 21:54:57 +00:00
Josep Puigdemont i Casamajó
1633a96a90 Updated Catalan translation.
svn path=/branches/gtk-2-10/; revision=17778
2007-05-02 19:46:46 +00:00
Duarte Loreto
b5c35a8c9e Updated Portuguese translation.
2007-05-02  Duarte Loreto <happyguy_pt@hotmail.com>

	* pt.po: Updated Portuguese translation.

svn path=/branches/gtk-2-10/; revision=17777
2007-05-02 18:55:12 +00:00
Takeshi AIHANA
901e985c1d Updated Japanese translation.
2007-05-03  Takeshi AIHANA <takeshi.aihana@gmail.com>

        * ja.po: Updated Japanese translation.

svn path=/branches/gtk-2-10/; revision=17776
2007-05-02 17:22:41 +00:00
Matthias Clasen
de8ab84a52 Forgotten changes for the icon cache validator
2007-05-02  Matthias Clasen  <mclasen@redhat.com>

        * gtk/Makefile.am: Forgotten changes for the icon cache validator


svn path=/branches/gtk-2-10/; revision=17775
2007-05-02 16:51:41 +00:00
Matthias Clasen
89643a5500 forgotten file
svn path=/branches/gtk-2-10/; revision=17774
2007-05-02 16:15:11 +00:00
Kristian Rietveld
37f8533745 Merge from trunk:
2007-05-02  Kristian Rietveld  <kris@imendio.com>

	Merge from trunk:

	* gtk/gtktreeview.c (gtk_tree_view_grab_notify): stop the rubber band
	if it's active.


svn path=/branches/gtk-2-10/; revision=17771
2007-05-02 08:09:46 +00:00
Matthias Clasen
fe6f91ded2 Updates
svn path=/branches/gtk-2-10/; revision=17769
2007-05-02 03:13:57 +00:00
Matthias Clasen
afb9a6c601 Don't be too strict when checking icon flags. (#435062)
2007-05-01  Matthias Clasen  <mclasen@redhat.com>

        * gtk/gtkiconcachevalidator.c: Don't be too strict when checking
        icon flags.  (#435062)



svn path=/branches/gtk-2-10/; revision=17768
2007-05-02 02:21:28 +00:00
Matthias Clasen
40653e2a1f Don't ignore the fact that gtk_file_system_get_parent() may return NULL.
2007-05-01  Matthias Clasen  <mclasen@redhat.com>

        * gtk/gtkfilesystemmodel.c (_gtk_file_system_model_path_do):
        Don't ignore the fact that gtk_file_system_get_parent()
        may return NULL.  (#424042, Jan Martinek)



svn path=/branches/gtk-2-10/; revision=17765
2007-05-02 01:23:30 +00:00
Dan Winship
a56af6e2f7 Merge from trunk:
* gdk/x11/gdkwindow-x11.c (setup_toplevel_window): Make sure the
	leader_window's WM_CLIENT_LEADER points to itself. #435028

svn path=/branches/gtk-2-10/; revision=17763
2007-05-02 00:21:51 +00:00
Matthias Clasen
0a65a72417 add a new struct field to clear the file entry after the current folder
2007-05-01  Matthias Clasen  <mclasen@redhat.com>

        * gtk/gtkfilechooserdefault.c (struct UpdateCurrentFolderData),
        (update_current_folder_get_info_cb): add a new struct field to clear
        the file entry after the current folder has been updated.

        (gtk_file_chooser_default_update_current_folder),
        (change_folder_and_display_error): Add a new function parameter to
        trigger file entry clearing.

        (edited_idle_create_folder_cb),
        (file_list_drag_data_received_get_info_cb),
        (gtk_file_chooser_default_map),
        (gtk_file_chooser_default_set_current_folder),
        (switch_to_selected_folder), (save_entry_get_info_cb),
        (shortcuts_activate_volume_mount_cb), (shortcuts_activate_volume),
        (shortcuts_activate_get_info_cb), (list_row_activated),
        (path_bar_clicked): use new function parameter appropriately.

        (gtk_file_chooser_default_should_respond): trigger file entry clearing
        after the directory is updated instead of clearing it before, this way
        we avoid reloading the completion model with the soon to be old folder,
        causing a warning and a glitch in the folder where completion happens.
        (#379414, Carlos Garnacho)




svn path=/branches/gtk-2-10/; revision=17757
2007-05-01 22:03:08 +00:00
Matthias Clasen
f16cc7f311 Remove debug spew, add a warning
svn path=/branches/gtk-2-10/; revision=17755
2007-05-01 21:55:28 +00:00
Ihar Hrachyshka
7209503eb7 Updated Belarusian Latin translation.
svn path=/branches/gtk-2-10/; revision=17750
2007-05-01 09:28:15 +00:00
Matthias Clasen
5eae4ef392 Make sure we always have a color_hash. (#423916, Jens Granseuer)
2007-04-30  Matthias Clasen  <mclasen@redhat.com>

        * gtk/gtksettings.c (settings_update_color_scheme):
        Make sure we always have a color_hash.  (#423916, Jens Granseuer)



svn path=/branches/gtk-2-10/; revision=17749
2007-04-30 19:29:33 +00:00
Matthias Clasen
abf1066d78 A NO_WINDOW widget must not set the background of its window. (#433972,
2007-04-30  Matthias Clasen  <mclasen@redhat.com>

        * gtk/gtkexpander.c (gtk_expander_realize): A NO_WINDOW widget
        must not set the background of its window.  (#433972,
        Guilherme Polo)


svn path=/branches/gtk-2-10/; revision=17745
2007-04-30 18:00:17 +00:00
Matthias Clasen
06e80d784a Get all the printer attributes when getting the list of printers, not via
2007-04-30  Matthias Clasen  <mclasen@redhat.com>

        * modules/printbackends/cups/gtkprintbackendcups.c: Get all
        the printer attributes when getting the list of printers,
        not via separate requests.  (#387889, Krishan Purahoo)


svn path=/branches/gtk-2-10/; revision=17742
2007-04-30 17:42:10 +00:00
Cody Russell
d22d101f97 Clear correct area
svn path=/branches/gtk-2-10/; revision=17738
2007-04-30 15:30:38 +00:00
Matthias Clasen
7e13e72706 Translate the default job name, and don't utf8-validate the job name in
2007-04-30  Matthias Clasen <mclasen@redhat.com>

        * gtk/gtkprintoperation.c: Translate the default job
        name, and don't utf8-validate the job name in the
        setter.  (#421993, Morten Welinder)



svn path=/branches/gtk-2-10/; revision=17727
2007-04-30 05:10:20 +00:00
Matthias Clasen
046fc3cc2f Use g_unlink. (#421990, Morten Welinder)
2007-04-30  Matthias Clasen <mclasen@redhat.com>

        * gtk/gtkprintjob.c (gtk_print_job_get_surface): Use
        g_unlink.  (#421990, Morten Welinder)



svn path=/branches/gtk-2-10/; revision=17725
2007-04-30 04:56:32 +00:00
Matthias Clasen
e23495daee Fix some issues with reference handling in the printing code. (#429902,
2007-04-29  Matthias Clasen <mclasen@redhat.com>

        Fix some issues with reference handling in the printing
        code.  (#429902, Mathias Hasselmann)

        * gtk/gtkprintoperation.c (gtk_print_operation_finalize):
        Unref the print context, if we have one.
        (gtk_print_operation_done): Add a default ::done handler
        that unrefs the print context.
        (preview_ready): Take a reference on the print operation
        preview here.
        (print_pages_idle): ...not here,
        (preview_print_idle_done): ...and release it here.

        * tests/print-editor.c (preview_cb): Take a reference
        on the print operation here.



svn path=/branches/gtk-2-10/; revision=17723
2007-04-30 04:50:49 +00:00
Matthias Clasen
08bf8df1a0 Make the emission of ::end-print and ::done consistent for previews.
2007-04-29  Matthias Clasen <mclasen@redhat.com>

        Make the emission of ::end-print and ::done consistent
        for previews.  (#347567, Yevgen Muntyan)

        * gtk/gtkprintoperation.c (preview_iface_end_preview): Set
        the finished status here.
        (preview_end_run): ...and not here.
        (print_pages_idle_done): Emit ::done for a cancelled preview.
        (print_pages_idle): If a preview has been cancelled, don't
        emit ::ready, but emit ::end-print.

        tests/print-editor.c: Use ::end-print to undo allocations
        from ::begin-print.


svn path=/branches/gtk-2-10/; revision=17720
2007-04-30 02:21:10 +00:00
Matthias Clasen
83ef247e1f Document that a print operation can be run only once, and add a
2007-04-29  Matthias Clasen <mclasen@redhat.com>

        * gtk/gtkprintoperation.c (gtk_print_operation_run): Document
        that a print operation can be run only once, and add a
        corresponding g_return_if_fail().   (#379399, Masao Mutoh)



svn path=/branches/gtk-2-10/; revision=17716
2007-04-29 18:56:28 +00:00
Matthias Clasen
44c7ba14b0 Remove a pointless check from the previous commit that added a new string.
2007-04-29  Matthias Clasen <mclasen@redhat.com>

        * io-jpeg.c: Remove a pointless check from the previous
        commit that added a new string.



svn path=/branches/gtk-2-10/; revision=17713
2007-04-29 18:38:18 +00:00
Matthias Clasen
f164053f95 Unlink the file if launching the preview failed, use the settings from the
2007-04-29  Matthias Clasen  <mclasen@redhat.com>

        * gtk/gtkprintoperation-unix.c 
        (_gtk_print_operatin_platform_launch_preview): Unlink the
        file if launching the preview failed, use the settings from
        the correct screen, and don't make the error dialog modal.
        (#421985, Morten Welinder)



svn path=/branches/gtk-2-10/; revision=17709
2007-04-29 18:10:35 +00:00
Matthias Clasen
d87cb6e82d Only strip parentheses of the form (_x). (#434261, Brian Wellington)
2007-04-29  Matthias Clasen  <mclasen@redhat.com>

        * gtk/gtktoolbar.c (_gtk_toolbar_elide_underscores):
        Only strip parentheses of the form (_x).  (#434261,
        Brian Wellington)


svn path=/branches/gtk-2-10/; revision=17706
2007-04-29 07:22:08 +00:00
Matthias Clasen
40db7d038b Fix the build
svn path=/branches/gtk-2-10/; revision=17702
2007-04-29 06:51:12 +00:00
Ihar Hrachyshka
8b4c8fa1a1 Updated Belarusian Latin translation.
svn path=/branches/gtk-2-10/; revision=17700
2007-04-29 06:49:48 +00:00
Matthias Clasen
c80541a3e4 Also check the default handler when deciding whether to emit the paginate
2007-04-29  Matthias Clasen  <mclasen@redhat.com>

        * gtk/gtkprintoperation.c (print_pages_idle): Also check
        the default handler when deciding whether to emit the
        paginate signal.  (#345345, Yevgen Muntyan)



svn path=/branches/gtk-2-10/; revision=17699
2007-04-29 06:35:33 +00:00
Matthias Clasen
3098de7054 Free the custom paper list. (#403267, Felix Riemann)
2007-04-29  Matthias Clasen  <mclasen@redhat.com>

        * gtk/gtkpagesetupunixdialog.c (gtk_page_setup_unix_dialog_finalize):
        Free the custom paper list.  (#403267, Felix Riemann)



svn path=/branches/gtk-2-10/; revision=17696
2007-04-29 05:07:33 +00:00
Matthias Clasen
d84f87dc1b Fix a small memory leak. (#403251, Felix Riemann)
2007-04-29  Matthias Clasen  <mclasen@redhat.com>

        * gtk/gtkprintjob.c (gtk_print_job_get_surface): Fix a
        small memory leak.  (#403251, Felix Riemann)



svn path=/branches/gtk-2-10/; revision=17694
2007-04-29 04:59:38 +00:00
Matthias Clasen
ec485b24bd Fix the offsets of the input-only window if we also have a visible window.
2007-04-28  Matthias Clasen  <mclasen@redhat.com>

        * gtk/gtkeventbox.c (gtk_event_box_realize): Fix the offsets
        of the input-only window if we also have a visible window.
        (#405089)



svn path=/branches/gtk-2-10/; revision=17684
2007-04-28 21:49:13 +00:00
Matthias Clasen
a6fc91c07e Recognize negative column indices as invalid. (#415260, Chris Wilson)
2007-04-28  Matthias Clasen  <mclasen@redhat.com>

        * gtk/gtkliststore.c (gtk_list_store_set_valist_internal):
        * gtk/gtktreestore.c (gtk_tree_store_set_valist_internal):
        Recognize negative column indices as invalid.  (#415260,
        Chris Wilson)


svn path=/branches/gtk-2-10/; revision=17682
2007-04-28 21:31:34 +00:00
Matthias Clasen
1bb1405cf1 Accept unknown parameters with a warning when saving. (#405539, Daniel
2007-04-28  Matthias Clasen <mclasen@redhat.com>

        * io-png.c:
        * io-jpeg.c: Accept unknown parameters with a warning
        when saving.  (#405539, Daniel Atallah)



svn path=/branches/gtk-2-10/; revision=17674
2007-04-28 14:49:43 +00:00
Matthias Clasen
28ec7761ee Plug memory leaks caused by wrong use of g_slist_remove_link(). (#405515,
2007-04-28  Matthias Clasen  <mclasen@redhat.com>

        * gdk/win32/bdfcursor.c (compose_cursors_from_fonts):
        * gtk/gtkcombobox.c (gtk_combo_box_cell_layout_reorder):
        * gtk/gtkfilesystemmodel.c (got_root_folder_cb):
        (get_children_folder_cb): Plug memory leaks caused by wrong
        use of g_slist_remove_link().  (#405515, Nicolas Peninguy)



svn path=/branches/gtk-2-10/; revision=17672
2007-04-28 14:43:20 +00:00
Matthias Clasen
3ebb7e964c Fix the headers in the print demo. (#423722, Yevgen Muntyan)
2007-04-28  Matthias Clasen  <mclasen@redhat.com>

        * demos/gtk-demo/printing.c: Fix the headers in the print
        demo.  (#423722, Yevgen Muntyan)



svn path=/branches/gtk-2-10/; revision=17670
2007-04-28 14:09:36 +00:00
Tor Lillqvist
cb2c4a4597 Remove old child of scrolled window before adding a new one when switching
2007-04-26  Tor Lillqvist  <tml@novell.com>

	* gtk/gtkinputdialog.c (gtk_input_dialog_fill_axes)
	(gtk_input_dialog_fill_keys): Remove old child of scrolled window
	before adding a new one when switching what input device is being
	handled. (#399425)


svn path=/branches/gtk-2-10/; revision=17655
2007-04-26 06:19:13 +00:00
Matthias Clasen
3357ad8bf8 Mark the printer list as done. (#428665, Bogdan Gheorghe)
2007-04-26  Matthias Clasen  <mclasen@redhat.com>

        * modules/printbackends/lpr/gtkprintbackendlpr.c
        (gtk_print_backend_lpr_init): Mark the printer list as done.
        (#428665, Bogdan Gheorghe)



svn path=/branches/gtk-2-10/; revision=17654
2007-04-26 06:16:01 +00:00
Matthias Clasen
2f9521e58d Don't install UNIX-printing headers and support files on non-UNIX
2007-04-26  Matthias Clasen  <mclasen@redhat.com>

        * Makefile.am:
        * gtk/Makefile.am: Don't install UNIX-printing headers and
        support files on non-UNIX platforms.  (#425655, Vincent Geddes)



svn path=/branches/gtk-2-10/; revision=17652
2007-04-26 06:05:20 +00:00
Matthias Clasen
2b85c47132 Accept unnamed separators. (#369112, Christian Persch)
2007-04-26  Matthias Clasen  <mclasen@redhat.com>

        * gtk/gtkuimanager.c (gtk_ui_manager_add_ui): Accept
        unnamed separators.  (#369112, Christian Persch)



svn path=/branches/gtk-2-10/; revision=17650
2007-04-26 05:55:59 +00:00
Matthias Clasen
1b730c2d01 Don't access invalid memory. (#429732, Armin Burgmeier)
2007-04-26  Matthias Clasen  <mclasen@redhat.com>

        * gtk/gtkaccelgroup.c (gtk_accel_group_finalize): Don't access
        invalid memory.  (#429732, Armin Burgmeier)



svn path=/branches/gtk-2-10/; revision=17648
2007-04-26 05:52:24 +00:00
Cody Russell
bdc6c63ffb Use native Win32 cursors where it makes sense
svn path=/branches/gtk-2-10/; revision=17646
2007-04-26 05:28:16 +00:00
Cody Russell
f9507b4e08 Win32 drop shadow goodness
svn path=/branches/gtk-2-10/; revision=17644
2007-04-25 23:45:09 +00:00
Matthias Clasen
5ee1e016b1 Set the background of the header window again. (#431067, Benjamin Berg)
* gtk/gtktreeview.c (gtk_tree_view_style_set): Set the background
        of the header window again.  (#431067, Benjamin Berg)



svn path=/branches/gtk-2-10/; revision=17641
2007-04-25 19:13:29 +00:00
Matthias Clasen
9c6e762a33 Set the filename to NULL for builtin icons, sinc
2007-04-25  Matthias Clasen  <mclasen@redhat.com>

        * gtk/gtkicontheme.c (theme_lookup_icon): Set the filename to
        NULL for builtin icons, sinc gtk_icon_info_get_builtin_pixbuf()
        depends on it.

        * tests/testicontheme.c: Report builtin icons.


svn path=/branches/gtk-2-10/; revision=17639
2007-04-25 18:06:11 +00:00
Matthias Clasen
5196c8e5bf Don't crash if end_run is not set. (#424168, Matthias Hasselmann)
2007-04-25  Matthias Clasen  <mclasen@redhat.com>

        * gtk/gtkprintoperation.c (preview_iface_end_preview): Don't
        crash if end_run is not set.  (#424168, Matthias Hasselmann)



svn path=/branches/gtk-2-10/; revision=17637
2007-04-25 16:30:00 +00:00
Matthias Clasen
e7ae6a11ee Don't double the delay time of the first frame. (#431997, Björn
2007-04-25  Matthias Clasen <mclasen@redhat.com>

        * gdk-pixbuf-simple-anim.c (gdk_pixbuf_simple_anim_add_frame):
        Don't double the delay time of the first frame.  (#431997,
        Björn Lindqvist)


svn path=/branches/gtk-2-10/; revision=17635
2007-04-25 14:47:19 +00:00