Ryan Lortie
ceeef03004
quartz menu: add special items
...
Add support for the "Hide app", "Hide Others" and "Show All" special
items and for the "Services" submenu.
https://bugzilla.gnome.org/show_bug.cgi?id=720552
2014-01-17 22:37:04 -05:00
Volker Sobek
a4d69e7f14
docs/comments: Fix spelling of 'explicitly'
...
This replaces all occurrences of 'explicitely' with 'explicitly'. Only
code comments and gtk-doc statements are affected.
https://bugzilla.gnome.org/show_bug.cgi?id=722429
2014-01-18 03:47:46 +01:00
Ryan Lortie
ea0ede201e
GtkMenuTracker: add 'special' items
...
Allow the possibility for items to be marked with a special attribute and
expose this via GtkTrackerMenuItem. For internal use only.
We will use this to implement the special 'Hide', 'Hide Others' and 'Show All'
items and the 'Services' submenu in the Mac OS application menu.
https://bugzilla.gnome.org/show_bug.cgi?id=720552
2014-01-17 20:32:55 -05:00
Ryan Lortie
e70f506e83
quartz menu: change sensitivity approach
...
By default, Mac OS scans menus as they are opened, updating the
sensitivity of each item in the menu.
The current code in gtkapplication-menu-quartz disables this behaviour,
preferring to manually control the sensitivity of each item in the menu
(when told by the tracker that it has changed internally).
Change the way that this works to more closely follow the usual Mac OS
regime.
This will allow us to construct a typical "application menu" on Mac OS
containing the items that are typically found there ("Hide", "Hide
Others", "Show All", "Services") and have the OS automatically update
their sensitivity.
https://bugzilla.gnome.org/show_bug.cgi?id=720552
2014-01-17 20:29:31 -05:00
Matthias Clasen
b73d291086
header bar: Make it possible to have no title
...
Add a custom title had the side-effect of showing the widget.
That is not right, adding children and managing their visibility
should be independent. The headerbar size allocation code also
made the assumption that a custom title is always visible.
With these changes, GtkHeaderBar should be usable in situations
where the centering functionality is not required, and it is
important to freely pack content at both ends, such as in nautilus.
https://bugzilla.gnome.org/show_bug.cgi?id=722340
2014-01-17 19:52:29 -05:00
Matthias Clasen
c2d7a74c0b
Update colorchooser.ui test output
...
These are expected changes from the last few commits.
2014-01-17 17:52:08 -05:00
Matthias Clasen
fec99f3ee5
Update messagedialog.ui test output
...
These are expected changes from the last few commits.
2014-01-17 17:52:08 -05:00
Matthias Clasen
dc749c5a27
mount operation: Use headerbar
...
Make GtkMountOperation use a headerbar for its dialog
when desired.
2014-01-17 17:52:08 -05:00
William Jon McCann
066810ac00
recent chooser dialog: Use headerbar
...
Make the recent chooser dialog use a headerbar
when desired.
https://bugzilla.gnome.org/show_bug.cgi?id=720059
2014-01-17 17:52:08 -05:00
William Jon McCann
bf14a334f4
file chooser dialog: Use headerbar
...
Make the file chooser dialog use a headerbar
when desired.
https://bugzilla.gnome.org/show_bug.cgi?id=720059
2014-01-17 17:52:08 -05:00
William Jon McCann
b0caf23977
custom paper dialog: Use headerbar
...
Make the custom paper dialog use a headerbar when desired.
https://bugzilla.gnome.org/show_bug.cgi?id=720059
2014-01-17 17:52:08 -05:00
William Jon McCann
f2d6ed3290
page setup dialog: Use headerbar
...
Make the page setup dialog use a headerbar when desired.
https://bugzilla.gnome.org/show_bug.cgi?id=720059
2014-01-17 17:52:08 -05:00
William Jon McCann
bb951fe783
print dialog: Use headerbar
...
Make the print dialog use a headerbar when desired.
https://bugzilla.gnome.org/show_bug.cgi?id=720059
2014-01-17 17:52:08 -05:00
William Jon McCann
dfaa4857f5
app chooser: Use headerbar
...
Use a GtkHeaderBar in the app chooser dialog when desired.
https://bugzilla.gnome.org/show_bug.cgi?id=720059
2014-01-17 17:52:08 -05:00
William Jon McCann
9c443b4a3c
color chooser: Use headerbar
...
Make GtkColorChooserDialog use a headerbar when desired.
https://bugzilla.gnome.org/show_bug.cgi?id=720059
2014-01-17 17:52:08 -05:00
William Jon McCann
3eb2430a98
font dialog: Use headerbar
...
Make the font chooser dialog use a headerbar
when desired.
https://bugzilla.gnome.org/show_bug.cgi?id=720059
2014-01-17 17:52:08 -05:00
William Jon McCann
a70f8f44b4
about dialog: Use headerbar
...
Use a GtkHeaderBar for the credits and about buttons.
It makes less sense here than in other places to go back to
the buttons on the bottom, considering we only have a close
button, so we always use a header bar.
https://bugzilla.gnome.org/show_bug.cgi?id=720059
2014-01-17 17:52:08 -05:00
Matthias Clasen
54b1419952
dialog: Show the action area when needed
...
If we find that widgets are being added to the action area,
we should show it. Also warn in this situation.
2014-01-17 17:52:08 -05:00
Matthias Clasen
c6ae9e6b47
Exclude use-header-bar from the defaultvalue test
2014-01-17 17:52:08 -05:00
Matthias Clasen
106bcc7f5e
Make it possible to set use-header-bar from a setting
...
This commit introduces a private convenience API that derived
dialogs can call in their instance init. This is necessary to
make the setting work as intended in the face of 3rd party
dialogs derived e.g. from GtkFileChooserDialog, which are
created with g_object_new.
2014-01-17 17:52:08 -05:00
Matthias Clasen
3701de14a1
Add a setting for dialog headers
...
This setting will let us keep traditional appearance
of dialogs on platforms where this is expected.
The new setting is called gtk-dialogs-use-header, backed
by the Gtk/DialogsUseHeader xsetting.
2014-01-17 17:52:08 -05:00
William Jon McCann
e2c87f9dcd
demo: Add two buttons to the message dialog
...
This tests the new. prompt-like layout of message dialogs
better.
https://bugzilla.gnome.org/show_bug.cgi?id=720059
2014-01-17 17:52:07 -05:00
William Jon McCann
f69de3c14a
message dialog: Center text
...
https://bugzilla.gnome.org/show_bug.cgi?id=720059
2014-01-17 17:52:07 -05:00
William Jon McCann
a3b423ce5b
message dialog: Don't show images
...
https://bugzilla.gnome.org/show_bug.cgi?id=720059
2014-01-17 17:52:07 -05:00
Matthias Clasen
c42b39a9db
message dialog: Allow action area to extend to the edge
...
https://bugzilla.gnome.org/show_bug.cgi?id=720059
2014-01-17 17:52:07 -05:00
Matthias Clasen
38d8fdab80
message dialog: Don't use headerbar
...
https://bugzilla.gnome.org/show_bug.cgi?id=720059
2014-01-17 17:52:07 -05:00
Matthias Clasen
de90d5a4f8
dialog: Add style classes
...
These will be used in subsequent commits to better style
message dialogs.
2014-01-17 17:52:07 -05:00
William Jon McCann
9640eccd14
dialog: Add a headerbar
...
This change makes it possible for GtkDialog to pack
its action widgets into a header bar, instead of the
traditional action area. This change is controlled
by the use-header-bar construct-only property.
https://bugzilla.gnome.org/show_bug.cgi?id=720059
2014-01-17 17:52:07 -05:00
Matthias Clasen
25e6ba48e7
Update all internal users of alternative button order
...
We'll keep this code around for now to not regress
on Windows, but avoid deprecation warnings.
2014-01-17 17:52:07 -05:00
William Jon McCann
57139820c9
dialog: Mark alternate button order as deprecated
...
This feature was never implemented 100% correct, and
does not apply to action buttons in header bars.
https://bugzilla.gnome.org/show_bug.cgi?id=720059
2014-01-17 17:52:07 -05:00
Matthias Clasen
3d354026ca
file chooser: Clean up direct action area interaction
2014-01-17 17:52:07 -05:00
Matthias Clasen
abe29dd188
Update all internal users of gtk_dialog_get_action_area
...
Some of these should be revisited and fixed. For now,
just avoid the deprecation warnings.
2014-01-17 17:52:07 -05:00
Matthias Clasen
32a2901294
dialog: Mark gtk_dialog_get_action_area as deprecated
...
Direct access to the action area by applications makes it much more
difficult to make changes to GtkDialog. Therefore, deprecate this
function.
2014-01-17 17:52:07 -05:00
William Jon McCann
7ed2958943
demo: Add new button box layouts
...
This adds a test case for the new expand layout.
https://bugzilla.gnome.org/show_bug.cgi?id=720059
2014-01-17 17:52:07 -05:00
Matthias Clasen
1258eadd75
button box: Set linked style for extend
...
This is needed for proper styling of the new extend-placement
in button boxes.
2014-01-17 17:52:07 -05:00
William Jon McCann
00326d3362
Add an expand button box type
...
https://bugzilla.gnome.org/show_bug.cgi?id=720059
2014-01-17 17:52:07 -05:00
William Jon McCann
8db2ba425a
window: Allow unsetting custom titlebar
...
https://bugzilla.gnome.org/show_bug.cgi?id=720059
2014-01-17 17:52:06 -05:00
William Jon McCann
24aa40ed35
headerbar: Set a minimum size for the title
...
https://bugzilla.gnome.org/show_bug.cgi?id=720059
2014-01-17 17:52:06 -05:00
Paolo Borelli
4adc072952
Use gtk_window_close for gtk_dialog_close
...
We manually synthethized the delete event, but now we have the
corresponding method in GtkWindow
2014-01-17 19:24:27 +01:00
Debarshi Ray
a5ff70f949
widget: Add deprecation annotations for {get,set}_margin_{left,right}
...
Fallout from 9921bec63a
2014-01-17 18:03:52 +01:00
Mattias Põldaru
35092a7c2e
[l10n] Updated Estonian translation
2014-01-17 17:47:55 +02:00
Daniel Mustieles
5bdb069494
Updated Spanish translation
2014-01-15 10:20:21 +01:00
Piotr Drąg
78b0962137
Updated POTFILES.skip
2014-01-15 00:53:10 +01:00
Matthias Clasen
915c86c73a
Bump version
2014-01-14 15:20:59 -05:00
Paolo Borelli
609ddec1f8
Always return FALSE from the notebook leave_notify handler
...
As discussed on IRC with Benjamin, this should not make much
difference in practice, but it is more correct
2014-01-14 20:29:46 +01:00
Paolo Borelli
84b44dd2ac
Readd line removed by mistake in the previous commit
2014-01-14 20:23:52 +01:00
Paolo Borelli
4a3f21b693
Prelight notebook tab
...
Set the prelight state when hovering a notebook tab with the mouse.
https://bugzilla.gnome.org/show_bug.cgi?id=711233
2014-01-14 20:18:54 +01:00
Matthias Clasen
3c12f6da1f
Make the action bar reftest reliable
2014-01-14 14:05:37 -05:00
Matthias Clasen
eaab79bc26
Updates
2014-01-14 13:15:20 -05:00
Matthias Clasen
d2eeaec3cc
Update expected output for tree.ui
...
Now that the utf8 actually appears...
2014-01-14 13:15:19 -05:00