Commit Graph

6951 Commits

Author SHA1 Message Date
Matthias Clasen
6f5687c1e3 Use g_quark_from_static_string here.
2005-08-09  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtksizegroup.c (get_size_groups, set_size_groups): Use
	g_quark_from_static_string here.
2005-08-09 04:49:36 +00:00
Christian Persch
fb382a2bd0 Deactivate the menu when the button becomes insensitive, and remove dead
2005-08-08  Christian Persch  <chpe@cvs.gnome.org>

	* gtk/gtkmenutoolbutton.c: (gtk_menu_tool_button_state_changed),
	(gtk_menu_tool_button_class_init), (popup_menu_under_arrow),
	(gtk_menu_tool_button_init):

	Deactivate the menu when the button becomes insensitive, and remove
	dead code. Fixes bug #312920.

2005-08-08  Matthias Clasen  <mclasen@redhat.com>
2005-08-08 18:34:43 +00:00
Matthias Clasen
4494bd6ff8 Fix the build 2005-08-08 18:28:50 +00:00
Christian Persch
1992b31396 Use ->priv instead of GTK_MENU_TOOL_BUTTON_GET_PRIVATE. Surviving part of
2005-08-08  Christian Persch  <chpe@cvs.gnome.org>

	* gtk/gtkmenutoolbutton.c:
	(gtk_menu_tool_button_construct_contents),
	(button_state_changed_cb), (menu_position_func),
	(arrow_button_toggled_cb):

	Use ->priv instead of GTK_MENU_TOOL_BUTTON_GET_PRIVATE.
	Surviving part of bug #310589.
2005-08-08 18:14:26 +00:00
Matthias Clasen
d40699c1b5 Tighten up ABI checking a bit 2005-08-07 13:46:06 +00:00
Matthias Clasen
4b73b75936 Tighten up ABI checks a bit 2005-08-07 13:39:55 +00:00
Søren Sandmann Pedersen
084b800ac9 Add bug number to ChangeLog 2005-08-05 21:13:00 +00:00
Søren Sandmann
87e4eb6b0a Set the relief of the arrow button to the value returned by
Fri Aug  5 16:54:19 2005  Søren Sandmann  <sandmann@redhat.com>

	* gtk/gtkmenutoolbutton.c
	(gtk_menu_tool_button_construct_contents): Set the relief of the
	arrow button to the value returned by
	gtk_tool_item_get_relief_style(). Patch from Benjamin Berg.
2005-08-05 20:55:48 +00:00
Sunil Mohan Adapa
cea43f5a01 Added Telugu translation in po-properties and re-enabled Telugu. 2005-08-04 17:37:29 +00:00
Matthias Clasen
c1eb55bef1 Require cairo 0.6 2005-08-04 17:17:13 +00:00
Christian Persch
0cb88f61f5 Remove "te" since it breaks the build.
2005-08-04  Christian Persch  <chpe@cvs.gnome.org>

	* configure.in: Remove "te" since it breaks the build.
2005-08-04 16:55:13 +00:00
Sunil Mohan Adapa
a7f6a56d56 Added Telugu translations done by Prajasakti Localisation Team <localisation@prajasakti.com>. 2005-08-04 16:17:03 +00:00
Tor Lillqvist
0332e716dd Reflect the change of the default theme' name to "Raleigh". Include the
2005-08-04  Tor Lillqvist  <tml@novell.com>

	* gtk-zip.sh.in: Reflect the change of the default theme' name
	to "Raleigh". Include the MS-Windows theme's gtkrc file. Include the
	theme engine DLLs.
2005-08-04 10:00:56 +00:00
Matthias Clasen
375d7e46b2 Bump version 2005-08-03 19:11:30 +00:00
Matthias Clasen
80578efe33 2.7.5 2005-08-03 18:51:11 +00:00
Matthias Clasen
0d7dfb3ac0 Name fixes 2005-08-02 21:30:34 +00:00
Matthias Clasen
83e654c4c6 Updates 2005-08-02 21:27:46 +00:00
Matthias Clasen
20455969df Fix a typo, spotted by David Odin.
2005-08-01  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkfixed.c (gtk_fixed_put): Fix a typo, spotted by
	David Odin.
2005-08-02 03:49:39 +00:00
Matthias Clasen
306011d26a Rename the default theme to "Raleigh". (#312254, Thomas Wood)
2005-08-01  Matthias Clasen  <mclasen@redhat.com>

	* gtk/Makefile.am (install-data-local):
	* gtk/gtksettings.c (gtk_settings_class_init): Rename the
	default theme to "Raleigh".  (#312254, Thomas Wood)
2005-08-01 19:21:00 +00:00
Matthias Clasen
9cffa70148 Create the icon window with the correct dimensions. (#312256, Mike
2005-08-01  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkdnd.c (set_icon_stock_pixbuf): Create the icon window
	with the correct dimensions.  (#312256, Mike Morrison)
2005-08-01 17:02:49 +00:00
Matthias Clasen
888ef22258 Remove G_GNUC_NULL_TERMINATED here as well.
2005-08-01  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtktextbuffer.h:
	* gtk/gtk.symbols: Remove G_GNUC_NULL_TERMINATED here
	as well.
2005-08-01 16:57:42 +00:00
Matthias Clasen
b9abf2e40e Update tooltips when reconnecting toolitems. (#312173, Alex Graveley)
2005-08-01  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkuimanager.c (update_node): Update tooltips when
	reconnecting toolitems.  (#312173, Alex Graveley)
2005-08-01 16:24:30 +00:00
Matthias Clasen
6bd98ba0f9 Define the hint styles to make building against fc < 2.2.92 work.
2005-08-01  Matthias Clasen  <mclasen@redhat.com>

	* gdk/x11/gdkxftdefaults.c: Define the hint styles to make
	building against fc < 2.2.92 work.  (#311839, Damien Carbery)
2005-08-01 16:11:38 +00:00
Matthias Clasen
5d7b721b27 Make tracking the on_all_desktops state work better.
2005-08-01  Matthias Clasen  <mclasen@redhat.com>

	* gdk/x11/gdkevents-x11.c (gdk_check_wm_desktop_changed): Make
	tracking the on_all_desktops state work better.

	* gdk/x11/gdkwindow-x11.c (gdk_x11_window_move_to_current_desktop):
	Don't do anything if the window is on all desktops.  (#311803,
	Elijah Newren)
2005-08-01 16:01:24 +00:00
Dom Lachowicz
810dd32d65 part of bug #168326 2005-08-01 15:29:54 +00:00
Matthias Clasen
04135812bd Don't leak atom names. (#311933, Peter Zelezny)
2005-08-01  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkclipboard.c (gtk_clipboard_set_image)
	(gtk_clipboard_set_text): Don't leak atom names.  (#311933,
	Peter Zelezny)
2005-08-01 14:21:14 +00:00
Matthias Clasen
888e68c28d Call gettext_initialization() here as well. (#311612, Dan Winship)
2005-08-01  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkmain.c (do_post_parse_initialization): Call
	gettext_initialization() here as well.  (#311612, Dan Winship)
2005-08-01 13:52:29 +00:00
Tor Lillqvist
2aec0359db Implement using FlashWindowEx(). (#309423)
2005-08-01  Tor Lillqvist  <tml@novell.com>

	* gdk/win32/gdkwindow-win32.c (gdk_window_set_urgency_hint):
	Implement using FlashWindowEx(). (#309423)
2005-08-01 07:19:15 +00:00
Hans Breuer
164bbb3d1a updated
2005-07-30  Hans Breuer  <hans@breuer.org>

	* gtk/makefile.msc.in tests/makefile.msc : updated
2005-07-30 18:53:44 +00:00
Johan Dahlin
aadb880f7f Do not use | G_PARAM_STATIC_NAME in the type field, makes subclassing
* gtk/gtkctree.c (gtk_ctree_class_init): Do not use |
    G_PARAM_STATIC_NAME in the type field, makes subclassing possible.
2005-07-30 14:46:55 +00:00
Tor Lillqvist
406038dd83 Cosmetic change to my last entry. 2005-07-30 05:54:55 +00:00
Claudio Saavedra
70aaf163ae Declaring the GtkActionEntry arrays static const. Fixes #301612.
2005-07-29  Claudio Saavedra  <csaavedra@alumnos.utalca.cl>

        * docs/reference/gtk/migrating-GtkAction.sgml: Declaring the
        GtkActionEntry arrays static const. Fixes #301612.
2005-07-29 18:28:19 +00:00
J. Ali Harlow
8e40259feb Include gtkwin32embed.h in EXTRA_DIST unconditionally. Fixes #311972.
2005-07-29  J. Ali Harlow  <ali@juiblex.co.uk>

        * gtk/Makefile.am: Include gtkwin32embed.h in EXTRA_DIST
	unconditionally. Fixes #311972.
2005-07-29 14:06:02 +00:00
Federico Mena Quintero
b4f52020f0 Update for the new API of the profiler.
2005-07-28  Federico Mena Quintero  <federico@ximian.com>

	* perf/README: Update for the new API of the profiler.

	* perf/gtkwidgetprofiler.[ch]: New files with a widget profiler
	object.  This is the old content of timers.[ch] turned into a nice
	object, with signals for creation and reporting.  The profiler
	needs to maintain some state when reusing the widget, so it's
	useful to turn it into a real object.

	Break down timing show_all into GTK_WIDGET_PROFILER_REPORT_MAP and
	GTK_WIDGET_PROFILER_REPORT_EXPOSE.

	* perf/main.c: Refactor to use GtkWidgetProfiler.

	* perf/appwindow.c (content_area_new): Make this just create a
	notebook, instead of a complex arrangement of panes.

	* perf/widgets.h: New header file for all the "create a widget"
	utility functions.

	* perf/treeview.c: New file.  Moved the tree view part from
	appwindow.c over to here; GtkTreeView really needs its own tests.
	(tree_view_new): Set the shadow type to IN.

	* perf/textview.c: Likewise moved over from appwindow.c, but for
	GtkTextView.
	(text_view_new): Set the shadow type to IN.

	* perf/Makefile.am (testperf_SOURCES): Add the new source files;
	remove appwindow.h and timers.[ch].

	* perf/timers.[ch]: Removed.

	* perf/appwindow.h: Removed.
2005-07-29 00:38:51 +00:00
Tor Lillqvist
375cb32bc1 Cosmetics. 2005-07-29 00:35:21 +00:00
Tor Lillqvist
bdc7c892ca Remove ifdeffed out code relating to the gdk-ping message. Use the global
2005-07-29  Tor Lillqvist  <tml@novell.com>

	* gdk/win32/gdkevents-win32.c: Remove ifdeffed out code relating
	to the gdk-ping message. Use the global _gdk_display instead of
	calling gdk_display_get_default() which would return _gdk_display
	anyway.

	(append_event, apply_filters, gdk_event_translate): Drop any
	GdkDisplay parameter as we only have one display anyway. Use
	_gdk_display where needed.

	(gdk_event_apply_filters): Delete, move the code into its only
	caller, apply_filters().

	(generate_button_event): Factor out code from two places in
	gdk_event_translate().

	(gdk_event_translate): Call generate_button_event() in place of
	inline code.
2005-07-29 00:23:03 +00:00
Tor Lillqvist
8ac2c72f10 New static function to generate and append the GDK_GRAB_BROKEN events.
2005-07-29  Tor Lillqvist  <tml@novell.com>

	* gdk/win32/gdkevents-win32.c (generate_grab_broken_event): New
	static function to generate and append the GDK_GRAB_BROKEN events.

	(gdk_pointer_grab, gdk_keyboard_grab): Generate grab broken events
	when overriding a grab inside the application, like in the X11
	backend. Final bits of the fix for #107320, hopefully.

	(print_event): Handle also GDK_SETTING, GDK_OWNER_CHANGE and
	GDK_GRAB_BROKEN events.

	(gdk_event_translate): Call generate_grab_broken_event() in place
	of inline code.
2005-07-28 23:21:57 +00:00
Tor Lillqvist
c06f82f251 Rename from blit_inside_window(), as it now does blitting inside a bitmap,
2005-07-29  Tor Lillqvist  <tml@novell.com>

	* gdk/win32/gdkdrawable-win32.c (blit_inside_drawable): Rename
	from blit_inside_window(), as it now does blitting inside a
	bitmap, too. No code change, still just call BitBlt().
	(_gdk_win32_blit): Check for source equalling destination
	first. (#169508, #131977)
	Do away with the superfluous local draw_impl variable, the
	parameter to this function is already a GdkDrawableImplWin32*, no
	need to copy and cast it.
2005-07-28 22:24:19 +00:00
Robert Ögren
6702150903 Avoid spurious core pointer events when the tablet pen is lifted.
2005-07-28  Robert Ögren  <gtk@roboros.com>

	Avoid spurious core pointer events when the tablet pen is lifted.
	(#167000)

	* gdk/win32/gdkinput-win32.c (set_ignore_core): New static function,
	handles delayed unsetting of _gdk_input_ignore_core.
	(_gdk_input_other_event): Call set_ignore_core instead of setting
	_gdk_input_ignore_core directly.
2005-07-28 21:53:07 +00:00
Dom Lachowicz
3d14f381b7 re-sync with gtk-wimp cvs 2005-07-28 12:24:25 +00:00
Tor Lillqvist
23d233d937 Handle PS_ALTERNATE, too.
2005-07-27  Tor Lillqvist  <tml@novell.com>

	* gdk/win32/gdkmain-win32.c (_gdk_win32_psstyle_to_string): Handle
	PS_ALTERNATE, too.

	* gdk/win32/gdkmain-win32.c (gdk_screen_get_height_mm): Fix for
	multi-monitor cases. (#311677, Tim Evans)
2005-07-27 06:28:20 +00:00
Owen Taylor
cd2ff9ab02 Fix to be monotonic in the original size (#308145, Morten Welinder)
2005-07-26  Owen Taylor  <otaylor@redhat.com>

        * gtk/gtknotebook.c (gtk_notebook_page_allocate): Fix to be
        monotonic in the original size (#308145, Morten Welinder)
2005-07-27 00:00:05 +00:00
Owen Taylor
dbadd50ad7 Use >= not > in deciding whether to subtract out x/ythickness. (#308145,
2005-07-26  Owen Taylor  <otaylor@redhat.com>

        * gtk/gtknotebook.c (gtk_notebook_page_allocate): Use
        >= not > in deciding whether to subtract out x/ythickness.
        (#308145, Morten Welinder)
2005-07-26 23:58:01 +00:00
Elijah Newren
e2d2d159ca Revert part of patch from #166379; don't have gtk_window_present() change
2005-07-26  Elijah Newren  <newren@gmail.com>

	Revert part of patch from #166379; don't have gtk_window_present()
	change a window's desktop, but rather leave it up to the WM.
	(#311653)

	* gtk/gtkwindow.c (gtk_window_present_with_time): Don't change a
	window's workspace
2005-07-26 23:46:55 +00:00
Tor Lillqvist
624016fee6 Declare GetAncestor() and define GA_PARENT if missing (MSVC6). (#311633)
2005-07-26  Tor Lillqvist  <tml@novell.com>

	* gtk/gtkplug-win32.c: Declare GetAncestor() and define GA_PARENT
	if missing (MSVC6). (#311633)
2005-07-26 20:42:18 +00:00
Federico Mena Quintero
4b4c0fe86c New directory with the start of a framework for testing performance in
2005-07-26  Federico Mena Quintero  <federico@ximian.com>

	* perf/: New directory with the start of a framework for testing
	performance in GTK+.

	* Makefile.am (SRC_SUBDIRS): Added the perf directory.

	* configure.in (AC_OUTPUT): Generate perf/Makefile.
2005-07-26 18:46:01 +00:00
Matthias Clasen
98a1367afe Fix up includes on Win32. (#311630, Kazuki Iwamoto)
2005-07-26  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkfilechooserdefault.c: Fix up includes on Win32.
	(#311630, Kazuki Iwamoto)
2005-07-26 18:43:27 +00:00
Matthias Clasen
31329ec363 Add ISO_Level3_Shift to the list of keysyms to ignore for composition,
2005-07-26  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkimcontextsimple.c: Add ISO_Level3_Shift to
	the list of keysyms to ignore for composition, since
	AltGr keys produce it in some keyboard layouts.  (#307283)
2005-07-26 15:56:50 +00:00
Matthias Clasen
2e64df4035 Remove G_GNUC_NULL_TERMINATED from gtk_widget_new as well, pointed out by
2005-07-26  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkwidget.h:
	* gtk/gtk.symbols: Remove G_GNUC_NULL_TERMINATED from
	gtk_widget_new as well, pointed out by Kjartan Maraas.
2005-07-26 15:02:23 +00:00
Matthias Clasen
ad476671c1 Pad out the full width, in an attempt to work around bug #311225.
2005-07-25  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkhsv.c (paint_triangle): Pad out the full width, in
	an attempt to work around bug #311225.
2005-07-25 20:25:43 +00:00