Matthias Clasen
8d001e3573
icon-browser: Recover from GtkDialog api change
...
When we moved content_area to a sibling of action area,
it changed orientation from vertical to horizontal.
Adapt to this change.
2019-04-16 20:59:57 -04:00
Emmanuele Bassi
31b65e6721
demos: Update GtkGrid definitions in UI files
2019-04-05 00:12:26 +01:00
Matthias Clasen
19d9d69343
icon-browser: Fix name alignment
...
The icon names were left-aligned, not centered
under the icon.
Closes: https://gitlab.gnome.org/GNOME/gtk/issues/18
2019-04-01 00:27:58 -04:00
Matthias Clasen
7ac250dea7
Convert all ui files
...
Run gtk4-builder-tool simplify --3to4 over all ui files.
2019-03-27 13:36:24 -04:00
Matthias Clasen
4ace873046
Update ui files to new stack syntax
...
This conversion was done with the help of gtk4-builder-tool.
2019-02-08 00:09:44 -05:00
Matthias Clasen
70db084d43
Fix gtk4-icon-browser
...
It was broken by a recent GtkDialog change that renamed
the internal vbox child to content_area.
2019-01-24 20:43:12 -05:00
Matthias Clasen
ca9aa23619
Add devel style to demos
...
Lets show this off. Its cool.
2018-09-05 20:10:41 -04:00
Matthias Clasen
21d1ab42d1
icon-browser: Stop using ::key-press-event
2018-04-05 19:26:53 +02:00
Samuel Thibault
9561b97dc4
Fix some accessibility issues in demos
...
Fixes #110
2018-03-19 18:07:25 +01:00
Timm Bäder
e8986d18c2
icon browser: Remove usage of stock-size property
...
Does not exist anymore.
2018-01-30 21:51:59 +01:00
Matthias Clasen
351559fcfa
Simplify all ui files again
...
Now even simpler!
2018-01-18 17:53:44 -05:00
Matthias Clasen
ff8ba1149d
icon-browser: Stop connecting to ::delete-event
...
We can just use GtkWindow::hide-on-delete
2018-01-16 14:14:09 -05:00
Matthias Clasen
029a84aa74
Fix fallout from the show-close-button rename
...
I had overlooked ui files. We should really
validate those during build.
2017-12-08 11:29:14 -05:00
Matthias Clasen
2301d8d90b
enums: Change GtkIconSize values
...
The new values are the ones we intend to keep. The old ones had
duplicated meanings and nobody knew which one to take.
2017-11-15 14:22:17 -05:00
Julian Sparber
e11e304d10
icon-browser: Centre Copy button in dialog again
...
This patch moves the "Copy to Clipboard" button into the same container
as the description label, to centre the button regardless of the number
of icons shown in the grid.
https://bugzilla.gnome.org/show_bug.cgi?id=789134
2017-10-31 18:41:55 +00:00
Carlos Garnacho
ce1cfee48c
icon-browser: Remove GtkEventBox from .ui file
...
The patch adding scalable icons' info was forward ported too much as-is
to master. The event box is both unused and unnecessary here.
2017-10-19 16:13:47 +02:00
Julian Sparber
6f71e40546
icon-browser: Add scalable icons to icon detail modal window
...
When making mockups for GNOME apps in Inkscape, looking for symbolic
icons is a common task. Searching for icons in the file system is clumsy,
and icon-browser provides a much better interface for finding them.
However, currently there is no way to insert the symbolic icons as SVG
directly from icon-browser, so right now it is only useful for finding
the name.
This patch adds a sixth column to the modal window that appears when
clicking a symbolic icon. The icon in this column is labeled "scalable",
and dragging it onto another window results in the vector icon URI being
inserted.
This enables a much simpler workflow when designing with symbolic icons.
https://bugzilla.gnome.org/show_bug.cgi?id=778930
2017-10-16 14:26:42 +02:00
Benjamin Otte
b555638600
iconbrowser: Remove GtkEventBox usage
2017-08-02 14:50:19 +01:00
Matthias Clasen
cc9feb5a07
icon browser: Make icons a bit larger
...
Use 48x48 in the list, instead of 32x32. We have the space.
2017-06-02 22:30:05 -04:00
Matthias Clasen
04fbef7f1e
icon browser: Add a 'copy to clipboard' button
...
This makes it more obvious how to use the icon.
2017-06-02 22:29:21 -04:00
Daniel Boles
49c452e4f9
demos/icon-browser: increase default window size
...
...to get more than 1 row of icons to browse!
https://bugzilla.gnome.org/show_bug.cgi?id=776560
I've bumped the size a bit further, to 1024x768
2017-01-04 13:59:04 -05:00
Matthias Clasen
2cb975ea77
Make gtk4-icon-browser work
...
It was using no-longer-existing widgets and properties.
2016-12-16 12:18:33 -05:00
Timm Bäder
d505a1af68
icon-browser: Stop using GtkMisc properties
...
Instead of xpad/ypad of 4 for every widget, just increase the
row-spacing and column-spacing by 8.
https://bugzilla.gnome.org/show_bug.cgi?id=758790
2015-11-30 17:31:49 +01:00
Timm Bäder
624cb5e016
icon-browser: Use proper "times" character
...
https://bugzilla.gnome.org/show_bug.cgi?id=758790
2015-11-30 17:31:49 +01:00
Timm Bäder
91cafb8d08
icon-browser: baseline-align the icon size labels
...
https://bugzilla.gnome.org/show_bug.cgi?id=758790
2015-11-30 17:31:49 +01: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
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
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
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
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
a5f474bc66
Add an icon browser
...
This is meant to help app authors choose the right icons.
2014-06-24 21:58:40 -04:00