Commit Graph

16585 Commits

Author SHA1 Message Date
Michael Natterer
8a1bdcbe4a use gtk_box_pack_start() instead of the deprecated
2008-07-21  Michael Natterer  <mitch@imendio.com>

	* gtk/gtkbox.c (gtk_box_add): use gtk_box_pack_start() instead of
	the deprecated gtk_box_pack_start_defaults().

	* gtk/gtkbindings.c (gtk_binding_entry_add_signal)
	(gtk_binding_parse_signal): use _gtk_binding_entry_add_signall()
	instead of the deprecated gtk_binding_entry_add_signall().


svn path=/trunk/; revision=20885
2008-07-21 14:35:51 +00:00
Emmanuele Bassi
1db0192042 Use GSlice to allocate the application data for recently used resources;
2008-07-21  Emmanuele Bassi  <ebassi@gnome.org>

	* gtk/gtkrecentmanager.c:
	(recent_app_info_new), (recent_app_info_free): Use GSlice to
	allocate the application data for recently used resources;
	do not call time() to initialize the timestamp, as it will
	be overwritten anyway later. (#535223, Michael Meeks)

svn path=/trunk/; revision=20884
2008-07-21 13:37:15 +00:00
Kristian Rietveld
fd4a8411f0 Bug 543989 - Crash in gtk_tree_view_size_allocate_columns
2008-07-21  Kristian Rietveld  <kris@gtk.org>

	Bug 543989 - Crash in gtk_tree_view_size_allocate_columns

	* gtk/gtktreeview.c (gtk_tree_view_size_allocate_columns): check
	for width_changed != NULL.  (Patch by Josselin Mouette).


svn path=/trunk/; revision=20883
2008-07-21 13:32:05 +00:00
Michael Natterer
b8a2347c45 Bug 442042 – GtkScaleButton is too limited
2008-07-21  Michael Natterer  <mitch@imendio.com>

	Bug 442042 – GtkScaleButton is too limited

	* tests/testvolumebutton.c: forgot to commit code that tests
	toggling the button's orientation. Also fixes the file's coding
	style.


svn path=/trunk/; revision=20882
2008-07-21 12:58:36 +00:00
Cody Russell
c8fef535b2 Bug 153567 – Repaint glitches in widgets
2008-07-21  Cody Russell  <bratsche@gnome.org>

        Bug 153567 – Repaint glitches in widgets

        * gdk/win32/gdkevents-win32.c: Set a sync timer when
        we receive WM_SYNCPAINT, and RedrawWindow() once
        the timer expires.


svn path=/trunk/; revision=20881
2008-07-21 12:46:41 +00:00
Michael Natterer
b06c30bb51 use the simpler g_signal_override_class_handler() instead of
2008-07-21  Michael Natterer  <mitch@imendio.com>

	* gtk/gtktoolbar.c (gtk_toolbar_class_init): use the simpler
	g_signal_override_class_handler() instead of
	g_signal_override_class_closure().

	* gtk/gtktextview.c (gtk_text_view_class_init): ditto.

	(gtk_text_view_compat_move_focus): chain up using
	g_signal_chain_from_overridden_handler() instead of the generic
	g_signal_chain_from_overridden() which needs manual fiddling with
	millions of GValues.


svn path=/trunk/; revision=20880
2008-07-21 12:27:30 +00:00
Tomasz Dominikowski
d7cc567e33 Polish translation update by Aviary.pl
svn path=/trunk/; revision=20879
2008-07-21 12:23:25 +00:00
Michael Natterer
affea672d2 remove redundant include.
2008-07-21  Michael Natterer  <mitch@imendio.com>

	* gtk/gtkuimanager.c: remove redundant include.


svn path=/trunk/; revision=20878
2008-07-21 12:23:22 +00:00
Tomasz Dominikowski
7d479da576 Polish translation update
svn path=/trunk/; revision=20875
2008-07-21 10:55:33 +00:00
Michael Natterer
7f00695920 remove _gtk_binding_signal_new().
2008-07-21  Michael Natterer  <mitch@imendio.com>

	* gtk/gtkbindings.[ch]: remove _gtk_binding_signal_new().

	* gtk/gtkfilechooserdefault.c
	* gtk/gtkmenu.c
	* gtk/gtkmenushell.c
	* gtk/gtkscalebutton.c
	* gtk/gtktextview.c
	* gtk/gtktoolbar.c
	* gtk/gtkwidget.c: use g_signal_new_class_handler() instead. Add
	some missing I_() to the signal names.


svn path=/trunk/; revision=20874
2008-07-21 09:48:20 +00:00
Michael Natterer
c6bb5b4882 remove g_return_if_fail() from private functions and virtual function
2008-07-21  Michael Natterer  <mitch@imendio.com>

	* gtk/gtkspinbutton.c: remove g_return_if_fail() from private
	functions and virtual function implementations. Some minor
	cleanups.


svn path=/trunk/; revision=20873
2008-07-21 09:41:28 +00:00
Andre Klapper
4346194869 Bug 543915 - translation issues
2008-07-20  Andre Klapper  <a9016009@gmx.de>

	Bug 543915 - translation issues

	* modules/printbackends/cups/gtkprintbackendcups.c:
	Add translator comments for several strings.


svn path=/trunk/; revision=20872
2008-07-20 22:03:32 +00:00
Andre Klapper
889caf4522 Updated German translation.
2008-07-20  Andre Klapper  <a9016009@gmx.de>

	* de.po: Updated German translation.


svn path=/trunk/; revision=20871
2008-07-20 21:58:05 +00:00
Sven Herzberg
bd86f2e8fb reviewed by: Richard Hult
2008-07-20  Sven Herzberg  <sven@imendio.com>

	reviewed by: Richard Hult

	Fixes #543868: GdkPixmap is upside down on quartz

	* gdk/quartz/gdkdrawable-quartz.c (gdk_quartz_draw_drawable): flip the
	coordinate space from GTK+ orientation to CoreGraphics orientation
	before calling CoreGraphics code
	* gdk/quartz/gdkgc-quartz.c (gdk_quartz_draw_tiled_pattern): drop the
	coordinate space flipping (we always get it right, now)
	* gdk/quartz/gdkpixmap-quartz.c
	(gdk_pixmap_impl_quartz_get_context): flip the coordinate space when
	creating the CGContextRef


svn path=/trunk/; revision=20870
2008-07-20 19:22:37 +00:00
Sven Herzberg
61ca4f71a0 reviewed by: Richard Hult
2008-07-20  Sven Herzberg  <sven@imendio.com>

	reviewed by: Richard Hult

	Extracted the CGContextRef creation into a virtual function of
	GdkDrawableImplQuartz; implement get_context() for GdkPixmap and
	GdkWindow

	* gdk/quartz/gdkdrawable-quartz.c
	(gdk_quartz_drawable_get_context): dropped the different
	implementations; forward to the virtual function now
	* gdk/quartz/gdkdrawable-quartz.h: added the virtual function
	* gdk/quartz/gdkpixmap-quartz.c
	(gdk_pixmap_impl_quartz_get_context),
	(gdk_pixmap_impl_quartz_class_init): implemented get_context()
	* gdk/quartz/gdkwindow-quartz.c
	(gdk_window_impl_quartz_get_context),
	(gdk_window_impl_quartz_class_init): implemented get_context()


svn path=/trunk/; revision=20869
2008-07-20 16:14:35 +00:00
Matthias Clasen
66781b84d0 Add tons of new api
svn path=/trunk/; revision=20868
2008-07-20 01:22:37 +00:00
Matthias Clasen
0a3394b70c Improve the docs
svn path=/trunk/; revision=20867
2008-07-20 00:58:11 +00:00
Matthias Clasen
ab128c454e Updates
svn path=/trunk/; revision=20866
2008-07-19 22:57:02 +00:00
Federico Mena Quintero
5bd03f2b44 Remove the old icon cache if regenerating it would cause it to be empty
Signed-off-by: Federico Mena Quintero <federico@novell.com>

svn path=/trunk/; revision=20865
2008-07-18 19:28:13 +00:00
Matthias Clasen
46047f173e Fix a crash
svn path=/trunk/; revision=20864
2008-07-18 19:07:39 +00:00
Matthias Clasen
71e134617c Avoid a crash
svn path=/trunk/; revision=20863
2008-07-18 19:03:54 +00:00
Federico Mena Quintero
0278fdcbc2 Don't do funny casts to avoid compiler warnings
2008-07-18  Federico Mena Quintero  <federico@novell.com>

	* demos/gtk-demo/changedisplay.c (find_toplevel_at_pointer): Don't
	do funny casts to avoid compiler warnings.

	* demos/gtk-demo/textview.c (easter_egg_callback): Likewise.

	* gtk/gtkmain.c (rewrite_event_for_grabs, gtk_get_event_widget): Likewise.

	* gtk/gtkmodules.c (load_module): Likewise.

	* gtk/gtkselection.c (gtk_selection_convert): Likewise.

	* gtk/gtktipsquery.c (gtk_tips_query_event): Likewise.

	* gtk/queryimmodules.c (query_module): Likewise.

	* tests/testgtk.c (create_gridded_geometry, create_key_lookup)
	(find_widget_at_pointer): Likewise.

Signed-off-by: Federico Mena Quintero <federico@novell.com>

svn path=/trunk/; revision=20862
2008-07-18 18:27:30 +00:00
Matthias Clasen
cf68d46c64 Add a forgotten hunk
svn path=/trunk/; revision=20861
2008-07-18 15:51:06 +00:00
Sven Herzberg
938bebdd88 Make aliasfilecheck.sh pass for the quartz backend, too.
2008-07-18  Sven Herzberg  <sven@imendio.com>

	Make aliasfilecheck.sh pass for the quartz backend, too.

	* gtk/Makefile.am: don't include gtkquartz.h in the list of c files


svn path=/trunk/; revision=20860
2008-07-18 15:49:14 +00:00
Jorge Gonzalez Gonzalez
31288fd119 Updated Spanish translation
svn path=/trunk/; revision=20859
2008-07-18 13:41:42 +00:00
Ilkka Tuohela
c784e43319 Updated Finnish translation
svn path=/trunk/; revision=20858
2008-07-18 13:06:33 +00:00
Amitakhya Phukan
af80fa323e Updated assamese translations
svn path=/trunk/; revision=20855
2008-07-17 06:26:57 +00:00
Runa Bhattacharjee
6023e1b7fc Added Entry for addition of Pashto (ps) to ALL_LINGUAS in configure.in
svn path=/trunk/; revision=20854
2008-07-17 05:56:22 +00:00
Runa Bhattacharjee
6ddbe291f1 Added Pashto (ps) to ALL_LINGUAS
svn path=/trunk/; revision=20853
2008-07-17 05:55:42 +00:00
Runa Bhattacharjee
585d2145dc Added Entry for addition of Pashto (ps) Translations by Zabeeh Khan
svn path=/trunk/; revision=20852
2008-07-17 05:54:49 +00:00
Runa Bhattacharjee
2d61c8f886 Added Entry for addition of Pashto (ps) Translations by Zabeeh Khan
svn path=/trunk/; revision=20851
2008-07-17 05:54:28 +00:00
Runa Bhattacharjee
49edc73693 Added Pashto Translations by Zabeeh Khan
svn path=/trunk/; revision=20850
2008-07-17 05:53:21 +00:00
Runa Bhattacharjee
2b83fbacc1 Added Pashto Translations by Zabeeh Khan
svn path=/trunk/; revision=20849
2008-07-17 05:52:55 +00:00
Jorge Gonzalez Gonzalez
7ab09fb0e8 Updated Spanish translation
svn path=/trunk/; revision=20848
2008-07-16 20:38:11 +00:00
Jorge Gonzalez Gonzalez
89ea042502 Updated Spanish translation
svn path=/trunk/; revision=20847
2008-07-16 20:37:53 +00:00
Paolo Borelli
e93e571a02 ops, forgot a test in the last commit
svn path=/trunk/; revision=20846
2008-07-16 15:45:08 +00:00
Paolo Borelli
6ee8be8899 Bug 447998 - GtkBuilder does not support building parts of the xml tree
2008-07-15  Paolo Borelli  <pborelli@katamail.com>

	Bug 447998 - GtkBuilder does not support building parts of the xml tree

	* gtk/gtkbuilder.c:
	* gtk/gtkbuilder.h:
	* gtk/gtkbuilderprivate.h:
	* gtk/gtkbuilderparser.c:
	* gtk/gtk.symbols:
	Add two new functions that allow cherry picking and construct
	objects from a ui description file or string.

	* gtk/tests/builder.c: tests for the above.


svn path=/trunk/; revision=20845
2008-07-16 15:36:53 +00:00
Paolo Borelli
3e5cda3d3c fix up broken test (cellview has no "clicked" signal) case and plug a
2008-07-15  Paolo Borelli  <pborelli@katamail.com>

	* gtk/tests/builder.c: fix up broken test (cellview has no "clicked"
	signal) case and plug a couple of leaks.


svn path=/trunk/; revision=20844
2008-07-16 14:13:29 +00:00
Matthias Clasen
f815c34a2b Don't free a GFile. Reported by Sebastien Bacher
* gtk/gtkfilesystem.c (_gtk_file_system_set_bookmark_label): Don't
        free a GFile. Reported by Sebastien Bacher



svn path=/trunk/; revision=20843
2008-07-16 13:51:56 +00:00
Yair Hershkovitz
1e1f8a0e87 updated hebrew translation
svn path=/trunk/; revision=20842
2008-07-16 07:58:34 +00:00
Yair Hershkovitz
2f7866b779 updated hebrew translation
svn path=/trunk/; revision=20841
2008-07-16 07:33:16 +00:00
Matthias Clasen
c70c74c9b8 Use gdk_pixbuf_copy_area() to copy between pixbufs. Reported by Andrey
* gdk-pixbuf-utils.c (gdk_pixbuf_saturate_and_pixelate):
        Use gdk_pixbuf_copy_area() to copy between pixbufs.
        Reported by Andrey Tsyvarev


svn path=/trunk/; revision=20840
2008-07-15 20:35:48 +00:00
Matthias Clasen
4946240780 Bug 339591 – Detect list of availible cover pages
Patch by Marek Kasik:
        * modules/printbackends/cups/gtkprintbackendcups.c: Get the list of
        available cover pages and the default front and back cover pages
        from the cups server.


svn path=/trunk/; revision=20839
2008-07-15 17:45:18 +00:00
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