summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Updated Spanish translationJorge González2010-10-091-866/+871
|
* updating translation for PunjabiA S Alam2010-10-092-2812/+2752
|
* Fix a problem with 'resize grip avoidance' in scrollbarsMatthias Clasen2010-10-081-22/+38
| | | | | | We need to be a little more careful when determining the overlap between the new allocation and the grip area. This was causing vertical scrollbars in evince to overlap with the grip.
* Check for grip_window != NULL in gtk_window_drawMatthias Clasen2010-10-081-1/+1
| | | | | | This is safer, since GtkWindow subclasses may override realize and end up with has_resize_grip == TRUE, but grip_window still being NULL - as is the case with GtkPlug.
* gail: GtkTreeViewColumn doesn't have a destroy signal anymoreWilliam Jon McCann2010-10-081-38/+8
| | | | Replace with g_object_set_qdata_full usage.
* Don't assume widgets are containers when walking the focus treeWilliam Jon McCann2010-10-081-1/+1
| | | | This causes problems for links in labels.
* autogen: Explicitly allow libtool > 2.2Colin Walters2010-10-081-1/+1
| | | | | Apparently 2.4 is out, I'm not aware of a reason we shouldn't allow it.
* Fix grip window positioningMatthias Clasen2010-10-081-12/+15
| | | | | | | | We need to position the grip window in size_allocate after all, otherwise the grip ends up in the wrong place when the window is realized early. Also, avoid shadowing a variable.
* Don't show resize grips on override-redirect windowMatthias Clasen2010-10-081-1/+8
|
* Make GtkPaned use gtk_container_class_handle_border_widthMatthias Clasen2010-10-081-1/+1
|
* Make GtkPaned use gtk_container_class_handle_border_widthMatthias Clasen2010-10-081-34/+21
|
* Make GtkPathBar use gtk_container_class_handle_border_widthMatthias Clasen2010-10-081-19/+12
|
* Migrated old GtkSizeRequestIface documentation to GtkWidget and added notes ↵Tristan Van Berkom2010-10-082-99/+96
| | | | to gtk_widget_get_preferred_size().
* Use and print note for key only if there are credentialsChristian Dywan2010-10-081-4/+3
| | | | Otherwise key might be printed uninitialized.
* Removed call to get_preferred_size (widget, NULL, NULL);Tristan Van Berkom2010-10-081-1/+0
| | | | | | This was another case of making sure size-request was called before other code was doing get_child_requisition(), now caching is done via the same api so no need for that line.
* Removed needless initial size request of childrenTristan Van Berkom2010-10-081-3/+0
| | | | | | Old code was probably doing size-request on all children initially, and then calling get_child_requisition() in other passes, now these are cached after the first request anyway.
* Removed needless size-requesting of children (child sizes are ignored at ↵Tristan Van Berkom2010-10-081-16/+0
| | | | request time).
* Make GtkTable use gtk_container_handle_border_widthMatthias Clasen2010-10-081-14/+5
|
* Add a migration guide section about resize gripsMatthias Clasen2010-10-081-0/+12
|
* Get scrollbars out of the way of the window's resize gripMatthias Clasen2010-10-081-4/+96
| | | | | | | If there are both horizontal and vertical scrollbars, there is an unused 'corner' into which the resize grip fits. Individual scrollbars need to be shortened and moved to make room for the resize grip.
* Remove resize grip handling from GtkStatusbarMatthias Clasen2010-10-084-536/+105
| | | | | | | | | We remove the resize grip from GtkStatusbar, but keep the code that makes the content avoid the grip, and adapt it to GtkWindow grips. The gtk_status_bar_set/get_has_resize_grip() functions and related properties are removed.
* Remove uses of gtk_statusbar_set_has_resize_grip()Cody Russell2010-10-083-47/+1
| | | | This function is going away.
* Fix resize grip drawing in GtkAssistantMatthias Clasen2010-10-081-0/+3
| | | | | | Chain up in the draw() implementation of GtkAssistant to let GtkWindow draw the resize grip. This avoids black resize grips in GtkAssistant windows.
* Add resize grips to GtkWindowMatthias Clasen2010-10-084-10/+530
| | | | | | | | | | | | | | | | Allow any window to display a resize grip, in the south-east or south-west corner, depending on text direction. This is implemented as a shaped window that gets overlayed on top of whatever content is there. We add api that allows widgets to avoid the resize grip, if desired. The ::has-resize-grip property controls if a window may display a resize grip. It will only be displayed if the window is resizable and not maximized. The size and visual appearance of the resize grip is under theme control, using the resize-grip-width/height style properties and the paint_resize_grip style function.
* Fix export of a few (currently unused) configure variablesMatthias Clasen2010-10-071-8/+8
| | | | | Turns out that autoconf eats all the m4_define magic before AC_INIT.
* gail: don't try to get stock id from images that aren't stockWilliam Jon McCann2010-10-071-2/+4
| | | | Fixes assertion caused by 41d2a4d059d881d8d05419013ae4946a81b308cb
* Gail needs _gtk_cell_renderer_calc_offsetTor Lillqvist2010-10-071-0/+1
|
* Bypass the ms-windows engine for nowTor Lillqvist2010-10-071-1/+1
| | | | | It requires massive changes to build again. I started, but gave up. More insight is needed.
* Make it compile again for WindowsTor Lillqvist2010-10-076-163/+16
|
* Remove reference to hooks in gtk_about_dialog_set_website() docs.Stef Walter2010-10-061-3/+0
| | | | Signed-off-by: Javier Jardón <jjardon@gnome.org>
* Filechooser - In OPEN or SAVE mode, typing a plain folder name should switch ↵Federico Mena Quintero2010-10-061-3/+11
| | | | | | | | | | | | | to it If you type 'subfolder/' and hit Enter, the file chooser will switch you to it. But if you type just 'subfolder' without the trailing slash, apps would receive *that* filename (e.g. file:///foo/bar/subfolder) as the response, and they would likely print an error that they can't open that file (as it is a folder). So, we change the file chooser's current folder to that subfolder in this case. Signed-off-by: Federico Mena Quintero <federico@novell.com>
* widget: Fix GtkWidget::draw docsBenjamin Otte2010-10-061-3/+3
| | | | width and height have been gone for a while...
* Enhanced documentation description for GtkWrapBox (text by Murray Cumming).Tristan Van Berkom2010-10-061-3/+12
|
* Updates for Kazakh translationBaurzhan Muftakhidinov2010-10-061-936/+941
|
* Replace GDK_Tab and GDK_ISO_Left_Tab with GDK_KEY equivalentsJohn Ralls2010-10-062-6/+6
| | | | | | Fixes https://bugzilla.gnome.org/show_bug.cgi?id=631475 Signed-off-by: Javier Jardón <jjardon@gnome.org>
* docs: visuals: Do not mention deprecated GdkRGB API'sJavier Jardón2010-10-061-6/+2
| | | | | Reported by Milan Bouchet-Valat in bug https://bugzilla.gnome.org/show_bug.cgi?id=631473
* docs: Dn't mark all signals in GtkWidgetClass as privateBenjamin Otte2010-10-051-4/+0
| | | | They are meant to be overwritten by subclasses after all.
* viewport: Clip contents properly when called via gtk_widget_draw()Benjamin Otte2010-10-051-0/+15
|
* Revert "testgtk: Remove snapshot test"Benjamin Otte2010-10-051-0/+167
| | | | | | This reverts commit 99c82af20a5204940ce2cb0f841be0d6f70a2778 and fixes up things to compile again. Of course, the snapshotting now uses gtk_widget_draw() instead.
* docs: reword GtkAdjustment short descriptionJavier Jardón2010-10-051-1/+1
|
* Handle the case where you type /blah/nonexistent in SELECT_FOLDER modeFederico Mena Quintero2010-10-051-1/+6
| | | | | | | | | Previously name_entry_get_parent_info_cb() would fail as it doesn't handle SELECT_FOLDER. Now we just make that function act the same as for CREATE_FOLDER mode. In either case, if you type "/blah/nonexistent" and hit Enter, you want a folder with that name to be created (under the already-existing /blah). Signed-off-by: Federico Mena Quintero <federico@novell.com>
* Clarify the name of a callbackStephen Shaw2010-10-051-6/+8
| | | | | | | | The old save_entry_get_info_cb() was misnamed; it is actually used to see if a file's presumed parent *is* a folder. So we rename it to name_entry_get_parent_info_cb(). Signed-off-by: Federico Mena Quintero <federico@novell.com>
* bgo#629722 - file chooser should cope with typing a directory name and then ↵Stephen Shaw2010-10-051-17/+70
| | | | | | | | | | | | | | Enter file_exists_get_info_cb() used to let some actions fall through to the code that checks for the file type of the selected file's parent (e.g. to see if /foo/bar *is* indeed a folder if you type /foo/bar/baz). However, we need to be more explicit for each file chooser action, as in SELECT_FOLDER mode typing /foo/foldername and hitting Enter would not give you an immediate selection, but rather the file chooser would complain that it couldn't create that directory as it already exists. Signed-off-by: Federico Mena Quintero <federico@novell.com>
* Added Kikongo translationKibavuidi Nsiangani2010-10-053-0/+15684
|
* Make set_cairo_surface_size a vfunc on GdkWindowImplKristian Rietveld2010-10-0510-37/+65
| | | | | Note the special implementation of this method on GdkOffscreenWindow that makes sure its current surface is not destroyed.
* tests: don't call gtk_widget_get_allocation() on NULL childrenMichael Natterer2010-10-051-4/+9
|
* gtkmenu: Really fix menu codeJavier Jardón2010-10-041-1/+1
| | | | | | Previous patch f0039aa2a4367df95bda1b6cf3d4a735cafb4eb2 is not correct as it try to fix a bug introduced in commit 3a10216dd01c8d10df235b88c8942b2fda15689b
* Fix a crash in menu codeChristian Persch2010-10-041-1/+1
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=631311
* Make GdkRectangle arguments in GtkCellRenderer use const consistentlyMatthias Clasen2010-10-049-104/+104
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=630900
* quartz: Emulate root window as 1x1 bitmapKristian Rietveld2010-10-044-21/+138
| | | | | | | We subclass GdkWindowImplQuartz into a new GdkRootWindowImplQuartz, and override the get_context method in order to do this cleanly. Also made release_context a virtual method, since the root window has to release its CGContextRef differently compared to normal windows.