Commit Graph

21407 Commits

Author SHA1 Message Date
Federico Mena Quintero
4a37452434 Use g_debug() instead of meta_topic() 2010-06-10 15:58:48 -05:00
Federico Mena Quintero
d279df9271 No need for util.h in gradient.c 2010-06-10 15:40:15 -05:00
Federico Mena Quintero
7cef42c934 Copy gradient.[ch] from Mutter's sources 2010-06-10 15:36:54 -05:00
Federico Mena Quintero
2a2795fe6e Remove usage of meta_rect()
This was just of the form

  MetaRectangle r = meta_rect (x, y, w, h);

But it was now superfluous in a couple of cases where we could
just use the GdkRectangle that we already had (i.e. without
having to create a new MetaRectangle), and in another
case where all fields were set to zero.

And lo and behold, we actually don't need any meta_rectangle_*()
functions in the theme code.
2010-06-10 15:17:31 -05:00
Federico Mena Quintero
a56ab0ab98 Use GdkRectangle instead of MetaRectangle
Both use int x/y/width/height anyway.  We'll add whatever
meta_rectangle_*() functions are missing in GTK+ for
the theming code to work.
2010-06-10 15:12:20 -05:00
Federico Mena Quintero
fd7629677e Copy the theme renderer and parser from Mutter's sources
We will refactor these to work for GTK+.
2010-06-10 14:59:23 -05:00
Federico Mena Quintero
8b2f6bc673 Merge remote branch 'origin/client-side-decorations' into client-side-decorations 2010-06-09 16:43:25 -05:00
Cody Russell
68a12cf28c RGBA blacklist support. 2010-06-08 17:39:05 -05:00
Federico Mena Quintero
6da936a452 Merge master into client-side-decorations 2010-06-08 15:30:19 -05:00
Seán de Búrca
9959986ecd Updated Irish translation 2010-06-08 12:35:54 -06:00
Federico Mena Quintero
2f990d4726 bgo#608537 - Make the file chooser's sort arrows consistent with the HIG
... Although I think the HIG gets things backwards anyway.

Signed-off-by: Federico Mena Quintero <federico@novell.com>
2010-06-08 12:09:48 -05:00
Matthias Clasen
4603196287 Updates 2010-06-08 12:03:09 -04:00
Matthias Clasen
2d9b7335bf Bump the gobject-introspection requires 2010-06-08 10:27:53 -04:00
Richard Hughes
b32ef72ea5 Get one step closer to fixing the gobject-introspection compile failure 2010-06-08 14:07:46 +01:00
Matthias Clasen
79b161f709 Use gtk_action_group_get_action when looking up actions
...instead of open-coding it. Pointed out by Christian Persch
in bug 620960
2010-06-08 09:03:07 -04:00
Matthias Clasen
cca298ad7d Remove debug spew 2010-06-08 08:58:16 -04:00
Matthias Clasen
b366ae9c22 Update to GApplication api changes 2010-06-08 08:29:01 -04:00
John (J5) Palmieri
0491b409a9 add transfer-none to return value of gtk_widget_get_window 2010-06-07 18:21:21 -04:00
Steve Frécinaux
586d60dbee [gdkevents] Add annotations for GdkEvent getters. 2010-06-08 00:00:28 +02:00
Steve Frécinaux
046069d918 [gtktextbuffer] Annotate gtk_text_buffer_create_mark()
Add (transfer none) to the return value of gtk_text_buffer_create_mark(),
as the documentation clearly states the caller doesn't have ownership of
the returned value.
2010-06-08 00:00:28 +02:00
Matthias Clasen
1ae257d00a Add GtkApplication
This is a work in progress to stub out an application class. The
primary goal is to provide a mechanism for applications to export
GtkActions, and there is a standard "Quit" action.

This is based on GApplication.

Future work:
 * Add a way to say "This is my application menubar", which gets
   put into all toplevel windows on non-OS-X, and into the top
   on OS X.
 * Support session management.
 * Support application settings.

https://bugzilla.gnome.org/show_bug.cgi?id=127958
2010-06-07 16:46:30 -04:00
John (J5) Palmieri
2c5871479e annotate allow-none for gtk_image_menu_item_new_from_stock accel_group param 2010-06-07 16:15:39 -04:00
John (J5) Palmieri
0d2366d5eb add allow-none annotation to gtk_clipboard_set_can_store's targets parameter 2010-06-07 13:15:27 -04:00
Marek Kasik
ca6aacc32d Return error instead of showing an error dialog when printing
Remove message dialogs showing an error when printing. Return
GTK_PRINT_OPERATION_RESULT_ERROR and set error in such a case.
Also return GTK_PRINT_OPERATION_RESULT_CANCEL when cancelled.
Do it for synchronous and asynchronous cases (#549127).
2010-06-07 14:52:38 +02:00
Tomeu Vizoso
42deb581f9 Split gdk x11 funcs to their own typelib
https://bugzilla.gnome.org/show_bug.cgi?id=617863
2010-06-07 14:06:21 +02:00
Sven Herzberg
5300dc2b36 drop the draw_string() function from GtkStyle
Reviewed by Michael Natterer.

* gtk/gtkstyle.c,
* gtk/gtkstyle.h: gdk_draw_string() has been deprecated and removed
  already. There's no one left who should be using this function
  (found this when porting sapwood to GTK+ 3.0)
* modules/engines/pixbuf/pixbuf-draw.c: don't implement this unused
  function
2010-06-07 13:56:10 +02:00
Matthias Clasen
7644ac519a Fix up abi checking
The abicheck script was hardcoding assumptions about XI2 being used,
making it fail on e.g. RHEL5.
2010-06-07 06:16:21 -04:00
Javier Jardón
da8643e457 Remove some GTK_DISABLE_DEPRECATED and ENABLE_BROKEN guards 2010-06-07 04:50:05 +02:00
Javier Jardón
47f8beb0a6 Remove gdkx_colormap_get() deprecated function 2010-06-07 04:37:06 +02:00
Matthias Clasen
25864cf0ce Make gdk build against old X headers
The XI.h in RHEL5 is missing some defines that are used
in the new device code.
2010-06-06 19:40:20 -04:00
Javier Jardón
2ace397eb5 Remove deprecatedd code from GdkColor
https://bugzilla.gnome.org/show_bug.cgi?id=619649
2010-06-07 00:35:40 +02:00
Kristjan Schmidt
a18f23c478 Updated Esperanto translation 2010-06-06 21:23:45 +02:00
Kristjan Schmidt
38abc03af4 Updated Esperanto translation 2010-06-06 21:23:45 +02:00
Kristjan Schmidt
98f3226fb7 Updated Esperanto translation 2010-06-06 21:23:45 +02:00
Javier Jardón
917cd2ce3e Bump Glib required version as is needed by g_source_set_name()
The use of this new api was added in
95bc0f5405
2010-06-05 04:38:40 +02:00
Christian Dywan
35be520983 Make progressbars render progress again
This was broken during some earlier deprecation cleanup.
Bug 620509.
2010-06-04 20:03:19 -04:00
Matthias Clasen
db21688908 Remove remaining single-include guards 2010-06-04 19:40:43 -04:00
Matthias Clasen
9f873fa7bc Don't install private headers 2010-06-04 19:28:01 -04:00
Stanislas Marquis
fe8d093a3c [docs] Fix GtkWindow: activate-default => activate-focus.
Signed-off-by: Javier Jardón <jjardon@gnome.org>
2010-06-05 00:45:37 +02:00
Matthias Clasen
233388e693 Fix a parameter name mismatch 2010-06-04 16:15:58 -04:00
Matthias Clasen
14118a5697 Add a few missing symbols 2010-06-04 16:14:52 -04:00
Matthias Clasen
dbe82e0e83 Fix a doc comment typo 2010-06-04 16:13:34 -04:00
Javier Jardón
a277789270 [docs] gtktoolshell: Fix some "Since" tags
get_ellipsize_mode(), get_text_alignment(), get_text_orientation()
and get_text_size_group() were added in GTK+ 2.20,  not 2.14.

Reported by Stanislas Marquis on IRC.
2010-06-04 17:54:56 +02:00
Colin Walters
95bc0f5405 Use g_source_set_name for all custom GSources in GTK+
Naming the sources allows easier debugging with e.g. SystemTap
probes.

https://bugzilla.gnome.org/show_bug.cgi?id=620511
2010-06-03 21:49:22 -04:00
Matthias Clasen
b96a05b81f Silence a few warnings in !HAVE_RANDR builds 2010-06-03 20:24:54 -04:00
Tadej Borovšak
2c8e635a62 [docs] Improve GtkAction documentation
Simple GtkAction API docs update that makes it easier to understand
how action affects the appearance of proxy.

Signed-off-by: Javier Jardón <jjardon@gnome.org>
2010-06-04 00:06:05 +02:00
Matthew Barnes
bb5c585777 Bug 596428 - GtkAssistant: Support ending with a progress page
- Add gtk_assistant_commit()

  This function discards the visited pages list so the back button is not
  shown on the current page, and removes the cancel button from subsequent
  pages.  Use this when information provided thus far cannot be revisited.

- Don't show the Forward button on a GTK_ASSISTANT_PAGE_PROGRESS if it's
  the last page (according to the forward page function).

- Append a progress page to the GtkAssistant demo.
2010-06-03 17:03:14 -04:00
Matthias Clasen
112d97d498 Silence a few configure warnings about datarootdir 2010-06-03 13:38:15 -04:00
Matthias Clasen
354086bafc Fix a typo 2010-06-03 13:36:09 -04:00
Matthias Clasen
974d7137a0 Avoid a 'EXTRA_DIST multiply defined' warning 2010-06-03 13:22:31 -04:00