Benjamin Otte
a7f40fc0ea
gtk-demo: Order tweets newest first in listbox example
2015-08-24 21:28:53 +02:00
Matthias Clasen
4d9a943338
gtk-demo: Add a model button demo
...
This shows how to hook model buttons up to various action types,
or how to create them manually.
2015-08-19 23:18:01 -04:00
Matthias Clasen
ab09ffaa8c
gtk-demo: Use top/bottom-margin for text views
...
This lets us replace the hack of inserting tags in the first
and last paragraph to set a above/below-paragraph space.
2015-08-17 01:40:32 -04:00
Matthias Clasen
cf237eccbe
widget-factory: Add a lock button
2015-08-10 22:43:19 -04:00
Matthias Clasen
b048181157
gtk-demo: Add a scale example
2015-07-31 16:36:02 -04:00
Matthias Clasen
7d91ca3183
widget-factory: Test busy state
...
Makes it easy to test insensitive state of widgets.i
Also exposes brokenness in the shell busy indicator...
2015-07-30 10:36:34 -04:00
Matthias Clasen
6bf2e9e7a7
gtk-demo: Move the transparent example under Overlay
2015-07-29 21:43:28 -04:00
Matthias Clasen
1ce7c76cda
gtk-demo: Rename textview demos to "Text View"
...
Fits better with "Tree View".
2015-07-29 21:43:20 -04:00
Matthias Clasen
94120094ab
gtk-demo: Tweak the markup demo
2015-07-29 21:43:13 -04:00
Matthias Clasen
627886c682
gtk-demo: Add font features to markup demo
2015-07-29 21:43:07 -04:00
Matthias Clasen
3c2a759c21
gtk3-demo: Add a markup demo
2015-07-29 13:57:25 -04:00
Matthias Clasen
1fb154e62a
gtk3-demo: Add a scrollbar context menu
...
Just to demonstrate the capability, not because this is
excellent UI.
2015-07-28 23:48:10 -04:00
Matthias Clasen
763bf27d9c
gtk3-demo: Add another overlay demo
2015-07-28 22:47:57 -04:00
Matthias Clasen
5c2759af3c
Use standard cursor names
...
This changes GTK+ to use gdk_cursor_new_from_name() with the
'standard' css names, instead of GdkCursorType.
https://bugzilla.gnome.org/show_bug.cgi?id=652085
2015-07-26 01:45:06 -04:00
Matthias Clasen
b847937772
gtk-demo: Expand the filter model example
...
Show normal filtering as well.
2015-07-24 14:27:08 -04:00
Matthias Clasen
13b4500f52
widget-factory: hook up callbacks to the tab close buttons
...
Just to show that buttons in notebook tabs work.
2015-07-24 12:22:19 -04:00
Timm Bäder
c28d0a7e0a
gtk3-demo: Don't use xalign on GtkCheckButton
2015-07-23 17:37:49 +02:00
Matthias Clasen
6a5586a416
gtk-demo: Add a filter model example
...
This shows computed columns.
2015-07-22 10:59:53 -04:00
Timm Bäder
3fc5d09890
gtk3-demo: Don't set xalign of GtkCheckButton
...
It's deprecated and doesn't make a difference here.
2015-07-22 06:58:08 +02:00
Matthias Clasen
0d7a9dc4b8
gtk-demo: Properly clean up timeouts in search entry demo
2015-07-21 21:12:36 -04:00
Timm Bäder
173ef4ee66
offscreen_window: Remove deprecated API calls
2015-07-20 21:02:58 +02:00
Matthias Clasen
770fc90e7c
gtk-demo: Check a return value
...
Found by coverity.
2015-07-17 16:11:16 -04:00
Matthias Clasen
109572286c
gtk3-demo: Group pango demos together
2015-06-28 22:46:53 -07:00
Matthias Clasen
f97786f5e9
gtk3-demo: Add a fancy text demo
...
This demonstrates rendering text with a pattern instead of a
single color.
2015-06-28 22:43:27 -07:00
Matthias Clasen
876a6b550b
gtk-demo: Make the info bar example wrap
2015-06-28 17:41:44 -04:00
Matthias Clasen
609e04ddcf
gtk-demo: Cosmetic changes
...
Clean up the code of many examples in minor ways, fix some memory
leaks, and avoid the use of dialogs where a regular toplevel works
just as well.
2015-06-28 17:41:35 -04:00
Matthias Clasen
be4a25231d
gtk-demo: Add a spin button example
...
More or less copied from the spin button example in testgtk.
2015-06-28 17:40:58 -04:00
Matthias Clasen
eab0df12a8
gtk-demo: Add forgotten source file
...
The font_features.c file was not added as a resource, so that
gtk3-demo could not display it.
2015-06-19 22:03:19 -04:00
Matthias Clasen
0a601b093c
gtk-demo: Many cosmetic fixes
...
Mostly update window titles, and some addition to descriptions.
2015-06-19 21:59:15 -04:00
Matthias Clasen
d6a52218d1
gtk3-demo: Improve the overlay demo
...
Add some more information to the description.
2015-06-19 20:09:55 -04:00
Matthias Clasen
afd75070a2
gtk-demo: A better overlay demo
...
This shows the new passthrough feature.
2015-06-19 18:16:19 -04:00
Chun-wei Fan
28b8541847
gtk-demo: Don't Distribute demos.h
...
Since demos.h is now generated according to the platform for which GTK+ is
built, don't distribute it. Generate a Windows-specific demos.h.win32 and
distribute that instead, in which the Visual Studio build files will copy
it to demos.h, so that the build will proceed normally.
https://bugzilla.gnome.org/show_bug.cgi?id=749622
2015-06-19 23:46:05 +08:00
Matthias Clasen
010a120351
Add a font features demo
...
This started life as a standalone tool, but it is nicer
to have it integrated in gtk3-demo.
2015-06-19 09:32:10 -04:00
Matthias Clasen
fa29a01c26
widget-factory: Make the circular button do something
2015-06-14 21:37:58 -04:00
Matthias Clasen
2af2189347
widget-factory: More popover examples
...
Add an example for text input in a popover. This leads to nested
popovers with touch selection, and does not currently work.
2015-06-13 21:10:25 -04:00
Matthias Clasen
94fc9f5211
widget-factory: Add horizontally linked entries
...
It happens in some places, so artists need an example to
make it look good.
2015-06-13 21:10:25 -04:00
Matthias Clasen
06726b4d4b
gtk-demo: Make hypertext demo work with touch
...
Make tapping on the links work.
2015-06-09 23:31:00 -04:00
Matthias Clasen
fe219a25b7
widget-factory: Improve touch selection example
...
Make the check buttons not take focus on click, so the popover
stays open.
2015-06-09 15:50:50 -04:00
Matthias Clasen
359d1951bc
widget-factory: Improve context menu example
...
Show the text formatting in the menu / popover.
2015-06-07 01:24:13 -04:00
Matthias Clasen
e1942a8bb9
widget-factory: Demonstrate custom context menu items
...
Add bold/italics/underline styling to the context menu of
the 'Lorem ipsum...' text view in page 1. The point is not
to show good UI for this kind of styling, but to demonstrate
custom actions in the context menu / touch selection.
2015-06-07 01:12:18 -04:00
Cosimo Cecchi
345f2a484b
Use built-in gtk-update-icon-cache
...
To generate the icon cache files.
We want to avoid a dependency loop if possible; additionally, on some
Debian-based systems gtk-update-icon-cache maps to the GTK2 version of
the utility and the GTK3 version is renamed to
gtk-update-icon-cache-3.0.
To avoid a build dependency on GTK2, use the binary that we just built
in-tree.
https://bugzilla.gnome.org/show_bug.cgi?id=749593
2015-05-24 12:08:33 -07:00
Matthias Clasen
90a8118838
Add a main category to desktop files
...
This makes desktop-file-validate happy.
2015-05-14 15:28:22 -04:00
Matthias Clasen
bce624e7a7
gtk3-demo: Add a page setup example
...
This mainly so I can fix deprecation warnings in the
page setup dialog.
2015-05-12 08:20:35 -04:00
Matthias Clasen
cfc07fdfcf
gtk-demo: Don't rely on gdk_cursor_get_image
...
This function is only implemented on X11. Instead,
just use a fixed set of cursor images from resources.
2015-05-11 23:06:50 -04:00
Matthias Clasen
9d921ec148
gtk-demo: Port builder example away from GtkUIManager
...
This makes gtk3-demo deprecation-free.
2015-05-10 21:03:13 -04:00
Matthias Clasen
d89766ce41
gtk-demo: Remove an unncessary define
...
The changedisplay example no longer uses and deprecated
API, so don't disable deprecations.
2015-05-10 21:03:13 -04:00
Matthias Clasen
d3f1b3ee41
gtk-demo: Drop cursor name fallback code
...
GdkCursor itself will now do whats necessary to support these
names.
2015-05-08 13:34:25 -04:00
Matthias Clasen
36006eb918
gtk3-demo: Add a cursors demo
2015-05-07 21:29:58 -04:00
Matthias Clasen
ea3190d0ac
gtk3-widget-factory: Simplify ui file
2015-05-04 08:02:32 -04:00
Emmanuele Bassi
721134b008
demo/glarea: Check errors on GtkGLArea
...
We should not call OpenGL API if GtkGLArea is in an error state.
https://bugzilla.gnome.org/show_bug.cgi?id=746746
2015-03-25 15:20:36 +00:00
Matthias Clasen
5c5464a469
radio-menu-item: Add join_group()
...
The other Radio* widgets have this convenience method that removes the
memory management of the opaque GSList used to handle the group from the
API usable from language bindings (especially the ones not based on
introspection).
This commit adds gtk_radio_menu_item_join_group().
https://bugzilla.gnome.org/show_bug.cgi?id=671362
2015-03-22 02:10:38 -04:00
Matthias Clasen
fa1bb8972a
gtk-demo: Plug a memory leak
2015-03-19 22:57:10 -04:00
Matthias Clasen
8e82d0fba2
widget-factory: Fix toolbar on page 3
...
Set toolbar-style to 'icons' to avoid rectangular buttons.
2015-03-19 19:11:39 -04:00
Matthias Clasen
d5d28a5062
widget factory: Add an example for an insensitive model button
...
This will make it easier to make insensitive model buttons
appear properly in other themes.
2015-03-16 14:05:48 -04:00
Matthias Clasen
25b610ef5e
widget-factory: Add an insensitive toolbutton
...
This will help getting their theming right in HighContrast.
2015-03-15 22:54:02 -04:00
Matthias Clasen
de239ca31b
widget-factory: Add tab close buttons
...
This will make it easier to fix issues with such buttons
in HighContrast.
2015-03-15 22:44:33 -04:00
Matthias Clasen
5dfbeb978f
gtk3-demo: Stop using follow-state
...
It is no longer needed.
2015-03-15 22:44:33 -04:00
Matthias Clasen
8d58b64c28
widget-factory: Stop using follow-state
...
The property is no longer needed, cell renderers now
always follow state.
2015-03-15 22:44:33 -04:00
Matthias Clasen
1ffcdfcc32
icon browser: Set up dnd from the detail popup
...
Allow dragging the various icon sizes as images.
2015-02-22 14:44:10 -05:00
Matthias Clasen
ae63b21c61
icon browser: Add some dnd support
...
Use a custom tree model and enable dragging from the icon view.
Currently, we just support dropping the icon name as text.
2015-02-22 14:44:10 -05:00
Matthias Clasen
967ba60303
icon browser: Activate on single-click
...
We want to get away from double-clicks everywhere.
2015-02-22 14:44:10 -05:00
Matthias Clasen
ee857cd261
icon browser: stop selecting
...
We don't need the selection here.
2015-02-22 14:44:09 -05:00
Matthias Clasen
e1100813e6
widget factory: Don't make file chooser local-only
...
There's no reason to.
2015-02-18 17:28:07 -05:00
Lars Uebernickel
f3110e4103
Rename GtkSidebar to GtkStackSidebar
...
GtkSidebar is too generic and doesn't fully convey what the widget does.
https://bugzilla.gnome.org/show_bug.cgi?id=744094
2015-02-13 18:01:56 +01:00
Emmanuele Bassi
6bf55142ee
demo: Change the resource path for the shaders
...
We need to use the same name as the "plugin" so that the main UI will
display the resources inside a notebook tab.
2015-02-09 19:32:38 +00:00
Emmanuele Bassi
3b4bf963f6
demo: Move the GLSL shaders to resources
...
It's easier to use them or modify them as separate files, instead of
inlined inside the C source.
https://bugzilla.gnome.org/show_bug.cgi?id=741946
2015-02-09 19:10:31 +00:00
Emmanuele Bassi
01d1cdc76c
demos: Update the GtkGLArea demo code
...
Same way we updated the testglarea test code.
https://bugzilla.gnome.org/show_bug.cgi?id=741946
2015-02-09 19:10:30 +00:00
Matthias Clasen
a0ecb44b41
gtk-demo: Show search entry signals
2015-01-24 08:44:30 -05:00
Matthias Clasen
531fa78601
gtk-demo: Make editable cells demo more robust
...
When removing all rows, trying to add rows would not work
and throw criticals. This is fallout from a recent change
to insert rows at the right position. Fix this by handling
the 'empty model' case separately.
https://bugzilla.gnome.org/show_bug.cgi?id=743157
2015-01-19 07:36:08 -05:00
Matthias Clasen
35a8d3d770
widget-factory: Add a combo box separator example
...
This shows that combo box separators are currently broken
in Adwaita.
2015-01-10 20:14:24 -05:00
Benjamin Otte
f0a40b1a23
widget-factory: Don't pulse dead widgets
...
Causes crashes at cleanup and we don't want those.
Also, code gets simpler.
2014-12-19 19:20:06 +01:00
Phillip Wood
6b26464fbb
Editable cells demo: Add new row at cursor
...
Adding rows to the bottom of the list is confusing as you cannot see
them if the window is small so it is not apparent that anything has
happened. Fix this by adding the new row immediately below the current
row and set the cursor on the new row so it is ready to be edited.
https://bugzilla.gnome.org/show_bug.cgi?id=721939
2014-12-07 18:53:30 -05:00
Carlos Soriano
eec9a74304
widget-factory: Add a discontinuous GtkScale with marks
...
So designers can tweak the marks and developers can see how a
discontinuos scale is implemented.
https://bugzilla.gnome.org/show_bug.cgi?id=741117
2014-12-05 13:23:05 +01:00
Trinh Anh Ngoc
7717b0d556
Add separator
...
https://bugzilla.gnome.org/show_bug.cgi?id=741027
2014-12-02 23:15:19 -05:00
Trinh Anh Ngoc
01c941b046
Remove icon view window shadow
...
https://bugzilla.gnome.org/show_bug.cgi?id=741027
2014-12-02 23:15:19 -05:00
Rui Matos
e629aba1a2
Drop remaining traces of GTK_UPDATE_ICON_CACHE build variable
...
Commit 655c75cab7
removed the need for
this variable but left a couple of uses in. Drop them.
2014-12-01 18:32:56 +01:00
Matthias Clasen
5bf640d344
widget-factory: Add a treeview separator row
...
Suggested in https://bugzilla.gnome.org/show_bug.cgi?id=740851
2014-11-29 18:49:46 -05:00
Jasper St. Pierre
641d4c4e3d
Fix build
2014-11-28 14:03:57 -08:00
Jakub Steiner
53e07d3c0f
Provide symbolic variants of app icons
...
Install symbolic variants of the app icons for gtk3-demo and
gtk3-widget-factory. These are necessary for the HighContrast theme.
https://bugzilla.gnome.org/show_bug.cgi?id=740447
2014-11-28 16:08:56 -05:00
Matthias Clasen
6a618bf48c
widget-factory: Add some margins to text views
2014-11-12 17:23:45 -05:00
Matthias Clasen
d50dd1d33c
gtk3-demo: Use better text margins
...
We really want margins around the scrollable content, not around
the viewport. Make it so by using textview-specific properties.
This is unfortunately a little complicated for top/bottom.
2014-11-12 16:05:49 -05:00
Matthias Clasen
dd7a851f69
widget-factory: Fill up page 2 properly
...
The collapsed expander leaves and odd empty corner, so expand
it initially.
2014-11-05 06:29:47 -05:00
Matthias Clasen
45c0461f9b
widget-factory: Add another osd
...
This is modeled after the totem osd.
2014-11-05 06:13:39 -05:00
Matthias Clasen
fcdec5ac41
icon-browser: Add search
...
Most of the code was already in place, just some loose ends
to fix up.
2014-10-31 22:28:17 -04:00
Matthias Clasen
bb41cfe9d9
Improve warning
...
Mention the file that we're failing to load. That makes it obvious
what is wrong.
2014-10-30 13:41:13 -04:00
Matthias Clasen
e36b57e7f9
gtk-demo: Drop uses of gdk_cursor_new()
...
Use gdk_cursor_new_for_display() instead.
2014-10-28 00:56:46 -04:00
Matthias Clasen
a680631345
gtk3-demo: Add a frame to the sidebar
...
With overlay scrollbars, there's no visible separation between
the sidebar and the content otherwise.
2014-10-27 17:15:31 -04:00
Matthias Clasen
f32ec2e4be
widget-factory: Add mnemonics in the prefs dialog
...
This helps testing the mmemonic label display in the inspector,
and is just good practice.
2014-10-24 08:34:13 -04:00
Lapo Calamandrei
21536775d7
widget-factory: set show-border to false on page 3 notebooks
2014-10-24 13:08:06 +02:00
Matthias Clasen
4cbc0191cb
widget-factory: Example for edge-overshot
...
For extra fun, make some noise.
2014-10-20 20:54:31 -04:00
Matthias Clasen
7b28b1c9ba
widget-factory: Add a wide-handle example
2014-10-20 18:48:37 -04:00
Matthias Clasen
f3f0fc6bb2
widget-factory: Add a missing scrolled window
2014-10-15 21:53:53 -04:00
Matthias Clasen
2e093eafbf
widget-factory: Add some vertical examples
...
This adds both a vertical toolbar and vertically linked buttons.
2014-10-15 21:42:51 -04:00
Lars Uebernickel
582adcab1a
Add GDK_DEP_LIBS to demos and tests
...
Some of them depend on libepoxy now.
2014-10-15 16:15:35 +02:00
Alexander Larsson
62a26eb3c8
Add glarea demo to gtk3-demo
2014-10-13 10:43:31 -04:00
Matthias Clasen
d120346992
gtk3-demo: Don't use deprecated API
...
Replace various override calls.
2014-10-07 00:48:30 -04:00
Matthias Clasen
c79ccfd6f1
widget-factory: Cosmetic improvement
2014-10-04 15:14:26 -04:00
Matthias Clasen
79afd7c8d7
widget-factory: More vertical linking examples
2014-10-04 15:01:29 -04:00
Matthias Clasen
b22919220b
widget-factory: Make the record button more interesting
2014-10-03 01:13:02 -04:00
Matthias Clasen
3b18ea71c3
widget-factory: Add a sidebar example
2014-10-03 01:04:29 -04:00
Benjamin Otte
c9d9c9158f
gtk-demo: Replace old code
...
"Hey I know, let's do an easter egg!"
"What kind of easter egg?"
"We can nest lots of textviews!"
"Sounds cool!"
...
"But how does one see a textview inside a textview?"
"What do you mean?"
"Well, it just looks like black text on a white background."
"You mean it's the same as if we just duplicated the text?"
"Yeah!"
"Hrm, maybe we can put a frame around it."
"Sounds good. I'll stuff the textviews in a GtkFrame."
"What? Why? Let's use a GtkEventBox and override its background"
"Why is that a good idea when we have GtkFrame?"
"Because I said so!"
"Okay."
2014-10-03 06:59:14 +02:00
Benjamin Otte
2b6a4ba890
gtk-demo: Remove useless code in colorsel example
...
We have the color stored in a global variable already. There is
absolutely no need to also force it into the CSS machinery.
2014-10-03 06:48:18 +02:00
Benjamin Otte
23a4affb6f
gtk-demo: Improve flowbox demo code
...
Overriding the background color for a color swatch is wrong. The color
is not the background, it's the foreground, so it should be painted in
a draw signal handler.
2014-10-03 06:45:38 +02:00
Benjamin Otte
40e0973709
gtk-demo: Remove unneeded code
...
Overlays are transparent by default, no need to override them to be.
2014-10-03 06:40:13 +02:00
Benjamin Otte
2fbc77fce1
gtk-demo: Properly override font color in combobox example
2014-10-03 06:38:21 +02:00
Matthias Clasen
5c46db1d77
widget-factory: Add more buttons
...
Some more button variations, found in the wild.
2014-10-02 23:38:58 -04:00
Matthias Clasen
5b36bd704b
widget-factory: Add a scale button
...
Instead of two volume buttons, make the second one a scale button
and use microphones.
2014-10-02 21:42:08 -04:00
Matthias Clasen
eb88ce429c
gtk-demo: Make the sidebar demo scroll
2014-10-02 18:06:02 -04:00
Ikey Doherty
cdd2651db0
Add GtkSidebar
...
GtkSidebar behaves internally much like GtkStackSwitcher, providing a vertical
sidebar like widget. It is virtually identical in appearance to the widget
currently used in GNOME Tweak Tool.
This widget is connected to a GtkStack, and builds its own contents as a
GtkListBox subclass, using the "title" child property to provide a consistent
navigatable widget.
Being a subclass of GtkListBox it benefits immediately from strong keyboard
navigation, and minimal changes are required for theming.
https://bugzilla.gnome.org/show_bug.cgi?id=735293
Signed-off-by: Ikey Doherty <michael.i.doherty@intel.com>
2014-10-01 00:44:46 -04:00
Matthias Clasen
6ce24d82d6
gtk-demo: Don't create 2 main windows
...
Loading a builder file with a window leaves a ghost behind, since
windows need to be explicitly destroyed. Avoid that by using
gtk_builder_add_objects_from_resource.
2014-09-25 23:57:34 -04:00
Руслан Ижбулатов
250eb1e889
Add app-menu.ui to EXTRA_DIST
2014-09-09 10:28:48 +00:00
Lapo Calamandrei
541511c89a
widget-factory: remove margin from app-notification
2014-09-04 20:18:31 +02:00
Matthias Clasen
2b643a6fd1
widget-factory: More variety in listbox content
...
Add rows with buttons and checkboxes to the listbox example
on page 2, and make the switch in row 1 toggle selection mode,
to test various cases of widgets in 'selected context'.
2014-09-02 22:25:29 -04:00
Benjamin Otte
4a6ecf33fc
gtk-demo: Don't use mad mime type guessing
...
... for displaying resources. Instead use the proven and way more
reliable method of trial and error.
It's less code and more portable for a start.
But most of all it displays PNM files as text if you fail to compile
the gdk-pixbuf loader for it.
2014-08-27 18:02:48 +02:00
Jehan
4376b4f705
Fix the build of the native gtk-update-icon-cache when cross-compiling.
...
As a noinst_PROGRAMS, the libtool generated for cross-compiling will be
used, which will mess up the linking. Create a all-local target instead.
Also ensure that building uses always a native version of the tool by
specifying a GTK_UPDATE_ICON_CACHE automake variable.
Finally "config.h" has been created to work for the target platform and
causes problem when cross-compiling. So we temporarily generate a basic
config.h which contains only the strict minimum.
2014-08-13 21:06:51 +00:00
Matthias Clasen
d47192179b
widget-factory: Avoid a compiler warning
...
This is adjusting to the draw_layer signature change.
2014-08-13 09:19:09 -04:00
Matthias Clasen
7af9dc9e21
widget-factory: Add a missing style class
...
Unfortunately, constructing image-only buttons by just adding
the image as a child does not give us the image-button style
class. Add it manually.
2014-08-13 09:18:08 -04:00
Matthias Clasen
e654fe5124
widget-factory: Don't say 'Etched out' twice
...
There's no difference between these shadow types anymore, but
it is irritating to see the same label twice.
2014-08-12 22:21:08 -04:00
Matthias Clasen
79f4d5d610
widget-factory: Improve the flow box example
...
Make the selection actually do something. This is also an opportunity
to test the new draw-layer vfunc in GtkTextView.
2014-08-12 22:14:21 -04:00
Matthias Clasen
9fab7a684b
widget-factory: Add a flowbox example
...
This is now really polished yet, but will let us work towards
'responsive grid'.
2014-08-12 20:23:05 -04:00
Matthias Clasen
c46ca9b25b
widget-factory: Make dialogs non-resizable
...
They have no reason to be.
2014-08-12 20:23:05 -04:00
Matthias Clasen
7b5e8dff9d
widget-factory: Don't use rules-hint
2014-08-12 19:06:58 -04:00
Debarshi Ray
a397824e9b
widget-factory: Add a reset button to the notification
...
Change the initial value to something that is not a multiple of 3, so
that dismissing the notification on reset makes sense. Let's use 50
because that is already being used elsewhere.
https://bugzilla.gnome.org/show_bug.cgi?id=734614
2014-08-11 23:43:43 +02:00
Debarshi Ray
5d8efb43bc
widget-factory: Turn off focus-on-click for notification close button
...
... because that is what most applications are doing. So lets do the
same thing for the sake of consistency and setting a good example.
https://bugzilla.gnome.org/show_bug.cgi?id=734614
2014-08-11 23:43:43 +02:00
Matthias Clasen
0a44be21af
widget-factory: Make one switch start out active
...
This nicely shows off
https://bugzilla.gnome.org/show_bug.cgi?id=734213
2014-08-04 12:28:01 +02:00
Matthias Clasen
5f7485f647
gtk-demo: Drop use of deprecated api
...
There were several uses of gtk_tree_view_set_rules_hint here.
Just drop them, the theme was ignoring them anyway.
2014-08-04 10:09:18 +02:00
Matthias Clasen
97237fc54c
widget-factory: Add a linked combobox example
...
This came up in https://bugzilla.gnome.org/show_bug.cgi?id=733979
2014-08-03 11:07:25 +02:00
Matthias Clasen
5e3d6ab06b
icon-browser: Redo the icon categorization
...
Instead of slavishly following the naming spec, group the icons
into categories that are more likely to be useful for application
developers. Based on input from Allan Day and Jakup Steiner.
2014-08-02 14:00:02 +02:00
Matthias Clasen
ea1f9bff2d
icon-browser: Show category descriptions as tooltips
...
No better place for them right now.
2014-08-02 13:59:57 +02:00
Matthias Clasen
86d9628a94
icon-browser: Hide the description label when empty
2014-07-29 14:57:28 +02:00
Matthias Clasen
10412dd341
icon-browser: Don't crash on exit
2014-07-29 14:50:10 +02:00
Matthias Clasen
73f54716ad
icon-browser: Don't show empty categories
...
We don't have any icons in International, so don't show the
category. And process-working is really just a theme asset,
so don't show that either.
2014-07-29 14:07:54 +02:00
Matthias Clasen
1a99905055
icon-browser: Make the cell renderer follow state
...
This is very useful for symbolic icons.
2014-07-29 14:03:48 +02:00
Matthias Clasen
944448be1a
icon-browser: Hide the search icon until it works
2014-07-29 14:01:15 +02:00
Matthias Clasen
05d5fa43f3
wip: more icon browser rework
2014-07-29 13:59:02 +02:00
Matthias Clasen
737d15ac53
wip: rework icon browser
2014-07-29 13:59:02 +02:00
Matthias Clasen
33327d6904
icon-browser: Add open-menu to the list
2014-07-25 14:45:30 -04:00
Ignacio Casal Quinteiro
1e10bbef26
gtk-demo: include missing file on EXTRA_DIST
2014-07-23 10:43:41 +02:00
Matthias Clasen
228fe00ecc
widget-factory: Avoid a runtime warning
...
Don't set accelerators too early. GTK+ has not yet been initialized
at that point in main.
2014-07-22 15:32:45 -04:00
Matthias Clasen
eed5efec24
gtk-demo: Improve text scroll example
...
Add numbers, so the lines can be differentiated, even if they
don't move on screen.
2014-07-21 11:18:10 -04:00
Matthias Clasen
2cb1052987
widget-factory: Show accelerators
...
We set this up manually here. This could be automated by
constructing the menubar from a menu model.
2014-07-20 00:43:17 -04:00
Matthias Clasen
144083d402
widget-factory: Rename some widgets
2014-07-20 00:43:17 -04:00
Matthias Clasen
48b9b4520b
widget-factory: Add accelerators for some actions
...
With this, Ctrl-Q will close the window, and Ctrl-D will
toggle the dark theme. The accelerators are currently not
shown in the (manually constructed) menus.
2014-07-20 00:43:08 -04:00
Matthias Clasen
bbb324688f
Trivial: Move resources into the same prefix
2014-07-19 18:34:58 -04:00
Jasper St. Pierre
488ca4ab30
icon-browser: Improve the look a tiny bit
...
Add some padding and a border around the scrolled window.
2014-07-17 13:10:50 -04:00
Matthias Clasen
6557a51827
widget-factory: Mark selectable listbox rows non-activatable
...
Having them selectable is sufficient to get the hover effect.
2014-07-15 23:57:33 -04:00
Matthias Clasen
04b5c5f14a
widget-factory: Fix multi-selection example
...
It turns out that activate-on-single-click interferes with the
expected multi-selection behavior. Turn it off, since there's nothing
to activate in this list, anyway.
2014-07-14 09:17:47 -04:00
Matthias Clasen
0431ee2b57
widget-factory: Use multi-selection for the listbox example
2014-07-14 08:49:54 -04:00
Matthias Clasen
f955548f47
widget-factory: Fix a typo
2014-07-13 13:00:37 -04:00
Matthias Clasen
42d97c380e
widget-factory: Use the new ::activatable property
2014-07-13 09:26:35 -04:00