summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Move min-display-width/height to GtkScrolledWindowMatthias Clasen2010-10-2214-355/+304
| | | | | | | | | It is just too annoying to have to implement these properties in every scrollable. Instead, we now have ::min-content-height/width in GtkScrolledWindow. We also add GtkScrollablePolicy to determine how to size the scrollable content.
* recent-manager: Coalesce multiple changesEmmanuele Bassi2010-10-222-42/+143
| | | | | | | | | | | | | | | | | | | | | | | | | Since the ::changed implementation of GtkRecentManager implies a synchronous write operation, when we receive multiple requests to emit a ::changed signal we might end up blocking. This change coalesces multiple ::changed emission requests using the following sequence: • the first request will install a timeout in 250 ms, which will emit the ::changed signal • each further request while the timeout has not been emitted will increase a counter ‣ if the counter reaches 250 before the timeout has been emitted, then the RecentManager will remove the timeout source and force a signal emission and reset the counter This sequence should guarantee that frequent ::changed emission requests are coalesced, and also guarantee that we don't let them dangle for too long. https://bugzilla.gnome.org/show_bug.cgi?id=616997
* Don't declare various unused variables in gtk_grid_set_orientationChristian Dywan2010-10-221-3/+0
|
* Assign all g_signal_connect() and friends to gulong variablesAlberto Garcia2010-10-2219-68/+49
| | | | Fixes https://bugzilla.gnome.org/show_bug.cgi?id=87821
* GtkExpander: avoid use of gtk_get_event_widget()Javier Jardón2010-10-221-8/+2
| | | | We can compare the window to the window instead of the widget to the widget.
* docs: Add gtk-doc notationJavier Jardón2010-10-222-0/+6
| | | | to emphasize that GtkMisc and GtkAdjustment are not encouraged in new code
* gtk: undef DISABLE_DEPRECATED around including our own headerMichael Natterer2010-10-221-1/+3
| | | | so we can see our own deprecated API and don't get warnings.
* gtk: use the new scrollable API to get to the scroll adjustmentsMichael Natterer2010-10-221-6/+6
|
* Fix make dist now that gtkcomboboxentry does not existRichard Hughes2010-10-221-1/+0
|
* Fixed problems with combination of height-for-width apis andTristan Van Berkom2010-10-235-142/+163
| | | | | | | | | | | alignment/margin vfuncs adjust_size_request/allocation Now get_height_for_width() will internally update the for_width before passing it to the real height_for_width() vfunc, allowing margins and extra space for alignments to be stripped, thus requesting sufficient height for greater than natural widths (and also accounting for margins properly). Test case adjusted in testadjustsize to ensure proper behavior.
* gtk: use the new scrollable API to get scroll adjustmentsMichael Natterer2010-10-221-2/+2
|
* gtk: fix tool palette scroll adjustment settingMichael Natterer2010-10-221-46/+2
| | | | | | Create a new adjustment if there was *no* adjustment passed in, not the other way around. Also remove unused function gtk_tool_palette_set_adjustment().
* gtk: return 0 not NULL from functions returning gintMichael Natterer2010-10-221-2/+2
|
* Discourage use of GtkMisc and GtkAlignmentMatthias Clasen2010-10-222-2/+2
|
* Remove child flipping from GtkGridMatthias Clasen2010-10-221-38/+0
| | | | | | We decided that this is not really the right thing to do, for one thing, because it doesn't flip ::expand and ::margin properties of children.
* Add GtkGridMatthias Clasen2010-10-2210-0/+2097
| | | | | | GtkGrid is a container similar to GtkTable, without legacy properties and unnecessary restrictions. It does height-for-width geometry management.
* Make the docs buildMatthias Clasen2010-10-221-4/+0
|
* Fix a typoMatthias Clasen2010-10-221-1/+1
|
* gtk: add gtk_entry_get_text_area() and gtk_entry_get_icon_area()Michael Natterer2010-10-223-0/+99
| | | | | as replacement for the removed get_foo_window() functions, so draw() callbacks can figure where to paint.
* recent-chooser: Use gtk_recent_info_get_gicon()Christian Persch2010-10-222-47/+17
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=617174
* Add gtk_recent_info_get_gicon()Christian Persch2010-10-224-0/+32
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=617174
* recent-manager: Fix the documentationEmmanuele Bassi2010-10-221-2/+1
| | | | | | The default RecentManager is not destroyed at the end of the process. https://bugzilla.gnome.org/show_bug.cgi?id=602794
* recent-manager: Add RecentInfo.create_app_info()Emmanuele Bassi2010-10-224-1/+72
| | | | | A simple wrapper that makes it possible to create a GAppInfo from a GtkRecentInfo blob.
* recent-manager: Move the file under XDG_USER_DATAEmmanuele Bassi2010-10-221-4/+10
| | | | | | | Do not use $HOME/.recently-used.xbel any more. No migration path is included: we're breaking API anyway. https://bugzilla.gnome.org/show_bug.cgi?id=524304
* Add GtkScrollable interfaceTadej Borovšak2010-10-2228-985/+1442
| | | | | | | | The GtkScrollable interface provides "hadjustment" and "vadjustment" properties that are used by GtkScrolledWindow. It replaces the ::set_scroll_adjustment signal. The scrollable interface also has ::min-display-width/height properties that can be used to control the minimally visible part inside a scrolled window.
* Enhanced GtkWidget documentation with regards to height-for-width geometry ↵Tristan Van Berkom2010-10-211-56/+173
| | | | management.
* container: Fix typo that caused madnessBenjamin Otte2010-10-211-1/+1
| | | | | Interestingly, this typo has been causing madness since 2 months, but Mitch complained only today.
* configure: Enable silent rules by defaultBenjamin Otte2010-10-211-1/+1
| | | | Go Hackfest!
* entry: No, you can not haz ununused variablesBenjamin Otte2010-10-211-5/+0
|
* comboboxtext: Add gtk_combo_box_text_remove_all()Christian Dywan2010-10-214-0/+22
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=324899
* progressbar: Remove declaration of nonexisting functionBenjamin Otte2010-10-211-1/+0
|
* socket: Fix compiler issuesBenjamin Otte2010-10-211-0/+1
|
* Make GtkEntry a no-window widgetMatthias Clasen2010-10-216-203/+99
| | | | | | | | 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
* gtk: change GtkIconView to "support" actual treesMichael Natterer2010-10-211-14/+25
| | | | | | | | Remove the check for GTK_TREE_MODEL_LIST_ONLY and make the view display only the first level of the tree, ignoring all insert, remove etc. events on the model's branches. This enables generic application code which always produces GtkTreeStores (also for flat lists) to display grids of these flat trees.
* Make GtkSpinButton a no-window widgetMatthias Clasen2010-10-211-33/+26
| | | | | We still retain an input-only window here for now, but all the painting is done to the parent window.
* Make GtkProgressBar a no-window widgetMatthias Clasen2010-10-211-48/+1
| | | | It doesn't really have a good reason for having a window.
* Properly propagate expand flagsMatthias Clasen2010-10-211-1/+2
| | | | | When showing a widget that already has need_compute_expand set, we need to queue the recomputation on the parent.
* GtkButton: avoid use of gtk_get_event_widget()Ryan Lortie2010-10-211-7/+3
| | | | | We can compare the window to the window instead of the widget to the widget.
* GtkIMContextSimple: avoid gdk_window_get_user_dataRyan Lortie2010-10-201-18/+7
| | | | | | | We lookup a widget to call a function on GtkWidget that ends up just performing an operation directly on the GdkWindow again anyway (beeping). There's already fallback code at the point of the call that does exactly that anyway, so just do that all of the time.
* gtk.symbols: Add missing GtkApplication apiJavier Jardón2010-10-201-0/+3
|
* gdk: add alpha to the offscreen window's surface if its visual is RGBAMichael Natterer2010-10-201-5/+8
|
* gtk: clean up GtkWidget signalsMichael Natterer2010-10-206-165/+100
| | | | | | | | | - add slots for damage-event, move-focus and keynav-failed - reorder signals a bit so related stuff is grouped together - some indentation fixes in the GtkWidgetClass - remove the move-focus compat hack from GtkTextView - turn the move-focus compat hack in GtkWindow into properly implementing GtkWidget::move-focus()
* Re-add copyright noticeEmmanuele Bassi2010-10-201-0/+26
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=632677
* Do not install the hello-world and window-default example programsRichard Hughes2010-10-201-1/+1
|
* tests: gdk_device_get_history() takes "gint *n_events" again, not guintMichael Natterer2010-10-201-1/+1
|
* Split off gtkprivate.hEmmanuele Bassi2010-10-2018-97/+124
| | | | | | | | The gtkprivate.h header contains GtkWidget-specific private symbols that are not useful except in a handful of cases. Basically everything includes gtkprivate.h for the GTK_PARAM_* macros. https://bugzilla.gnome.org/show_bug.cgi?id=632539
* build: Do not install gtkprivate.hEmmanuele Bassi2010-10-201-1/+1
| | | | | | | This is a private header file, and it should *not* be installed. It should also not be scanned by the introspection machinery. https://bugzilla.gnome.org/show_bug.cgi?id=632539
* settings: Move setting property registration in gtksettings.cEmmanuele Bassi2010-10-2010-132/+181
| | | | | | | | | Some GtkSettings property are registered by other classes. This leads to the "interesting" issue that setting GtkSettings:gtk-button-images requires that the GtkButton class is referenced first - or that a GtkButton is created. https://bugzilla.gnome.org/show_bug.cgi?id=632538
* gtkapplication: fix docsJavier Jardón2010-10-202-3/+4
|
* Remove GtkComboBoxEntry and the combo box text apiMatthias Clasen2010-10-2011-918/+3
|