Commit Graph

16542 Commits

Author SHA1 Message Date
Matthias Clasen
1eb96eadfc Bug 384940 – handle rejecting jobs and authentication meaningfully
Patch by Marek Kasik, icons by Mike Langlie:
        * gtk/gtk.symbols:
        * gtk/gtkprintbackend.h:
        * gtk/gtkprinter.[hc]: Add new paused and accepting-jobs properties
        and getters/setters.

        * gtk/gtkstock.h:
        * gtk/gtkiconfactory.c:
        * gtk/Makefile.am:
        * gtk/stock-icons/{16,24}/gtk-print-paused.{png,svg}: New icon.

        * modules/printbackends/cups/gtkprintbackendcups.c:
        * gtk/gtkprintunixdialog.c: Handle paused and job-rejecting
        printers.


svn path=/trunk/; revision=20838
2008-07-15 17:34:34 +00:00
Matthias Clasen
1ea43444be test content sniffing capability of gio
svn path=/trunk/; revision=20837
2008-07-15 16:33:24 +00:00
Xavier Claessens
2452be453b Bug 542523 - GtkTextTag should handle setting properties to NULL
2008-07-15  Xavier Claessens  <xclaesse@gmail.com>

	Bug 542523 - GtkTextTag should handle setting properties to NULL

	* gtk/gtktexttag.c (gtk_text_tag_set_property): Unset the color when
	setting it to NULL instead of displaying a warning.


svn path=/trunk/; revision=20836
2008-07-15 15:23:43 +00:00
Chao-Hsiung Liao
81c7dc93f7 2.13.5
svn path=/trunk/; revision=20835
2008-07-15 08:17:37 +00:00
Matthias Clasen
ba3b08bc7b Fix a problem with context menu sensitivity
svn path=/trunk/; revision=20834
2008-07-15 05:57:39 +00:00
Matthias Clasen
b0ac0f978e Unset the image when the label is set to "(None)". Reported by Neil
* gtk/gtkfilechooserbutton.c (update_label_and_image): Unset
        the image when the label is set to "(None)". Reported by
        Neil Roberts


svn path=/trunk/; revision=20833
2008-07-15 05:29:41 +00:00
Matthias Clasen
bae6c5576f Add an "Unselect all" button
svn path=/trunk/; revision=20832
2008-07-15 05:19:23 +00:00
Matthias Clasen
69dcbadd00 Plug a small memory leak
svn path=/trunk/; revision=20831
2008-07-15 05:00:42 +00:00
Matthias Clasen
f9d2ecfb18 fix markup
svn path=/trunk/; revision=20830
2008-07-15 03:05:03 +00:00
Matthias Clasen
8af098a54d Trivial doc fix
svn path=/trunk/; revision=20829
2008-07-15 03:00:04 +00:00
Matthias Clasen
e67da00f16 Improve docs for gdk_pixbuf_new_from_file_at_scale(). Proposed by Juan
* gdk-pixbuf-io.c: Improve docs for gdk_pixbuf_new_from_file_at_scale().
        Proposed by Juan Manuel Palacios


svn path=/trunk/; revision=20828
2008-07-15 02:26:16 +00:00
Matthias Clasen
855b3c228e Add -ljpeg when checking for jasper. Reported by Mike Calmus
* configure.in: Add -ljpeg when checking for jasper.
        Reported by Mike Calmus


svn path=/trunk/; revision=20827
2008-07-15 02:05:30 +00:00
Matthias Clasen
ba01e0fec1 Add some missing stock icons
svn path=/trunk/; revision=20826
2008-07-14 22:37:42 +00:00
Chao-Hsiung Liao
5c57445ecd Updated Traditional Chinese translation(Hong Kong). Updated Traditional
2008-07-14  Chao-Hsiung Liao  <j_h_liau@yahoo.com.tw>

        * zh_HK.po: Updated Traditional Chinese translation(Hong Kong).
        * zh_TW.po: Updated Traditional Chinese translation(Taiwan).



svn path=/trunk/; revision=20825
2008-07-14 12:10:22 +00:00
Petr Kovář
fd4cd86f95 Updated Czech translation.
svn path=/trunk/; revision=20824
2008-07-13 11:02:26 +00:00
Ignacio Casal Quinteiro
92e49f59ae Updated Galician Translation.
svn path=/trunk/; revision=20823
2008-07-12 19:40:46 +00:00
Ignacio Casal Quinteiro
07499be7d9 Updated Galician Translation.
svn path=/trunk/; revision=20822
2008-07-12 19:32:02 +00:00
Matthias Clasen
cf793d109e Use GIO for sniffing image types, except on Win32, where GIO doesn't do
2008-07-11  Matthias Clasen  <mclasen@redhat.com>

        * gdk-pixbuf-io.c: Use GIO for sniffing image types, except
        on Win32, where GIO doesn't do any sniffing.


svn path=/trunk/; revision=20820
2008-07-12 02:37:35 +00:00
Matthias Clasen
29abd7c87c Improve docs
svn path=/trunk/; revision=20819
2008-07-12 00:36:35 +00:00
Kristian Rietveld
2cc1247433 Fix #316087.
2008-07-11  Kristian Rietveld  <kris@gtk.org>

	Bug 316087 - Resizing columns is chaotic

	* gtk/gtktreeprivate.h: add new member fields.

	* gtk/gtktreeview.c (gtk_tree_view_init), (validate_row): set post
	validation flag,
	(gtk_tree_view_size_allocate_columns): rework the size allocation
	mechanism to only recalculate the expand values if the width of the
	widget, content or the column configuration has changed,
	(gtk_tree_view_size_allocate): move call to size_allocate_columns()
	to before the adjustment updates so the proper width is used after
	we updated it,
	(gtk_tree_view_button_press), (gtk_tree_view_motion_resize_column):
	use the column width minus the expand value for the resized width,
	(gtk_tree_view_move_column_after): update call to
	gtk_tree_view_size_allocate_columns().

	* gtk/gtktreeviewcolumn.c (gtk_tree_view_column_set_expand): set use
	resized width to FALSE.

	* tests/Makefile.am:
	* tests/testtreecolumnsizing.c: new interactive test program
	for testing column resizing with different column configurations.


svn path=/trunk/; revision=20818
2008-07-11 14:17:49 +00:00
Simos Xenitellis
1d510a9e84 Fixed typo in comment (the name of Markus Kuhn)
svn path=/trunk/; revision=20817
2008-07-10 23:20:30 +00:00
Simos Xenitellis
6b1d3af387 Bug 334418 – Support easy input of ellipsis
svn path=/trunk/; revision=20816
2008-07-10 23:15:00 +00:00
Murray Cumming
9c16d619b9 tooltip-text and tooltip-markup properties: Interpret an empty string as a
2008-07-03  Murray Cumming  <murrayc@murrayc.com>

* gtk/gtkwidget.c (gtk_widget_set_property):  tooltip-text and 
tooltip-markup properties: Interpret an empty string as a NULL 
string because an empty tooltip is silly. This will help 
language bindings that do not bother to have the two types of 
empty/null strings.
Bug #541399.

svn path=/trunk/; revision=20814
2008-07-10 17:46:25 +00:00
Matthias Clasen
418a348bef fix a segfault in the a11y code
svn path=/trunk/; revision=20813
2008-07-10 16:37:53 +00:00
Stefan Kost
804a06b859 Bug 540967 – docs build slowly because of entities
* gtk/building.sgml:
	* gtk/changes-1.2.sgml:
	* gtk/changes-2.0.sgml:
	* gtk/compiling.sgml:
	* gtk/directfb.sgml:
	* gtk/glossary.xml:
	* gtk/gtk-docs.sgml:
	* gtk/gtk-query-immodules-2.0.xml:
	* gtk/gtk-update-icon-cache.xml:
	* gtk/migrating-GtkAboutDialog.sgml:
	* gtk/migrating-GtkAction.sgml:
	* gtk/migrating-GtkAssistant.sgml:
	* gtk/migrating-GtkBuilder.sgml:
	* gtk/migrating-GtkColorButton.sgml:
	* gtk/migrating-GtkComboBox.sgml:
	* gtk/migrating-GtkFileChooser.sgml:
	* gtk/migrating-GtkIconView.sgml:
	* gtk/migrating-GtkLinkButton.sgml:
	* gtk/migrating-GtkRecentChooser.sgml:
	* gtk/migrating-GtkTooltip.sgml:
	* gtk/migrating-checklist.sgml:
	* gtk/osx.sgml:
	* gtk/other_software.sgml:
	* gtk/question_index.sgml:
	* gtk/resources.sgml:
	* gtk/running.sgml:
	* gtk/text_widget.sgml:
	* gtk/tree_widget.sgml:
	* gtk/visual_index.xml:
	* gtk/windows.sgml:
	* gtk/x11.sgml:
	  Use xi:include to speed up doc-build. Remove some unused entities.


svn path=/trunk/; revision=20812
2008-07-10 03:27:56 +00:00
Christian Neumair
2271df7c8d Skip update of accelerator child node if it has no associated action.
2008-07-08  Christian Neumair  <cneumair@gnome.org>

	* gtk/gtkuimanager.c (update_node):
	Skip update of accelerator child node if it has no associated action.
	Fixes #541950.

svn path=/trunk/; revision=20811
2008-07-07 23:17:40 +00:00
Cody Russell
6301e71979 Bug 541964 – [Win32] Setting modal hint to current value might confuse
2008-07-07  Cody Russell  <bratsche@gnome.org>

        Bug 541964 – [Win32] Setting modal hint to current value might confuse the stack

        * gdk/win32/gdkwindow-win32.c: Check if	the value is the same as the
        existing modal hint value before setting it.


svn path=/trunk/; revision=20809
2008-07-07 22:26:35 +00:00
Cody Russell
54bd8a3b2d Bug 540994 – [Win32] Some windows don't appear at the top when created
2008-07-07  Cody Russell  <bratsche@gnome.org>

        Bug 540994 – [Win32] Some windows don't appear at the top when created

        * gdk/win32/gdkwindow-win32.c: Raise the window when setting it modal.

        I actually already committed this one by accident, probably when I committed
        #541305, but just wanted to document it here in the ChangeLog.


svn path=/trunk/; revision=20808
2008-07-07 22:18:15 +00:00
Johan Dahlin
4773df1215 Add a test case for 528845.
2008-07-07  Johan Dahlin  <johan@gnome.org>

        * gtk/tests/builder.c (test_cell_view):
        Add a test case for 528845.


svn path=/trunk/; revision=20806
2008-07-07 12:01:58 +00:00
Tor Lillqvist
d698b1f6fd Need to initialise private->impl here, too.
2008-07-07  Tor Lillqvist  <tml@novell.com>

	* gdk/win32/gdkwindow-win32.c
	(gdk_window_foreign_new_for_display): Need to initialise
	private->impl here, too.


svn path=/trunk/; revision=20805
2008-07-07 09:28:40 +00:00
Michael Natterer
a51c43f5c6 include the two needed headers instead of <gtk/gtk.h>.
2008-07-07  Michael Natterer  <mitch@imendio.com>

	* gtk/gtkfilesystem.c: include the two needed headers instead of
	<gtk/gtk.h>.


svn path=/trunk/; revision=20804
2008-07-07 09:05:02 +00:00
Matthias Clasen
183f651cd1 Tiny doc fix
svn path=/trunk/; revision=20803
2008-07-07 03:32:58 +00:00
Matthias Clasen
99836c6528 Don't blindly chain up in the buildable implementation. Reported by Kevin
* gtk/gtkcellview.c: Don't blindly chain up in the buildable
        implementation.  Reported by Kevin Ryde.



svn path=/trunk/; revision=20802
2008-07-07 02:45:51 +00:00
Yair Hershkovitz
32f19c389b updated hebrew translation
svn path=/trunk/; revision=20801
2008-07-07 01:29:29 +00:00
Matthias Clasen
e326046d5a Add a note that cairo contexts cannot be cached for handling expose
* gdk/gdkcairo.c (gdk_cairo_create): Add a note that cairo
        contexts cannot be cached for handling expose events.
        Proposed by Behdad Esfahbod.


svn path=/trunk/; revision=20800
2008-07-07 00:28:37 +00:00
Matthias Clasen
cad36b3c42 Doc improvement
svn path=/trunk/; revision=20799
2008-07-07 00:08:00 +00:00
Matthias Clasen
7f12a27249 Clarify the docs. Pointed out by Wolfgang Oertl
* gtk/gtkwidget.c (gtk_widget_get_composite_name): Clarify the
        docs. Pointed out by Wolfgang Oertl



svn path=/trunk/; revision=20798
2008-07-06 23:58:37 +00:00
Matthias Clasen
03fa126663 Fix a typo
svn path=/trunk/; revision=20797
2008-07-06 23:51:56 +00:00
Matthias Clasen
0eb6848908 Add docs
svn path=/trunk/; revision=20796
2008-07-06 23:43:15 +00:00
Matthias Clasen
f53a77895b Mention bind_textdomain_codeset in faq
svn path=/trunk/; revision=20795
2008-07-06 23:38:41 +00:00
Matthias Clasen
0950b2aa73 Fix broken links
svn path=/trunk/; revision=20794
2008-07-06 23:32:10 +00:00
Paul Pogonyshev
de5fc98842 Revert some accidentally committed changes.
svn path=/trunk/; revision=20793
2008-07-06 22:26:56 +00:00
Christian Dywan
bb396a07b2 Remove erroneously added g_return_if_fail (bug #541811).
2008-07-07  Christian Dywan  <christian@imendio.com>

	* gtk/gtkcontainer.c (gtk_container_add_with_properties): Remove
	erroneously added g_return_if_fail (bug #541811).

svn path=/trunk/; revision=20792
2008-07-06 22:24:24 +00:00
Matthias Clasen
75c668dbf2 Fix up highlighting
svn path=/trunk/; revision=20791
2008-07-06 07:24:02 +00:00
Matthias Clasen
a2802754f1 Bug 327582 – Incomplete docs for GtkSettings::gtk-icon-sizes
2008-07-06  Matthias Clasen  <mclasen@redhat.com>

        Bug 327582 – Incomplete docs for GtkSettings::gtk-icon-sizes

        * gtk/gtksettings.c: Improve the documentation of the
        gtk-icon-sizes setting. Proposed by Tommi Komulainen.



svn path=/trunk/; revision=20790
2008-07-06 06:28:47 +00:00
Matthias Clasen
e36dd2f4e3 Bug 539248 – gtk_calender_query_tooltip calls ->detail_func with invalid
2008-07-06  Matthias Clasen  <mclasen@redhat.com>

        Bug 539248 – gtk_calender_query_tooltip calls ->detail_func with
        invalid dates

        * gtk/gtkcalendar.c (gtk_calendar_query_tooltip):
        Check that the cursor is over a valid date before retrieving
        its details.  Patch by Chris Wilson


svn path=/trunk/; revision=20789
2008-07-06 06:08:48 +00:00
Matthias Clasen
486d65659f Bug 493008 – gdk_screen_get_window_stack is not 64-bit-compatible
2008-07-06  Matthias Clasen  <mclasen@redhat.com>

        Bug 493008 – gdk_screen_get_window_stack is not 64-bit-compatible

        * gdk/x11/gdkscreen-x11.c (gdk_screen_get_window_stack): Fix
        64-bit brokenness. Reported by Christian Hammond.


svn path=/trunk/; revision=20788
2008-07-06 06:05:02 +00:00
Matthias Clasen
128585147f Bug 541645 – gtkfilechooserdefault segfaults when bookmark does not
2008-07-06  Matthias Clasen  <mclasen@redhat.com>

        Bug 541645 – gtkfilechooserdefault segfaults when bookmark does not
        contain ://

        * gtk/gtkfilechooserdefault.c (_gtk_file_chooser_label_for_file):
        Be more robust. Reported by  Jelte van der Hoek


svn path=/trunk/; revision=20787
2008-07-06 05:34:03 +00:00
Matthias Clasen
36f5e8d776 Deprecate gtk_box_pack_{start,end}_defaults
svn path=/trunk/; revision=20786
2008-07-06 04:46:36 +00:00
Matthias Clasen
1fbe931f0c 2.13.5
svn path=/trunk/; revision=20785
2008-07-05 20:34:08 +00:00