summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Adwaita: Include sources in distadwaitaMatthias Clasen2014-06-131-1/+16
| | | | | These things are necessary to work on the Adwaita theme, so include them in the tarball.
* Adwaita: Drop no-longer exising resourcesMatthias Clasen2014-06-131-2/+0
| | | | These css files were optimized away a few commits ago.
* Adwaita: Drop obvious commentsMatthias Clasen2014-06-131-3/+0
|
* Adwaita: Drop app-specific cssMatthias Clasen2014-06-133-12/+0
|
* Forgotten filesMatthias Clasen2014-06-132-2/+4164
|
* Adwaita: Simplify cssMatthias Clasen2014-06-134-4172/+0
| | | | | Since this is now builtin, we don't need the extra redirection anymore.
* Adwaita: Drop unused assetsMatthias Clasen2014-06-1343-2680/+0
| | | | | These were imported from gnome-themes-standard, but are not referenced from the css.
* Use Adwaita as the default themeMatthias Clasen2014-06-131-1/+1
| | | | | This ensures that GTK+ applications have a high-quality theme on all platforms, and look consistent.
* Include the Adwaita themeMatthias Clasen2014-06-13196-0/+18208
| | | | | This adds the resources for the Adwaita theme, and includes them in libgtk, on all platforms.
* Don't include the win32 theme on LinuxMatthias Clasen2014-06-131-4/+7
| | | | | No need to carry around these resources when we are not going to use them.
* Generate gtk.gresource.xmlMatthias Clasen2014-06-132-41/+23
| | | | | This will help when including Adwaita. It will also let us drop the win32 theme on Linux, hopefully.
* Rename cursor pngs to their resource nameMatthias Clasen2014-06-136-5/+5
| | | | This allows us to get rid of some aliases in the .gresource.xml.
* Move theme resources into subdirectoriesMatthias Clasen2014-06-136-5/+5
| | | | Preparing for Adwaita to come in here.
* inspector: Allow Escape to cancel pickingMatthias Clasen2014-06-131-0/+17
|
* inspector: Use a better icon for the pickerMatthias Clasen2014-06-131-1/+1
| | | | Recommended by Allan Day.
* Trivial formatting fixMatthias Clasen2014-06-131-4/+2
|
* gesturesingle: Implement GtkGesture::cancel better than GtkEventController:resetCarlos Garnacho2014-06-133-6/+18
| | | | | | | | | | | | The former can be called individually on each sequence, and the latter will always call the former on all currently active sequences, so only implementing resetting on cancel() works for both cases. Also, chain up on subclasses implementing cancel. This fixes clicking on nautilus' file list after popping up a menu, as broken grabs are one of those situations where sequences get cancelled individually, the "current button" wasn't properly reset, and further clicks with button != 3 were ignored.
* textview: Unobscure the mouse cursor on motion eventsCarlos Garnacho2014-06-121-0/+13
| | | | | | | This used to be done before the gestures port, and was removed accidentally, so keep the motion_notify_event handler just for this, and fallback to having those events handled by gestures too.
* Fix gtk_selection_data_get_data annotationsDieter Verfaillie2014-06-121-2/+2
| | | | | | | The annotations were intended for the return value, not the instance argument. https://bugzilla.gnome.org/show_bug.cgi?id=731299
* docs: remove mention of old GtkList and GtkCListDieter Verfaillie2014-06-121-1/+1
| | | | | | Reported by andlabs in irc://irc.gnome.org/gtk+ https://bugzilla.gnome.org/show_bug.cgi?id=731382
* Updated Spanish translationDaniel Mustieles2014-06-121-1469/+1529
|
* Add a message-dialog style classMatthias Clasen2014-06-123-0/+13
| | | | | This helps in separating message dialogs from other dialogs, theming-wise.
* Add GTK_STYLE_CLASS_POPUP to the docsMatthias Clasen2014-06-123-1/+12
|
* scrolledwindow: Deny scrolling sequences if pressed on the scrollbarsCarlos Garnacho2014-06-121-2/+8
| | | | | Scrollbars might be a bit too narrow for touch (and generally less useful besides kinetic scrolling), but those should be functional nevertheless.
* window: Only claim a button=1 press sequence when dragging is about to happenCarlos Garnacho2014-06-121-3/+2
| | | | | | | | | | This way plain clicks can be handled in gtkmain through the usual delivery mechanism, and get possibly handled too by widgets holding a GTK+ grab. If window dragging is to be started, the sequence will be claimed (and a grab will happen afterwards), notifying properly the grabbing widget that event delivery was interrupted. This makes it possible to dismiss popovers by clicking on window headerbars, while still making it possible to drag the window with the popover opened.
* wayland: Ensure the touch sequence pointer value is non-nullSjoerd Simons2014-06-121-1/+1
| | | | | | | | | | | | | | | | Weston numbers its touch sequences ids starting from 0, thus simply setting the GtkEvents touch.sequence to the touch id value typically causes gdk_event_get_event_sequence to return NULL. Unfortunately this confuses other parts of GDK. As both weston & mutter keep the sequence id between 0..max_dev_touches -1 simply use + 1 to keep the id > 0. While this isn't entirely correct (compositor could send -1 as the touch id), this keeps the touch id in gtk tied to the touch id from weston which is useful for debugging. A more thorough solution could be done when it turns out this is an issue in practise https://bugzilla.gnome.org/show_bug.cgi?id=731371
* testsuite: Add a test for symbolic icons in specific sizesBenjamin Otte2014-06-124-1/+31
| | | | | Check that loading symbolics works, even if the symbolic is only available in a fixed size.
* widget-factory: Add some tooltipsMatthias Clasen2014-06-121-3/+6
|
* docs: fix link to language bindings pageDieter Verfaillie2014-06-111-1/+1
| | | | | | Reported on irc://irc.gnome.org/gtk+ by Rena. https://bugzilla.gnome.org/show_bug.cgi?id=731377
* Drop GDK_MULTIHEAD_SAFEMatthias Clasen2014-06-1118-71/+2
| | | | | We don't support multiple screens anymore, so there is no need for marking API as multihead safe any longer.
* Deprecate outside-border style propertiesMatthias Clasen2014-06-111-2/+6
| | | | These should just be replaced by CSS margins, etc.
* GtkButton: Don't use a non-zero border by defaultMatthias Clasen2014-06-111-1/+1
| | | | | | The non-zero default default-border was causing buttons to shrink as the focus moves around them. Themes which want a default-border should define it explicitly.
* treeview: Check that :row-activated is only emitted on GDK_BUTTON_PRIMARYCarlos Garnacho2014-06-111-1/+2
| | | | | It turned out not all code was fully prepared to handle multiple buttons, this avoids respawning https://bugzilla.gnome.org/show_bug.cgi?id=731020.
* treeview: Make row area multipress gesture react to all buttonsCarlos Garnacho2014-06-111-2/+0
| | | | | | The code is actually prepared for that, the gesture was initially limited to only handling GDK_BUTTON_PRIMARY because it only used to handle row activation.
* treeview: Remove unused variables from priv structCarlos Garnacho2014-06-111-9/+0
| | | | | These variables were last used before moving row activation to being managed by a gesture.
* treeview: Move all button press/release management to the multipress gestureCarlos Garnacho2014-06-111-342/+312
| | | | | | | | | The multipress gesture on the bin window now also does all the business related to row selection. As row selection and activation can't be easily decoupled, this fixes certain problems around ::row-activated being emitted on NULL paths. Fixes https://bugzilla.gnome.org/show_bug.cgi?id=731455 and https://bugzilla.gnome.org/show_bug.cgi?id=731018
* treeview: Use drag gesture for rubberband selection/DnDCarlos Garnacho2014-06-111-168/+222
| | | | | | This gesture acts only on events from the bin window, and checks that either the pressed row is draggable, or the conditions for rubberband selection apply.
* treeview: Use gestures for column dragging/resizingCarlos Garnacho2014-06-111-224/+231
| | | | | | A multipress gesture takes care of autosizing on double click, and a drag gesture is used for both column dragging/resizing (only one can happen at a time).
* treeviewcolumn: Avoid a device position queryCarlos Garnacho2014-06-111-5/+2
| | | | | This happens in an event handler, and the button event should be expected to have the right coordinates on the event window already.
* gesturesingle: Ensure the current button stays set until after the ↵Carlos Garnacho2014-06-111-3/+7
| | | | | | | touch/button release This makes gtk_gesture_get_current_button() work properly on GtkGesture::end, and signals spawn from there on subclasses.
* GtkPaned: Make sure the raise the handle window above childrenMatthias Clasen2014-06-111-4/+4
| | | | | | We need to show child windows and handle in the right order, otherwise the input-only handle window ends up under the children where it is useless.
* GtkTooltip: Ignore shadow when finding widgetsMatthias Clasen2014-06-111-10/+29
| | | | | | | When placing tooltips, the csd shadow will get 'pushed up' and may end up underneath the pointer. We don't want this to cause the tooltip to be hidden, because that leads to flickering, so ignore the shadow when finding the widget under the pointer.
* csd: Fix non-resizable windowsMatthias Clasen2014-06-111-4/+9
| | | | | | For csd override-redirect windows, we don't set up resize handles, but we were not ignoring the margin in all places, causing some size calculations to go wrong.
* Don't mention no longer existing widgets in the docsMatthias Clasen2014-06-111-1/+1
| | | | GtkText, GtkList and GtkCList don't exist anymore.
* stylecontext: Get rid of StyleData structBenjamin Otte2014-06-111-132/+86
| | | | | It's now just a GtkCssComputedValues + refcount. And GtkCssComputedValues has its own refcount, so use that one instead.
* stylecontext: Move property cacheBenjamin Otte2014-06-111-27/+24
| | | | | | | | | | ... from per style data to only existing once per style context. This is technically an API break because it no longer allows getting different style properties between save()/restore() pairs, but I don't think this was ever intended to work that way, as the style property API was to be used and is used via gtk_widget_get_style(). And it simplifies code a lot.
* docs: Remove unused variableBenjamin Otte2014-06-111-1/+0
|
* testsuite: Add missing errors fileBenjamin Otte2014-06-112-0/+3
| | | | | The file was forgotten in 98954bd1d1e27e2e8b5181af1752a9e8e107c74c and caused test failure. Oops.
* stylecontext: Remove state from _peek_style_property()Benjamin Otte2014-06-114-26/+8
| | | | | It evaluates to "current state" in all cases, so no need to special case it.
* gtk3-demo: Use monospace font for source codeMatthias Clasen2014-06-101-0/+6
|