Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Convert GailNotebook to GtkNotebookAccessible | Matthias Clasen | 2011-07-05 | 1 | -0/+3 |
| | |||||
* | Speed up page insertion | Paolo Borelli | 2011-06-26 | 1 | -4/+4 |
| | | | | | Make sure to call widget_set_child_visible(false) on all tabs except the current before calling widget_set_parent. | ||||
* | gtk: Use const instead G_CONST_RETURN | Javier Jardón | 2011-06-10 | 1 | -2/+2 |
| | |||||
* | API: Change semantics of gtk_container_get_child_path() | Benjamin Otte | 2011-06-02 | 1 | -3/+4 |
| | | | | | | Include the child widget path in the returned path now. This allows customizing the path of the current widgets - like adding flags to child widgets (and maybe siblings in the future). | ||||
* | notebook: Implement height_for_width and width_for_height getters | Benjamin Otte | 2011-06-02 | 1 | -0/+29 |
| | |||||
* | notebook: Rewrite size request function for wfh | Benjamin Otte | 2011-06-02 | 1 | -28/+74 |
| | |||||
* | notebook: Split out tabs size computation into its own function | Benjamin Otte | 2011-06-02 | 1 | -183/+206 |
| | |||||
* | notebook: Compute tab width in a simpler way | Benjamin Otte | 2011-06-01 | 1 | -6/+6 |
| | | | | | | | | This code should be more obvious: The check only needs to check for scrollable widgets, and only needs to compare to tab_width. As a side note, for vis_pages == 1, tab_width will be smaller than tab_max + stuff, so this code will not behave differently. | ||||
* | notebook: Remove uneeded function declaration | Benjamin Otte | 2011-06-01 | 1 | -2/+0 |
| | |||||
* | notebook: Include arrow size in tab size computation | Benjamin Otte | 2011-06-01 | 1 | -6/+3 |
| | | | | | | | | | | | | We don't want tabs to resize when a 2nd page is added, just because the scroll arrows are now visible. And we do want the arrow size to be included. Note: Previosuly this code was never run, as the check requisition->width < tab_width was only run when tab_width wasn't computed, so was still equal to 0 (same for the height). So what this patch essentially does it add the functionality of the if switch. | ||||
* | gtk/gtknotebook: gtk_misc_set_alignment replacing | Diego Celix | 2011-05-31 | 1 | -2/+4 |
| | | | | | | | | Replacing the function gtk_misc_set_alignment () with gtk_widget_set_halign () and gtk_widget_set_valign () in gtk/gtknotebook.c https://bugzilla.gnome.org/show_bug.cgi?id=650762 | ||||
* | notebook: Match horizontal and vertical code paths | Benjamin Otte | 2011-04-29 | 1 | -1/+1 |
| | | | | I have no idea what this code does, but it looks better now. :o | ||||
* | notebook: Respect left border when allocating tab widgets | Benjamin Otte | 2011-04-29 | 1 | -2/+3 |
| | | | | This mirrors the code for the other tab locations. | ||||
* | notebook: Respect padding when computing tabs for left/right | Benjamin Otte | 2011-04-29 | 1 | -3/+8 |
| | | | | This mirrors the top/bottom code | ||||
* | Don't adjust for values that we have previously adjusted for | Benjamin Otte | 2011-04-29 | 1 | -0/+21 |
| | | | | | The padding had been taken into account by the computation of priv->allocation, so don't compute it twice. | ||||
* | notebook: Use the right padding for inactive tabs | Benjamin Otte | 2011-04-29 | 1 | -4/+6 |
| | |||||
* | notebook: Warn if builder file defines multiple tab widgets per page | Benjamin Otte | 2011-04-28 | 1 | -0/+3 |
| | | | | | | Glade causes such files when a notebook page has no content. And it's especially bad because the last tab widget wins, so the label displayed in Glade will not be what you see when you run the app. | ||||
* | Do not leak list when drawing notebook. | Paolo Borelli | 2011-04-08 | 1 | -7/+5 |
| | | | | | | When we construct the list in the other order we must free it. https://bugzilla.gnome.org/show_bug.cgi?id=646886 | ||||
* | notebook: Only reset style on tab labels when it actually changes | Benjamin Otte | 2011-03-27 | 1 | -1/+13 |
| | |||||
* | notebook: don't forget to reset the style after setting show-tabs | Cosimo Cecchi | 2011-03-17 | 1 | -0/+1 |
| | | | | | This fixes a regression after commit b04f4c536aeab4281a9f0117e67accae19d691b9 | ||||
* | notebook: Don't set notebook style with hidden tabs | Bastien Nocera | 2011-03-17 | 1 | -0/+5 |
| | | | | | | | | | When tabs are not shown, and the notebook is used as a container, we should not set the notebook style, otherwise the theme has no way to know whether tabs are shown or not, and which colour to draw the background. https://bugzilla.gnome.org/show_bug.cgi?id=640692 | ||||
* | notebook: make GtkNotebook respect the focus-padding style property | Cosimo Cecchi | 2011-03-14 | 1 | -24/+24 |
| | | | | https://bugzilla.gnome.org/show_bug.cgi?id=644348 | ||||
* | notebook: add an 'initial-gap' style property | Cosimo Cecchi | 2011-03-09 | 1 | -0/+22 |
| | | | | | | It adds a gap before the first tab in the notebook. https://bugzilla.gnome.org/show_bug.cgi?id=643841 | ||||
* | notebook: flip the render order | Cosimo Cecchi | 2011-03-07 | 1 | -1/+37 |
| | | | | | | | | | | | The render order for tabs is now - left to right until the active tab - right to left until the active tab - active tab This allows themes that use non-straight lines for the tab curvature to draw them not worrying about flipping one side after the active tab. | ||||
* | notebook: fixup the last commit | Cosimo Cecchi | 2011-03-06 | 1 | -4/+9 |
| | | | | | | | | Let the tab overlap eat the padding, otherwise having tab-overlap > tab-curvature without cutting the label is impossible. This way we give the label widget all the allocation possible before giving up and cutting it if the values for tab-overlap are too extreme for the given padding. | ||||
* | notebook: make sure the label widget allocation not exceeds the overlap | Cosimo Cecchi | 2011-03-06 | 1 | -1/+34 |
| | |||||
* | notebook: make sure the allocation keeps track of the tab curvature | Cosimo Cecchi | 2011-03-06 | 1 | -2/+2 |
| | | | | | This was a genuine typo, because "padding" was calculated but unused in this branch of the code. | ||||
* | GtkNotebooks: fix regressions from tab-pack removal | Matthias Clasen | 2011-03-03 | 1 | -62/+48 |
| | |||||
* | GtkNotebook: Don't let tab allocation go negative | Matthias Clasen | 2011-03-03 | 1 | -2/+2 |
| | |||||
* | Silence new gcc warnings | Matthias Clasen | 2011-01-23 | 1 | -35/+25 |
| | | | | | gcc 4.6.0 has started to warn about set-but-unused variables. So don't do that, then. | ||||
* | GtkNotebook: only set/unset active flag on the tab label | Carlos Garnacho | 2011-01-23 | 1 | -2/+2 |
| | |||||
* | [GI] Add missing (transfer) annotations | Pavel Holejsovsky | 2011-01-20 | 1 | -1/+2 |
| | |||||
* | Avoid calling gtk_widget_is_visible(NULL) in _gtk_notebook_get_tab_flags(). | Tristan Van Berkom | 2011-01-15 | 1 | -1/+1 |
| | | | | The tab can be NULL here when GtkNotebook:show-tabs is FALSE. | ||||
* | Remove gtktypeutils altogether | Matthias Clasen | 2011-01-04 | 1 | -0/+1 |
| | | | | | | Based on patches by Javier Jardón. https://bugzilla.gnome.org/show_bug.cgi?id=629955 | ||||
* | Drop explicit includes of gdkkeysyms.h | Matthias Clasen | 2011-01-04 | 1 | -3/+1 |
| | | | | | These are no longer needed. At the same time, port gtkimcontextsimpleseqs.h to use the new GDK_KEY_ symbols. | ||||
* | Formatting fixes and whitespace cleanups | Matthias Clasen | 2011-01-04 | 1 | -2036/+2035 |
| | |||||
* | Remove pack property altogether | Matthias Clasen | 2011-01-04 | 1 | -2/+0 |
| | |||||
* | Remove pack consideration from tab drawing | Matthias Clasen | 2011-01-04 | 1 | -72/+16 |
| | |||||
* | Don't consider pack when allocating tabs | Matthias Clasen | 2011-01-04 | 1 | -82/+51 |
| | |||||
* | Drop pack consideration from gtk_notebook_search_page | Matthias Clasen | 2011-01-04 | 1 | -15/+3 |
| | |||||
* | Drop internal function to find page position | Matthias Clasen | 2011-01-04 | 1 | -27/+2 |
| | |||||
* | Remove pack consideration from tab dnd | Matthias Clasen | 2011-01-04 | 1 | -14/+8 |
| | |||||
* | Remove pack consideration from tab reordering | Matthias Clasen | 2011-01-04 | 1 | -20/+12 |
| | |||||
* | Remove pack arguments from some internal functions | Matthias Clasen | 2011-01-04 | 1 | -25/+12 |
| | | | | This removes pack from gtk_notebook_{set,query}_tab_label_packing. | ||||
* | Remove the deprecated GtkNotebook:tab-pack child property | Matthias Clasen | 2011-01-04 | 1 | -33/+1 |
| | |||||
* | GtkNotebook: fix reference to no-longer-exiting function in docs | Matthias Clasen | 2011-01-03 | 1 | -1/+1 |
| | |||||
* | GtkNotebook: remove unneeded call | Carlos Garnacho | 2011-01-04 | 1 | -2/+0 |
| | |||||
* | API: gdk: gdk_display_get_device_state() => gdk_device_get_position() | Benjamin Otte | 2010-12-27 | 1 | -3/+2 |
| | | | | | The API was not display-specific, but belonged to the device. Also, we didn't find a user of the modifier mask, so we dropped it. | ||||
* | notebook: Use nondeprecated API to query coordinates | Benjamin Otte | 2010-12-27 | 1 | -1/+3 |
| | |||||
* | Add a default handler for drag_failed | Matthias Clasen | 2010-12-22 | 1 | -7/+3 |
| | | | | And use it in notebook dnd. |