Benjamin Otte
392c0dc145
paned: Implement get_width_for_height() and get_height_for_width()
2011-04-19 22:18:17 +02:00
Benjamin Otte
a45c599543
paned: Generalize code
...
No semantic changes, just splitting out a common function and passing a
-1 around.
2011-04-19 22:18:17 +02:00
Gintautas Miliauskas
09cbf24e72
Updated Lithuanian translation.
2011-04-19 13:59:58 +02:00
Javier Jardón
5f3e73eae3
Move documentation to inline comments: GtkRc
...
The last one!
2011-04-19 11:51:06 +01:00
Lapo Calamandrei
ce80929b83
[broadway] New adwaita based css for "wm"
...
Created by Lapo Calamandrei.
2011-04-19 08:30:21 +02:00
Alexander Larsson
dc56a51cec
[broadway] Remove debug spew
2011-04-18 20:51:53 +02:00
Alexander Larsson
cfd8150759
[broadway] Use cairo to generate png uris
2011-04-18 20:51:53 +02:00
Alexander Larsson
0abd5e2767
[broadway] Stream data over websocket
...
The zlib compressed xmlhttprequest thing was a nice hack, but it doesn't
really work in production. Its not portable, doesn't have enought API
(missing notification for closed sockets) and having to synchronize
between two different connections in a reliable way is a pain.
So, we're going everything over the websocket. This is a pure switch,
but after this we want to modify the protocol to work better over
the uncompressed utf8 transport of websockets.
2011-04-18 20:51:53 +02:00
Alexander Larsson
2cb9ce954e
[broadway] Remove old demo code
2011-04-18 20:51:53 +02:00
Javier Jardón
edd186e274
Move documentation to inline comments: GtkUIManager
2011-04-18 18:55:34 +01:00
Alexander Larsson
02e9b97981
[broadway] Implement wm close in browser
2011-04-18 11:50:29 +02:00
Alexander Larsson
52074b4cac
[broadway] Report most special keys in keypressed
...
Some special key keycode values as seen in keydown actually match
normal keys (like "." has a keyCode 46 on keyPress, which is the same
as Delete, but 190 for KeyDown). So we must match the special keys on
keypress. However, some things must be checked on keydown as they are not
generating keypress events.
2011-04-18 10:55:41 +02:00
David King
e279210522
widget: add Since tags for margin accessors
2011-04-18 08:22:54 +02:00
Matthias Clasen
dd73be389b
Fix commit 5f55c42047
...
Make gtk_menu_shell_activate static and don't use it
outside gtkmenushell.c
2011-04-17 23:15:06 -04:00
Chun-wei Fan
c4010ec039
Update build/win32/vs9/README.txt
...
Update again due to the usage of ATK-2.x to avoid confusion
about its usage in compilation...
2011-04-18 10:16:01 +08:00
Javier Jardón
5ae68baaf2
docs: Remove no longer needed template files
2011-04-18 02:08:38 +01:00
Javier Jardón
d2d42f9bfc
Move documentation to inline comments: GtkMenuItem
2011-04-18 02:08:37 +01:00
Javier Jardón
93522ce25f
Move documentation to inline comments: GtkFontSelectionDialog
2011-04-18 02:08:37 +01:00
Javier Jardón
9d63d16e3e
Move documentation to inline comments: GtkWindowGroup
2011-04-18 02:08:37 +01:00
Javier Jardón
f7b7e8a6b8
Move documentation to inline comments: GtkDnd
2011-04-18 02:08:37 +01:00
Javier Jardón
911ae50956
Move documentation to inline comments: GtkTreeModelSort
2011-04-18 02:08:37 +01:00
Javier Jardón
b83a4f2e1d
Move documentation to inline comments: GtkToggleButton
2011-04-18 02:08:37 +01:00
Javier Jardón
5ff0fb6bbd
Move documentation to inline comments: GtkSizeGroup
2011-04-18 02:08:37 +01:00
Javier Jardón
0553a5524d
Move documentation to inline comments: GtkTextBuffer
2011-04-18 02:08:36 +01:00
Javier Jardón
138409faae
Move documentation to inline comments: GtkPrintUnixDialog
2011-04-18 02:08:36 +01:00
Javier Jardón
14f12a4b1b
Move documentation to inline comments: GtkPrintSettings
2011-04-18 02:08:36 +01:00
Javier Jardón
25c2569a5d
Move documentation to inline comments: GtkPrintContext
2011-04-18 02:08:36 +01:00
Javier Jardón
c029306b4c
Move documentation to inline comments: GtkRadioMenuItem
2011-04-18 02:08:36 +01:00
Javier Jardón
c9af14678e
Move documentation to inline comments: GtkTextMark
2011-04-18 02:08:36 +01:00
Javier Jardón
7ee963c260
Move documentation to inline comments: GtkRadioToolButton
2011-04-18 02:08:36 +01:00
Chun-wei Fan
b810bc88ec
Update VS 2008 support to use ATK-2.0
...
-Update GTK+ project and property sheet to use ATK-2.0.
-Tell people about this in the README.txt file
2011-04-18 01:57:37 +08:00
Chun-wei Fan
11ba5c209b
Update build/win32/vs9/README.txt
...
Make the VS 2008 build instructions and information
more up-to-date and clearer to people.
Please let me know if I have missed any needed details...
Thanks
2011-04-18 00:17:51 +08:00
Paolo Borelli
1ad1c33f52
Small cleanup in label sizing code.
...
Move ellipsized_chars calculation in the scope where it is used.
https://bugzilla.gnome.org/show_bug.cgi?id=647284
2011-04-17 17:23:26 +02:00
Paolo Borelli
af7650ce1f
Factor out a get_char_pixels method for clarity.
...
https://bugzilla.gnome.org/show_bug.cgi?id=647284
2011-04-17 17:16:47 +02:00
Ignacio Casal Quinteiro
76a571b61e
[textview] remove idles when unmapping
...
This avoids the textview taking the whole cpu when it is hidden.
2011-04-17 16:10:48 +02:00
Benjamin Otte
49c7869582
docs fix typo
...
Was accidentally introduced in 1351d40cfe
Thanks Paolo for noticing.
2011-04-17 12:49:58 +02:00
Kristian Rietveld
874dfc24b2
treeview: Do not unconditionally set width_changed to TRUE, which redraws
...
Patches by Benjamin Otte.
The "invalidate last column" hack is removed. It is now of no use since
the entire widget will be redrawn when a single column changes.
2011-04-17 01:14:51 +02:00
Kristian Rietveld
4d5d915afe
treeview: if we are below rows that changed height: redraw
...
We have to redraw if we are below a couple of rows that changed height
in do_validate_rows(). This will still require a redraw for a large
amount of cases, can we do better? You would expect that a redraw of
the tree view is not required when the dy changes with the same delta
as the delta of the height accrued when validating the nodes. This
further optimization will likely require changes to the top_row/dy
synchronization code.
2011-04-17 01:14:51 +02:00
Kristian Rietveld
4594370b46
treeview: Avoid queueing a redraw in do_validate_rows()
...
If the changed rows are not visible, we likely do not have to redraw
in conjunction to resize. Spotted by Benjamin Otte.
2011-04-17 01:14:51 +02:00
Benjamin Otte
a5e1337ad7
cssprovider: Move private struct definition to header
...
consistency, improved debugging, etc
2011-04-16 22:31:25 +02:00
Benjamin Otte
1351d40cfe
entry: Fix gtk_entry_get_icon_at_pos()
...
The passed in coordinates are widget-relative, not window-relative.
2011-04-16 22:31:24 +02:00
Benjamin Otte
f2a20cd9fd
entry: Use the new get_frame_size() argument in gtk_entry_draw_frame()
2011-04-16 22:31:24 +02:00
Benjamin Otte
fd9aac8225
entry: Add the ability to query frame size in two ways
...
TRUE: relative to widget->window
FALSE: relative to widget
For now, no caller has beeen changed.
2011-04-16 22:31:24 +02:00
Benjamin Otte
7ef113ce56
window: Only draw the resize grip if it is actually visible
...
This issue can only be seen if someone calls gtk_widget_draw() on the
window as otherwise gtk_cairo_should_draw_window() would return FALSE.
2011-04-16 22:31:24 +02:00
Benjamin Otte
71e9606e16
docs: Fix wrong description for query-tooltip
...
Coordinates are not relative to widget->window
2011-04-16 22:31:24 +02:00
Benjamin Otte
e29cceb391
menushell: Include a function in the private header
...
Don't copy over the implementation. This avoids a copy of the function.
Reverts 0098344f84
.
2011-04-16 22:28:40 +02:00
Benjamin Otte
6b712ac93b
window: cast value so gcc shuts up
2011-04-16 22:06:41 +02:00
Kristian Rietveld
84ebafc305
Merge two if-blocks with same condition
2011-04-16 20:16:03 +02:00
Xavier Claessens
00fa4a2fc0
Do not call invalidate_empty_focus() when not realized
...
Fixes bug 626503
2011-04-16 20:13:51 +02:00
Stéphane Maniaci
e3ce60cc2d
Make GtkFileChoser remember the last directory opened
...
Introduces a 'last-folder-uri' GSettings key, where we remember the last-opened
folder from the previous instance of the file chooser.
The idea is that this works globally, across all applications, so it will be
easy to do things like
1. Save an attachment from a mail (or some other file)
2. Open another program
3. Do File/Open and automatically get sent to the folder where (1) happened.
Signed-off-by: Federico Mena Quintero <federico@gnome.org>
https://bugzilla.gnome.org/show_bug.cgi?id=644426
2011-04-15 15:34:22 -05:00