]> Pileus Git - ~andy/gtk/log
~andy/gtk
13 years agoVS2010 support-update property sheet
Chun-wei Fan [Tue, 26 Apr 2011 17:02:07 +0000 (01:02 +0800)]
VS2010 support-update property sheet

Update the Gdk-Pixbuf 2.0 include path to be consistent with
autotools-based builds

13 years agoVS2008/2010 support: Update README.txt
Chun-wei Fan [Tue, 26 Apr 2011 16:53:16 +0000 (00:53 +0800)]
VS2008/2010 support: Update README.txt

-Make the GDK-Pixbuf requirements more clear
-Tell people about the usage of ATK-2.x

13 years agoBug 643270: VS2010 Project Files (autotools)
Chun-wei Fan [Tue, 26 Apr 2011 16:46:52 +0000 (00:46 +0800)]
Bug 643270: VS2010 Project Files (autotools)

-Update to distribute the VS2010 files.
-Added rules in Makefile.am's of GDK and GTK to fill in the
 project/filter files templates with up-to-date source file
 listings to simplify maintenace.

Any comments on the usage of the VS2010 files are welcome!

13 years agoBug 643270: VS 2010 Project Files
Chun-wei Fan [Tue, 26 Apr 2011 16:44:30 +0000 (00:44 +0800)]
Bug 643270: VS 2010 Project Files

These are the VS2010 Project files to compile GDK and GTK+, using
the Win32 backend, along with a brief README.txt explaining the
process.

The GDK and GTK project/filter files are templates that are filled
in during "make dist" with up-to-date source file listings as far
as possible, to simplify maintenance.

Comments on their usage are most welcome.

13 years agowidget: Add hack to make label mnemonics work again
Benjamin Otte [Tue, 26 Apr 2011 12:07:27 +0000 (14:07 +0200)]
widget: Add hack to make label mnemonics work again

Mnemonics for characters that go beyond the baseline (q, y, g) were not
being shown, because they are drawn outside of the label's allocated
size.
This patch just disables the clip-to-size for labels, so that the label
can draw outsize of its allocation. In most cases, that works around
this bug.

https://bugzilla.gnome.org/show_bug.cgi?id=648570

13 years agoGtkComboBox: Improve gtk_combo_box_set_active_id
Matthew Barnes [Tue, 26 Apr 2011 11:59:53 +0000 (07:59 -0400)]
GtkComboBox: Improve gtk_combo_box_set_active_id

- Passing a NULL ID string should be equivalent to
  gtk_combo_box_set_active (combo_box, -1).
- Use g_strcmp0() instead of strcmp() when comparing
  ID strings to avoid a crash when an ID is NULL.
- Return a boolean indicating if the ID was found or not.

https://bugzilla.gnome.org/show_bug.cgi?id=647806

13 years agoDesensitize "Select All" when GtkEntry is empty
Matthew Barnes [Tue, 26 Apr 2011 11:56:09 +0000 (07:56 -0400)]
Desensitize "Select All" when GtkEntry is empty

This avoids possible confusion in some situations, and
selecting an empty string is not very useful.

https://bugzilla.gnome.org/show_bug.cgi?id=647962

13 years agoGtkEntry: Explicitly disconnect keymap signals
Matthias Clasen [Tue, 26 Apr 2011 11:48:27 +0000 (07:48 -0400)]
GtkEntry: Explicitly disconnect keymap signals

Might fix https://bugzilla.gnome.org/show_bug.cgi?id=648419

13 years agoVS2008 support: Process filechooser gsettings xml
Chun-wei Fan [Mon, 25 Apr 2011 07:03:01 +0000 (15:03 +0800)]
VS2008 support: Process filechooser gsettings xml

This will copy the xml file and compile it so that the GTK+3 filechooser
can be used on Windows, especially the MSVC-compiled versions.

13 years agoAdded UG translation
Abduxukur Abdurixit [Sun, 24 Apr 2011 19:36:40 +0000 (21:36 +0200)]
Added UG translation

13 years agoAdded UG translation
Abduxukur Abdurixit [Sun, 24 Apr 2011 19:28:59 +0000 (21:28 +0200)]
Added UG translation

13 years agotests: Use gtk_box_new() instead v/h subclasses
Javier Jardón [Fri, 22 Apr 2011 13:38:40 +0000 (14:38 +0100)]
tests: Use gtk_box_new() instead v/h subclasses

13 years agolabel: Fix an invariant leading to required > minimum
Benjamin Otte [Fri, 22 Apr 2011 00:51:52 +0000 (02:51 +0200)]
label: Fix an invariant leading to required > minimum

13 years agogdk: add precondition checks to all GdkKeymap functions
Michael Natterer [Thu, 21 Apr 2011 21:54:52 +0000 (23:54 +0200)]
gdk: add precondition checks to all GdkKeymap functions

so it warns instead of simply crashing. Also fix some whitespace
stuff.

13 years agoAdding allow-none introspection annotation for GtkInitFunc parameters
Alberto Ruiz [Wed, 20 Apr 2011 19:11:11 +0000 (20:11 +0100)]
Adding allow-none introspection annotation for GtkInitFunc parameters

13 years agoAdding introspection annotation to GtkModuleIinitFunc to specify array and length...
Alberto Ruiz [Wed, 20 Apr 2011 19:06:14 +0000 (20:06 +0100)]
Adding introspection annotation to GtkModuleIinitFunc to specify array and length parameters

13 years agodocs: Do not generate the template files anymore
Javier Jardón [Tue, 19 Apr 2011 11:50:20 +0000 (12:50 +0100)]
docs: Do not generate the template files anymore

All the documentation is now in inline comments

13 years agoentry: Translate progress region properly when drawing text
Benjamin Otte [Tue, 19 Apr 2011 19:28:21 +0000 (21:28 +0200)]
entry: Translate progress region properly when drawing text

13 years agoentry: No need to queue a redraw on state changes
Benjamin Otte [Tue, 19 Apr 2011 18:07:00 +0000 (20:07 +0200)]
entry: No need to queue a redraw on state changes

GtkWidget already does that.

13 years agoentry: Also update cached style values when the state changes
Benjamin Otte [Tue, 19 Apr 2011 18:06:36 +0000 (20:06 +0200)]
entry: Also update cached style values when the state changes

13 years agoentry: Initialize cached values
Benjamin Otte [Tue, 19 Apr 2011 17:56:46 +0000 (19:56 +0200)]
entry: Initialize cached values

13 years agoentry: g_object_notify*( when we change the invisible char
Benjamin Otte [Tue, 19 Apr 2011 17:54:08 +0000 (19:54 +0200)]
entry: g_object_notify*( when we change the invisible char

13 years agoentry: Split out style-updating things into their own function
Benjamin Otte [Tue, 19 Apr 2011 17:53:10 +0000 (19:53 +0200)]
entry: Split out style-updating things into their own function

13 years agoentry: Move cairo_save() call for clarity
Benjamin Otte [Mon, 18 Apr 2011 23:13:57 +0000 (01:13 +0200)]
entry: Move cairo_save() call for clarity

We want save, clip, draw1, restore, save, clip, draw2, restore
and not save, save, clip, draw1, restore, clip, draw2, restore

Functionally the same thing, but not as obvious

13 years agoentry: Omit useless clip
Benjamin Otte [Mon, 18 Apr 2011 23:13:19 +0000 (01:13 +0200)]
entry: Omit useless clip

We do the same clip further above, so no need to repeat it

13 years agoentry: Guard clipping with a save/restore
Benjamin Otte [Mon, 18 Apr 2011 23:10:23 +0000 (01:10 +0200)]
entry: Guard clipping with a save/restore

Just t be sure, so people don't get bugs later when they refactor code.

13 years agoentry: Remove needless check
Benjamin Otte [Mon, 18 Apr 2011 22:56:16 +0000 (00:56 +0200)]
entry: Remove needless check

The only window we're ever called to draw is our own window. D'oh.

13 years agodocs: Strictify the docs for gtk_cairo_should_draw_window()
Benjamin Otte [Mon, 18 Apr 2011 22:55:03 +0000 (00:55 +0200)]
docs: Strictify the docs for gtk_cairo_should_draw_window()

We don't actually enforce the docs, but we will in the future. (in fact,
I only added this because widgets were doing stupid things.)

13 years agolabel: No need to special case single-line mode
Benjamin Otte [Mon, 18 Apr 2011 02:25:53 +0000 (04:25 +0200)]
label: No need to special case single-line mode

It's already taken care of by the layout.

13 years agolabel: Request more natural size for ellipsizing wrapping labels
Benjamin Otte [Mon, 18 Apr 2011 02:24:12 +0000 (04:24 +0200)]
label: Request more natural size for ellipsizing wrapping labels

13 years agolabel: Pass the desired height to measuring layout
Benjamin Otte [Mon, 18 Apr 2011 01:30:35 +0000 (03:30 +0200)]
label: Pass the desired height to measuring layout

We always pass -1 for now.

13 years agolabel: Remove wrap width leftovers
Benjamin Otte [Mon, 18 Apr 2011 00:40:40 +0000 (02:40 +0200)]
label: Remove wrap width leftovers

They're not used anymore, so we can just delete all of this code.

13 years agolabel: Set the height of the label when ellipsized or wrapped
Benjamin Otte [Sun, 17 Apr 2011 23:19:11 +0000 (01:19 +0200)]
label: Set the height of the label when ellipsized or wrapped

Obviously, we want to set it to the label's allocated height.

Also simplifies the size allocation code.

13 years agolabel: Don't use a rectangle variable if we don't use a rectangle
Benjamin Otte [Sun, 17 Apr 2011 22:53:24 +0000 (00:53 +0200)]
label: Don't use a rectangle variable if we don't use a rectangle

13 years agolabel: Redo size computation
Benjamin Otte [Sun, 17 Apr 2011 22:30:17 +0000 (00:30 +0200)]
label: Redo size computation

This gets use closer to the label sizing discussed on the mailing lists.

13 years agolabel: Set wrap on the layout unconditionally
Benjamin Otte [Sun, 17 Apr 2011 22:29:16 +0000 (00:29 +0200)]
label: Set wrap on the layout unconditionally

13 years agolabel: Remove duplicated comment
Benjamin Otte [Sun, 17 Apr 2011 18:54:35 +0000 (20:54 +0200)]
label: Remove duplicated comment

13 years agolabel: Don't try to guess a label's size
Benjamin Otte [Sun, 17 Apr 2011 18:35:29 +0000 (20:35 +0200)]
label: Don't try to guess a label's size

People should use window default sizes or label
width-chars/max-width-chars to find the idea layout for a label inside
of relying on magic.

13 years agowidget: Make gtk_widget_get_aux_info() private
Benjamin Otte [Sun, 17 Apr 2011 18:30:41 +0000 (20:30 +0200)]
widget: Make gtk_widget_get_aux_info() private

13 years agolabel: Don't care about aux info
Benjamin Otte [Sun, 17 Apr 2011 18:21:33 +0000 (20:21 +0200)]
label: Don't care about aux info

aux info is something that GtkWidget should do, not any of its
subclasses.

13 years agopaned: Use hfw queries during allocation
Benjamin Otte [Sun, 17 Apr 2011 23:50:52 +0000 (01:50 +0200)]
paned: Use hfw queries during allocation

13 years agopaned: Cleanup size_allocate()
Benjamin Otte [Sun, 17 Apr 2011 23:44:40 +0000 (01:44 +0200)]
paned: Cleanup size_allocate()

Don't keep the allocation in 2 variables, just keep the first one.

13 years agopaned: Implement get_width_for_height() and get_height_for_width()
Benjamin Otte [Sun, 17 Apr 2011 23:41:35 +0000 (01:41 +0200)]
paned: Implement get_width_for_height() and get_height_for_width()

13 years agopaned: Generalize code
Benjamin Otte [Sun, 17 Apr 2011 23:37:34 +0000 (01:37 +0200)]
paned: Generalize code

No semantic changes, just splitting out a common function and passing a
-1 around.

13 years agoUpdated Lithuanian translation.
Gintautas Miliauskas [Tue, 19 Apr 2011 11:59:58 +0000 (13:59 +0200)]
Updated Lithuanian translation.

13 years agoMove documentation to inline comments: GtkRc
Javier Jardón [Tue, 19 Apr 2011 00:22:24 +0000 (01:22 +0100)]
Move documentation to inline comments: GtkRc

The last one!

13 years ago[broadway] New adwaita based css for "wm"
Lapo Calamandrei [Tue, 19 Apr 2011 06:30:21 +0000 (08:30 +0200)]
[broadway] New adwaita based css for "wm"

Created by Lapo Calamandrei.

13 years ago[broadway] Remove debug spew
Alexander Larsson [Mon, 18 Apr 2011 18:40:06 +0000 (20:40 +0200)]
[broadway] Remove debug spew

13 years ago[broadway] Use cairo to generate png uris
Alexander Larsson [Mon, 18 Apr 2011 18:23:19 +0000 (20:23 +0200)]
[broadway] Use cairo to generate png uris

13 years ago[broadway] Stream data over websocket
Alexander Larsson [Mon, 18 Apr 2011 17:52:05 +0000 (19:52 +0200)]
[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.

13 years ago[broadway] Remove old demo code
Alexander Larsson [Mon, 18 Apr 2011 17:51:50 +0000 (19:51 +0200)]
[broadway] Remove old demo code

13 years agoMove documentation to inline comments: GtkUIManager
Javier Jardón [Mon, 18 Apr 2011 17:53:30 +0000 (18:53 +0100)]
Move documentation to inline comments: GtkUIManager

13 years ago[broadway] Implement wm close in browser
Alexander Larsson [Mon, 18 Apr 2011 09:50:29 +0000 (11:50 +0200)]
[broadway] Implement wm close in browser

13 years ago[broadway] Report most special keys in keypressed
Alexander Larsson [Mon, 18 Apr 2011 08:49:47 +0000 (10:49 +0200)]
[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.

13 years agowidget: add Since tags for margin accessors
David King [Sun, 17 Apr 2011 15:37:11 +0000 (17:37 +0200)]
widget: add Since tags for margin accessors

13 years agoFix commit 5f55c420471db9a05d145e140b3a7cdfc5bdba9f
Matthias Clasen [Mon, 18 Apr 2011 03:15:06 +0000 (23:15 -0400)]
Fix commit 5f55c420471db9a05d145e140b3a7cdfc5bdba9f

Make gtk_menu_shell_activate static and don't use it
outside gtkmenushell.c

13 years agoUpdate build/win32/vs9/README.txt
Chun-wei Fan [Mon, 18 Apr 2011 02:16:01 +0000 (10:16 +0800)]
Update build/win32/vs9/README.txt

Update again due to the usage of ATK-2.x to avoid confusion
about its usage in compilation...

13 years agodocs: Remove no longer needed template files
Javier Jardón [Mon, 18 Apr 2011 00:37:40 +0000 (01:37 +0100)]
docs: Remove no longer needed template files

13 years agoMove documentation to inline comments: GtkMenuItem
Javier Jardón [Mon, 18 Apr 2011 00:35:36 +0000 (01:35 +0100)]
Move documentation to inline comments: GtkMenuItem

13 years agoMove documentation to inline comments: GtkFontSelectionDialog
Javier Jardón [Mon, 18 Apr 2011 00:25:26 +0000 (01:25 +0100)]
Move documentation to inline comments: GtkFontSelectionDialog

13 years agoMove documentation to inline comments: GtkWindowGroup
Javier Jardón [Mon, 18 Apr 2011 00:21:21 +0000 (01:21 +0100)]
Move documentation to inline comments: GtkWindowGroup

13 years agoMove documentation to inline comments: GtkDnd
Javier Jardón [Mon, 18 Apr 2011 00:10:14 +0000 (01:10 +0100)]
Move documentation to inline comments: GtkDnd

13 years agoMove documentation to inline comments: GtkTreeModelSort
Javier Jardón [Sun, 17 Apr 2011 23:34:07 +0000 (00:34 +0100)]
Move documentation to inline comments: GtkTreeModelSort

13 years agoMove documentation to inline comments: GtkToggleButton
Javier Jardón [Sun, 17 Apr 2011 23:24:56 +0000 (00:24 +0100)]
Move documentation to inline comments: GtkToggleButton

13 years agoMove documentation to inline comments: GtkSizeGroup
Javier Jardón [Sun, 17 Apr 2011 23:16:25 +0000 (00:16 +0100)]
Move documentation to inline comments: GtkSizeGroup

13 years agoMove documentation to inline comments: GtkTextBuffer
Javier Jardón [Sun, 17 Apr 2011 23:12:49 +0000 (00:12 +0100)]
Move documentation to inline comments: GtkTextBuffer

13 years agoMove documentation to inline comments: GtkPrintUnixDialog
Javier Jardón [Sun, 17 Apr 2011 23:07:41 +0000 (00:07 +0100)]
Move documentation to inline comments: GtkPrintUnixDialog

13 years agoMove documentation to inline comments: GtkPrintSettings
Javier Jardón [Sun, 17 Apr 2011 23:00:27 +0000 (00:00 +0100)]
Move documentation to inline comments: GtkPrintSettings

13 years agoMove documentation to inline comments: GtkPrintContext
Javier Jardón [Sun, 17 Apr 2011 22:54:00 +0000 (23:54 +0100)]
Move documentation to inline comments: GtkPrintContext

13 years agoMove documentation to inline comments: GtkRadioMenuItem
Javier Jardón [Sun, 17 Apr 2011 22:42:17 +0000 (23:42 +0100)]
Move documentation to inline comments: GtkRadioMenuItem

13 years agoMove documentation to inline comments: GtkTextMark
Javier Jardón [Sun, 17 Apr 2011 22:34:41 +0000 (23:34 +0100)]
Move documentation to inline comments: GtkTextMark

13 years agoMove documentation to inline comments: GtkRadioToolButton
Javier Jardón [Fri, 15 Apr 2011 16:26:46 +0000 (17:26 +0100)]
Move documentation to inline comments: GtkRadioToolButton

13 years agoUpdate VS 2008 support to use ATK-2.0
Chun-wei Fan [Sun, 17 Apr 2011 17:57:37 +0000 (01:57 +0800)]
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

13 years agoUpdate build/win32/vs9/README.txt
Chun-wei Fan [Sun, 17 Apr 2011 16:17:51 +0000 (00:17 +0800)]
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

13 years agoSmall cleanup in label sizing code.
Paolo Borelli [Sun, 17 Apr 2011 15:23:26 +0000 (17:23 +0200)]
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

13 years agoFactor out a get_char_pixels method for clarity.
Paolo Borelli [Sat, 9 Apr 2011 20:19:51 +0000 (22:19 +0200)]
Factor out a get_char_pixels method for clarity.

https://bugzilla.gnome.org/show_bug.cgi?id=647284

13 years ago[textview] remove idles when unmapping
Ignacio Casal Quinteiro [Sun, 17 Apr 2011 14:08:55 +0000 (16:08 +0200)]
[textview] remove idles when unmapping

This avoids the textview taking the whole cpu when it is hidden.

13 years agodocs fix typo
Benjamin Otte [Sun, 17 Apr 2011 10:49:58 +0000 (12:49 +0200)]
docs fix typo

Was accidentally introduced in 1351d40cfe0df7e1d12017af4323fb3ab73b19d2

Thanks Paolo for noticing.

13 years agotreeview: Do not unconditionally set width_changed to TRUE, which redraws
Kristian Rietveld [Tue, 5 Apr 2011 19:13:43 +0000 (21:13 +0200)]
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.

13 years agotreeview: if we are below rows that changed height: redraw
Kristian Rietveld [Tue, 5 Apr 2011 19:09:10 +0000 (21:09 +0200)]
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.

13 years agotreeview: Avoid queueing a redraw in do_validate_rows()
Kristian Rietveld [Tue, 5 Apr 2011 19:06:02 +0000 (21:06 +0200)]
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.

13 years agocssprovider: Move private struct definition to header
Benjamin Otte [Wed, 6 Apr 2011 14:10:25 +0000 (16:10 +0200)]
cssprovider: Move private struct definition to header

consistency, improved debugging, etc

13 years agoentry: Fix gtk_entry_get_icon_at_pos()
Benjamin Otte [Sat, 16 Apr 2011 19:59:36 +0000 (21:59 +0200)]
entry: Fix gtk_entry_get_icon_at_pos()

The passed in coordinates are widget-relative, not window-relative.

13 years agoentry: Use the new get_frame_size() argument in gtk_entry_draw_frame()
Benjamin Otte [Sat, 16 Apr 2011 19:51:41 +0000 (21:51 +0200)]
entry: Use the new get_frame_size() argument in gtk_entry_draw_frame()

13 years agoentry: Add the ability to query frame size in two ways
Benjamin Otte [Sat, 16 Apr 2011 19:49:01 +0000 (21:49 +0200)]
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.

13 years agowindow: Only draw the resize grip if it is actually visible
Benjamin Otte [Sat, 16 Apr 2011 19:48:05 +0000 (21:48 +0200)]
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.

13 years agodocs: Fix wrong description for query-tooltip
Benjamin Otte [Sat, 16 Apr 2011 20:01:18 +0000 (22:01 +0200)]
docs: Fix wrong description for query-tooltip

Coordinates are not relative to widget->window

13 years agomenushell: Include a function in the private header
Benjamin Otte [Thu, 14 Apr 2011 13:28:40 +0000 (15:28 +0200)]
menushell: Include a function in the private header

Don't copy over the implementation. This avoids a copy of the function.
Reverts 0098344f84cedb6347fc99691f6e3d358ec112e7.

13 years agowindow: cast value so gcc shuts up
Benjamin Otte [Thu, 14 Apr 2011 13:28:21 +0000 (15:28 +0200)]
window: cast value so gcc shuts up

13 years agoMerge two if-blocks with same condition
Kristian Rietveld [Sat, 16 Apr 2011 18:16:03 +0000 (20:16 +0200)]
Merge two if-blocks with same condition

13 years agoDo not call invalidate_empty_focus() when not realized
Xavier Claessens [Sat, 16 Apr 2011 18:12:39 +0000 (20:12 +0200)]
Do not call invalidate_empty_focus() when not realized

Fixes bug 626503

13 years agoMake GtkFileChoser remember the last directory opened
Stéphane Maniaci [Thu, 14 Apr 2011 19:14:26 +0000 (14:14 -0500)]
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

13 years ago[broadway] Make close button text unselectable
Alexander Larsson [Fri, 15 Apr 2011 18:34:04 +0000 (20:34 +0200)]
[broadway] Make close button text unselectable

13 years ago[broadway] Implement gdk_window_begin_resize_drag
Alexander Larsson [Fri, 15 Apr 2011 14:31:56 +0000 (16:31 +0200)]
[broadway] Implement gdk_window_begin_resize_drag

This makes the resize grip work.

13 years ago[broadway] Remove window from hashtable when destroyed
Alexander Larsson [Fri, 15 Apr 2011 14:18:11 +0000 (16:18 +0200)]
[broadway] Remove window from hashtable when destroyed

13 years ago[broadway] Ungrab if grabbed window is destroyed
Alexander Larsson [Fri, 15 Apr 2011 14:17:27 +0000 (16:17 +0200)]
[broadway] Ungrab if grabbed window is destroyed

13 years ago[broadway] Correctly handle ungrabs in the browser side
Alexander Larsson [Fri, 15 Apr 2011 14:13:01 +0000 (16:13 +0200)]
[broadway] Correctly handle ungrabs in the browser side

Always call doUngrab to get the right event, and always do this
if the grabbed window is hidden or destroyed.

13 years agoUpdate gtk/gtkmenuitem.c...
Chun-wei Fan [Fri, 15 Apr 2011 16:42:08 +0000 (00:42 +0800)]
Update gtk/gtkmenuitem.c...

Copy over the implementation of _gtk_menu_shell_activate
so that C4013 warning/error (aka gcc's "implicit
declaration of ...") can be avoided when compiling with MSVC

This is in response of the changes for bug 554057 in commit
5f55c420471db9a05d145e140b3a7cdfc5bdba9f

13 years agoFree MenuPopulateData struct in all the cases.
Paolo Borelli [Wed, 6 Apr 2011 02:43:09 +0000 (04:43 +0200)]
Free MenuPopulateData struct in all the cases.

For clarity factor out create/free functions.

https://bugzilla.gnome.org/show_bug.cgi?id=646876

13 years agoMove documentation to inline comments: GtkHSV
Javier Jardón [Thu, 14 Apr 2011 23:18:06 +0000 (00:18 +0100)]
Move documentation to inline comments: GtkHSV