| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
This uses the new workarea API to avoid placing popups underneath
panels, docks, etc.
|
|
|
|
| |
I want to use it in the file chooser entry autocomplete code.
|
|
|
|
| |
and remove gtkmainprivate.h completely.
|
| |
|
|
|
|
|
| |
Patch by John Lindgren,
https://bugzilla.gnome.org/show_bug.cgi?id=650110
|
|
|
|
|
| |
Indicate what kind of area will be used by default if none is
provided by the user.
|
|
|
|
| |
See https://bugzilla.gnome.org/show_bug.cgi?id=641073
|
|
|
|
|
|
|
|
|
|
|
|
| |
I've decided that it is isn't feasible to make cell areas runtime-settable
in the time we have left before 3.0, therefore, I'm going with the
approach to allow init() functions to instantiate the default cell area
and issue a warning if a construct property is ignored.
This is not ideal, but it keeps existing icon view and combo box
subclasses working.
https://bugzilla.gnome.org/show_bug.cgi?id=639139
|
|
|
|
|
| |
Based on a patch by Garrett Regier
https://bugzilla.gnome.org/show_bug.cgi?id=617322
|
|
|
|
|
|
|
|
| |
At the same time, introduce a gtkmainprivate.h header
and various other cleanups.
Based on a patch by Tadej Borovšak.
https://bugzilla.gnome.org/show_bug.cgi?id=617471
|
| |
|
| |
|
|
|
|
|
|
| |
Creates a treeviewcolumn using a specific GtkCellArea.
This patch also makes GtkEntryCompletion use the new api
instead of g_object_new().
|
|
|
|
| |
_gtk_cell_layout_buildable_custom_tag_end correctly.
|
|
|
|
|
|
|
|
|
| |
- Removed most of GtkCellLayout implementation in favor of ->get_area()
- This allows GtkBuildable cell layout implementation to implement
the child "cell-properties"
- Also allows feeding a custom/different GtkCellArea implementation to
layout cells.
- Share the internal area with the created GtkTreeViewColumn.
|
|
|
|
|
|
|
| |
I don't think we are at the end of scrolledwindow tweaks yet,
but this will make things work for now, as they used to.
https://bugzilla.gnome.org/show_bug.cgi?id=633670
|
|
|
|
| |
Because it's FALSE in virtually all use cases.
|
| |
|
|
|
|
|
|
|
|
| |
Use input-only windows for capturing input, and just draw onto
the parent window. This allows themes to make entries with rounded
corners. Patch by Boram Park.
https://bugzilla.gnome.org/show_bug.cgi?id=632736
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
It doesn't make sense to keep them separate as GtkSizeRequest requires a
GtkWidget and GtkWidget implements GtkSizeRequest, so you can never have
one without the other.
It also makes the code a lot easier because no casts are required when
calling functions.
Also, the names would translate to gtk_widget_get_width() and people
agreed that this would be a too generic name, so a "preferred" was added
to the names.
So this patch moves the functions:
gtk_size_request_get_request_mode() => gtk_widget_get_request_mode()
gtk_size_request_get_width() => gtk_widget_get_preferred_width()
gtk_size_request_get_height() => gtk_widget_get_preferred_height()
gtk_size_request_get_size() => gtk_widget_get_preferred_size()
gtk_size_request_get_width_for_height() =>
gtk_widget_get_preferred_width_for_height()
gtk_size_request_get_height_for_width() =>
gtk_widget_get_preferred_height_for_width()
... and moves the corresponding vfuncs to the GtkWidgetClass.
The patch also renames the implementations of the vfuncs in widgets to
include the word "preferrred".
|
| |
|
|
|
|
|
|
|
| |
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=629598
Signed-off-by: Javier Jardón <jjardon@gnome.org>
Signed-off-by: Tristan Van Berkom <tristanvb@openismus.com>
|
| |
|
|
|
|
| |
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=624270
|
| |
|
|
|
|
| |
Also, unseal private pointer
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=623845
|
|
|
|
|
|
| |
This reverts commit eebb16eb1af11c5327dd06b23df82f7528566739.
Was an accidental commit.
|
|
|
|
|
|
| |
The old version wasn't introspectable as it didn't have a length
return parameter. Also, delete gtk_tree_path_get_indices_with_depth,
since it's no longer needed.
|
| |
|
|
|
|
|
|
|
| |
The ::match-selected and ::cursor-on-match signal were emitted
with the internal filter model instead of the user-provided model.
Fixes bug #555087.
|
|
|
|
|
|
| |
Use gtk_widget_get_mapped() instead.
https://bugzilla.gnome.org/show_bug.cgi?id=69872
|
|
|
|
|
|
| |
Use gtk_widget_get_visible() instead
https://bugzilla.gnome.org/show_bug.cgi?id=69872
|
|
|
|
|
|
| |
Use gtk_widget_has_focus() instead
https://bugzilla.gnome.org/show_bug.cgi?id=69872
|
|
|
|
|
|
|
|
| |
The Gtk-custom.c file in gir-repository contained a number of
introspection annotations. Merge those into the GTK source files.
Some documentation was moved from the tmpl/ files to accomodate
the addition of annotations.
|
| |
|
| |
|
|
|
|
| |
This was causing problems in Epiphany. Fixes bug 584805.
|
|
|
|
|
|
|
|
|
| |
* gtk/gtkentrycompletion.c:
* gtk/gtknotebook.c: Keep popups on the right screen.
Pointed out by Morten Welinder
svn path=/trunk/; revision=22423
|
|
|
|
|
|
|
|
|
|
| |
This causes negative size requisitions when results are more than one
line tall.
* gtk/gtkentrycompletion.c: change the formula used to calculate
the size of the completion popup.
svn path=/trunk/; revision=22120
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2008-09-17 Matthias Clasen <mclasen@redhat.com>
Bug 408154 – [PATCH] Change GtkEntryCompletion max-items to style
property
* gtk/gtkentrycompletion.c (_gtk_entry_completion_resize_popup):
Take actions into account when finding the available space for
matches. Patch by Ross Burton
svn path=/trunk/; revision=21413
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2008-08-13 Michael Natterer <mitch@imendio.com>
* gtk/gtkmarshalers.list: get rid of the deprecated aliases NONE
and BOOL.
* gtk/gtkdialog.c
* gtk/gtkentrycompletion.c
* gtk/gtkmenuitem.c
* gtk/gtkoldeditable.c
* gtk/gtkrange.c
* gtk/gtktreeview.c
* gtk/gtkwidget.c: changed accordingly.
svn path=/trunk/; revision=21111
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2008-08-11 Sven Neumann <sven@gimp.org>
* gtk/gtkentry.c
* gtk/gtkentrycompletion.c
* gtk/gtkhandlebox.c
* gtk/gtkiconview.c
* gtk/gtkimcontext.c
* gtk/gtkinputdialog.c
* gtk/gtktreeview.c: use canonical signal names.
svn path=/trunk/; revision=21067
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2008-08-11 Sven Neumann <sven@gimp.org>
* gtk/gtkaboutdialog.c
* gtk/gtkcellrendereraccel.c
* gtk/gtkcellrenderercombo.c
* gtk/gtkcellrendererspin.c
* gtk/gtkcellrenderertext.c
* gtk/gtkclipboard.c
* gtk/gtkcolorsel.c
* gtk/gtkcombo.c
* gtk/gtkcombobox.c
* gtk/gtkdnd-quartz.c
* gtk/gtkdnd.c
* gtk/gtkentry.c
* gtk/gtkentrycompletion.c
* gtk/gtkfilechooserbutton.c
* gtk/gtkfilechooserdefault.c
* gtk/gtkfilechooserentry.c
* gtk/gtkfontsel.c
* gtk/gtkinputdialog.c
* gtk/gtkmenutoolbutton.c
* gtk/gtkpathbar.c
* gtk/gtktooltip.c: use canonical signal names in
g_signal_connect().
svn path=/trunk/; revision=21060
|
|
|
|
|
|
|
|
|
|
|
|
| |
2008-06-21 Johan Dahlin <jdahlin@async.com.br>
* *.[ch]: Include "config.h" instead of <config.h>
Command used:
find -name \*.[ch]|xargs perl -p -i -e 's/^#include <config.h>/#include "config.h"/g'
Rubberstamped by Mitch and Tim
svn path=/trunk/; revision=20669
|
|
|
|
|
|
|
|
|
|
|
|
| |
2008-06-12 Michael Natterer <mitch@imendio.com>
* gtk/gtkentrycompletion.c (_gtk_entry_completion_resize_popup):
limit the number of displayed items by the actual screen height
instead of some arbitrary value (Bug #408154, Xan Lopez and
Christian Dywan).
svn path=/trunk/; revision=20359
|
|
|
|
|
|
|
|
|
| |
* gtk/gtkentrycompletion.c (gtk_entry_completion_init): Set
a type hint on the popup window to help compiz.
Patch by Vaclav Slavik.
svn path=/trunk/; revision=20294
|
|
|
|
|
|
|
|
|
|
| |
2008-03-22 Matthew Barnes <mbarnes@redhat.com>
* gtk/gtkentrycompletion.c (gtk_entry_completion_get_cells):
New function implements GtkCellLayoutClass::get_cells. (#523787)
svn path=/trunk/; revision=19923
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2008-03-04 Michael Natterer <mitch@imendio.com>
* gtk/gtkcellview.c
* gtk/gtkcolorbutton.c
* gtk/gtkentrycompletion.c
* gtk/gtkfontbutton.c
* gtk/gtkiconview.c
* gtk/gtkobject.c
* gtk/gtkpaned.c
* gtk/gtkpreview.c: don't include "gtksignal.h".
* gtk/gtkfilefilter.c
* gtk/gtkrecentchoosermenu.c
* gtk/gtkrecentfilter.c
* gtk/gtktext.c: don't include "gtkobject.h".
svn path=/trunk/; revision=19708
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2008-02-07 Michael Natterer <mitch@imendio.com>
* gtk/gtkaction.c
* gtk/gtkassistant.c
* gtk/gtkbin.c
* gtk/gtkbox.c
* gtk/gtkcalendar.c
* gtk/gtkcellrenderercombo.c
* gtk/gtkcombobox.c
* gtk/gtkcombo.c
* gtk/gtkdrawingarea.c
* gtk/gtkentrycompletion.c
* gtk/gtkfixed.h
* gtk/gtkgamma.c
* gtk/gtkhpaned.c
* gtk/gtkiconview.c
* gtk/gtkitem.c
* gtk/gtkitemfactory.c: remove g_return_if_fail() from private
functions and virtual function implementations.
svn path=/trunk/; revision=19491
|