Merge branch 'included-icons' into 'master'
Included icons See merge request GNOME/gtk!580
@ -260,4 +260,24 @@
|
||||
<gresource prefix="/dnd">
|
||||
<file>dnd.css</file>
|
||||
</gresource>
|
||||
<gresource prefix="/org/gtk/Demo">
|
||||
<file>icons/16x16/actions/application-exit.png</file>
|
||||
<file>icons/16x16/actions/document-new.png</file>
|
||||
<file>icons/16x16/actions/document-open.png</file>
|
||||
<file>icons/16x16/actions/document-save.png</file>
|
||||
<file>icons/16x16/actions/edit-copy.png</file>
|
||||
<file>icons/16x16/actions/edit-cut.png</file>
|
||||
<file>icons/16x16/actions/edit-paste.png</file>
|
||||
<file>icons/16x16/actions/process-stop.png</file>
|
||||
<file>icons/16x16/actions/go-home.png</file>
|
||||
<file>icons/16x16/actions/go-up.png</file>
|
||||
<file>icons/16x16/actions/mail-send-receive-symbolic.symbolic.png</file>
|
||||
<file>icons/16x16/actions/view-refresh-symbolic.symbolic.png</file>
|
||||
<file>icons/16x16/actions/view-fullscreen-symbolic.symbolic.png</file>
|
||||
<file>icons/16x16/actions/document-edit-symbolic.symbolic.png</file>
|
||||
<file>icons/16x16/emotes/face-cool.png</file>
|
||||
<file>icons/16x16/emotes/face-laugh-symbolic.symbolic.png</file>
|
||||
<file>icons/16x16/status/battery-caution-charging-symbolic.symbolic.png</file>
|
||||
<file>icons/16x16/categories/applications-other.png</file>
|
||||
</gresource>
|
||||
</gresources>
|
||||
|
BIN
demos/gtk-demo/icons/16x16/actions/application-exit.png
Normal file
After Width: | Height: | Size: 659 B |
After Width: | Height: | Size: 223 B |
BIN
demos/gtk-demo/icons/16x16/actions/document-new.png
Normal file
After Width: | Height: | Size: 330 B |
BIN
demos/gtk-demo/icons/16x16/actions/document-open.png
Normal file
After Width: | Height: | Size: 420 B |
BIN
demos/gtk-demo/icons/16x16/actions/document-save.png
Normal file
After Width: | Height: | Size: 459 B |
BIN
demos/gtk-demo/icons/16x16/actions/edit-copy.png
Normal file
After Width: | Height: | Size: 401 B |
BIN
demos/gtk-demo/icons/16x16/actions/edit-cut.png
Normal file
After Width: | Height: | Size: 781 B |
BIN
demos/gtk-demo/icons/16x16/actions/edit-paste.png
Normal file
After Width: | Height: | Size: 582 B |
BIN
demos/gtk-demo/icons/16x16/actions/go-home.png
Normal file
After Width: | Height: | Size: 582 B |
BIN
demos/gtk-demo/icons/16x16/actions/go-up.png
Normal file
After Width: | Height: | Size: 336 B |
After Width: | Height: | Size: 185 B |
BIN
demos/gtk-demo/icons/16x16/actions/process-stop.png
Normal file
After Width: | Height: | Size: 422 B |
After Width: | Height: | Size: 208 B |
After Width: | Height: | Size: 275 B |
BIN
demos/gtk-demo/icons/16x16/categories/applications-other.png
Normal file
After Width: | Height: | Size: 682 B |
BIN
demos/gtk-demo/icons/16x16/emotes/face-cool.png
Normal file
After Width: | Height: | Size: 845 B |
After Width: | Height: | Size: 320 B |
After Width: | Height: | Size: 239 B |
@ -65,7 +65,7 @@ do_sidebar (GtkWidget *do_widget)
|
||||
{
|
||||
if (i == 0)
|
||||
{
|
||||
widget = gtk_image_new_from_icon_name ("help-about");
|
||||
widget = gtk_image_new_from_icon_name ("org.gtk.Demo");
|
||||
gtk_image_set_pixel_size (GTK_IMAGE (widget), 256);
|
||||
}
|
||||
else
|
||||
|
@ -25,7 +25,7 @@
|
||||
<object class="GtkImage">
|
||||
<property name="margin-top">20</property>
|
||||
<property name="margin-bottom">20</property>
|
||||
<property name="icon-name">gtk3-demo</property>
|
||||
<property name="icon-name">org.gtk.Demo</property>
|
||||
</object>
|
||||
</property>
|
||||
</object>
|
||||
|
BIN
demos/widget-factory/icons/16x16/actions/document-new.png
Normal file
After Width: | Height: | Size: 330 B |
BIN
demos/widget-factory/icons/16x16/actions/document-save.png
Normal file
After Width: | Height: | Size: 459 B |
After Width: | Height: | Size: 205 B |
BIN
demos/widget-factory/icons/16x16/actions/edit-find.png
Normal file
After Width: | Height: | Size: 825 B |
BIN
demos/widget-factory/icons/16x16/actions/insert-image.png
Normal file
After Width: | Height: | Size: 533 B |
After Width: | Height: | Size: 321 B |
After Width: | Height: | Size: 288 B |
After Width: | Height: | Size: 208 B |
After Width: | Height: | Size: 127 B |
After Width: | Height: | Size: 275 B |
After Width: | Height: | Size: 166 B |
BIN
demos/widget-factory/icons/16x16/actions/zoom-in.png
Normal file
After Width: | Height: | Size: 492 B |
After Width: | Height: | Size: 169 B |
BIN
demos/widget-factory/icons/16x16/actions/zoom-original.png
Normal file
After Width: | Height: | Size: 507 B |
After Width: | Height: | Size: 160 B |
BIN
demos/widget-factory/icons/16x16/actions/zoom-out.png
Normal file
After Width: | Height: | Size: 450 B |
After Width: | Height: | Size: 152 B |
After Width: | Height: | Size: 314 B |
After Width: | Height: | Size: 408 B |
After Width: | Height: | Size: 293 B |
After Width: | Height: | Size: 281 B |
After Width: | Height: | Size: 329 B |
After Width: | Height: | Size: 306 B |
After Width: | Height: | Size: 338 B |
After Width: | Height: | Size: 327 B |
@ -0,0 +1,3 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16">
|
||||
<path d="M8 .688c-1-.004-1.563 3.54-2.375 4.125-.812.584-4.344-.013-4.656.937-.313.95 2.882 2.578 3.187 3.531.305.953-1.338 4.128-.531 4.719.807.591 3.343-1.942 4.344-1.938 1 .005 3.5 2.585 4.312 2 .812-.584-.813-3.8-.5-4.75.313-.95 3.524-2.547 3.219-3.5-.305-.952-3.85-.377-4.656-.968C9.537 4.253 9 .69 8 .687zM7 5h2v2h2v2H9v2H7V9H5V7h2z" style="marker:none" color="#000" overflow="visible" fill="#474747"/>
|
||||
</svg>
|
After Width: | Height: | Size: 484 B |
@ -0,0 +1,3 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16">
|
||||
<path d="M6.719 2c-.192.009-.372.035-.563.063a6.03 6.03 0 0 0-3.968 2.343C.206 7.048.764 10.831 3.405 12.813c2.642 1.98 6.425 1.422 8.406-1.22.123-.17.19-.382.188-.593v-1h-1a1.024 1.024 0 0 0-.813.406c-1.332 1.777-3.817 2.114-5.593.781-1.777-1.332-2.114-3.816-.782-5.593C5.146 3.817 7.63 3.48 9.407 4.812c.43.323.77.733 1.031 1.188H9a1 1 0 0 0-1 1v1h6V2h-1a1 1 0 0 0-1 1v1.688A5.966 5.966 0 0 0 6.719 2z" style="line-height:normal;-inkscape-font-specification:Sans;text-indent:0;text-align:start;text-decoration-line:none;text-transform:none;marker:none" color="#bebebe" font-weight="400" font-family="Sans" overflow="visible" fill="#474747"/>
|
||||
</svg>
|
After Width: | Height: | Size: 719 B |
@ -0,0 +1,3 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="15.982" height="16">
|
||||
<path d="M3.188 2C2.524 2 2 2.549 2 3.219v9.562C2 13.451 2.525 14 3.188 14h9.624c.663 0 1.188-.549 1.188-1.219V3.22C14 2.549 13.475 2 12.812 2zM7 5h2v2h2v2H9v2H7V9H5V7h2z" style="marker:none" color="#bebebe" overflow="visible" fill="#474747"/>
|
||||
</svg>
|
After Width: | Height: | Size: 323 B |
@ -0,0 +1,3 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="15.982" height="16">
|
||||
<path d="M3.188 2C2.524 2 2 2.549 2 3.219v9.562C2 13.451 2.525 14 3.188 14h9.624c.663 0 1.188-.549 1.188-1.219V3.22C14 2.549 13.475 2 12.812 2zM7 5h2v6H7V7H6V6c.694 0 1-.348 1-1z" style="marker:none" color="#bebebe" overflow="visible" fill="#474747"/>
|
||||
</svg>
|
After Width: | Height: | Size: 331 B |
@ -0,0 +1,3 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="15.982" height="16">
|
||||
<path d="M3.188 2C2.524 2 2 2.549 2 3.219v9.562C2 13.451 2.525 14 3.188 14h9.624c.663 0 1.188-.549 1.188-1.219V3.22C14 2.549 13.475 2 12.812 2zM5 7h6v2H5z" style="marker:none" color="#bebebe" overflow="visible" fill="#474747"/>
|
||||
</svg>
|
After Width: | Height: | Size: 307 B |
@ -9,4 +9,31 @@
|
||||
<gresource prefix="/org/gtk/WidgetFactory/gtk">
|
||||
<file preprocess="xml-stripblanks">help-overlay.ui</file>
|
||||
</gresource>
|
||||
<gresource prefix="/org/gtk/WidgetFactory">
|
||||
<file>icons/16x16/actions/document-new.png</file>
|
||||
<file>icons/16x16/actions/document-save.png</file>
|
||||
<file>icons/16x16/actions/edit-find.png</file>
|
||||
<file>icons/16x16/actions/insert-image.png</file>
|
||||
<file>icons/16x16/actions/send-to-symbolic.symbolic.png</file>
|
||||
<file>icons/16x16/actions/view-fullscreen-symbolic.symbolic.png</file>
|
||||
<file>icons/16x16/actions/document-send-symbolic.symbolic.png</file>
|
||||
<file>icons/16x16/actions/star-new-symbolic.symbolic.png</file>
|
||||
<file>icons/16x16/actions/view-grid-symbolic.symbolic.png</file>
|
||||
<file>icons/16x16/actions/view-refresh-symbolic.symbolic.png</file>
|
||||
<file>icons/16x16/actions/zoom-in.png</file>
|
||||
<file>icons/16x16/actions/zoom-in-symbolic.symbolic.png</file>
|
||||
<file>icons/16x16/actions/zoom-original.png</file>
|
||||
<file>icons/16x16/actions/zoom-original-symbolic.symbolic.png</file>
|
||||
<file>icons/16x16/actions/zoom-out.png</file>
|
||||
<file>icons/16x16/actions/zoom-out-symbolic.symbolic.png</file>
|
||||
<file>icons/16x16/emblems/emblem-default-symbolic.symbolic.png</file>
|
||||
<file>icons/16x16/status/appointment-soon-symbolic.symbolic.png</file>
|
||||
<file>icons/16x16/status/microphone-sensitivity-muted-symbolic.symbolic.png</file>
|
||||
<file>icons/16x16/status/microphone-sensitivity-low-symbolic.symbolic.png</file>
|
||||
<file>icons/16x16/status/microphone-sensitivity-medium-symbolic.symbolic.png</file>
|
||||
<file>icons/16x16/status/microphone-sensitivity-high-symbolic.symbolic.png</file>
|
||||
<file>icons/16x16/status/weather-clear-night-symbolic.symbolic.png</file>
|
||||
<file>icons/16x16/emotes/face-monkey-symbolic.symbolic.png</file>
|
||||
<file>icons/16x16/apps/preferences-desktop-locale-symbolic.symbolic.png</file>
|
||||
</gresource>
|
||||
</gresources>
|
||||
|
@ -62,7 +62,7 @@ for f in get_files('ui', '.ui'):
|
||||
xml += '\n'
|
||||
|
||||
for s in ['16x16', '24x24', '32x32', '48x48', 'scalable']:
|
||||
for c in ['categories', 'status']:
|
||||
for c in ['actions', 'categories', 'emblems', 'emotes', 'devices', 'mimetypes', 'places', 'status']:
|
||||
icons_dir = 'icons/{0}/{1}'.format(s,c)
|
||||
if os.path.exists(os.path.join(srcdir,icons_dir)):
|
||||
for f in get_files(icons_dir, '.png'):
|
||||
|
@ -1300,8 +1300,10 @@ load_themes (GtkIconTheme *icon_theme)
|
||||
* and gnome is a pragmatic solution to prevent missing icons in
|
||||
* GTK+ applications when run under, e.g. KDE.
|
||||
*/
|
||||
#if 0
|
||||
insert_theme (icon_theme, DEFAULT_ICON_THEME);
|
||||
insert_theme (icon_theme, "gnome");
|
||||
#endif
|
||||
insert_theme (icon_theme, FALLBACK_ICON_THEME);
|
||||
priv->themes = g_list_reverse (priv->themes);
|
||||
|
||||
|
@ -840,9 +840,6 @@ static void
|
||||
gtk_spin_button_init (GtkSpinButton *spin_button)
|
||||
{
|
||||
GtkSpinButtonPrivate *priv = gtk_spin_button_get_instance_private (spin_button);
|
||||
const char *up_icon_names[] = { "value-increase-symbolic", "list-add-symbolic" };
|
||||
const char *down_icon_names[] = { "value-decrease-symbolic", "list-remove-symbolic" };
|
||||
GIcon *icon;
|
||||
GtkEventController *controller;
|
||||
GtkGesture *gesture;
|
||||
|
||||
@ -879,9 +876,7 @@ gtk_spin_button_init (GtkSpinButton *spin_button)
|
||||
|
||||
|
||||
priv->down_button = gtk_button_new ();
|
||||
icon = g_themed_icon_new_from_names ((char **)down_icon_names, 2);
|
||||
gtk_container_add (GTK_CONTAINER (priv->down_button), gtk_image_new_from_gicon (icon));
|
||||
g_object_unref (icon);
|
||||
gtk_container_add (GTK_CONTAINER (priv->down_button), gtk_image_new_from_icon_name ("value-decrease-symbolic"));
|
||||
gtk_style_context_add_class (gtk_widget_get_style_context (priv->down_button), "image-button");
|
||||
gtk_widget_set_can_focus (priv->down_button, FALSE);
|
||||
gtk_style_context_add_class (gtk_widget_get_style_context (priv->down_button), "down");
|
||||
@ -897,9 +892,7 @@ gtk_spin_button_init (GtkSpinButton *spin_button)
|
||||
gtk_widget_add_controller (GTK_WIDGET (priv->down_button), GTK_EVENT_CONTROLLER (gesture));
|
||||
|
||||
priv->up_button = gtk_button_new ();
|
||||
icon = g_themed_icon_new_from_names ((char **)up_icon_names, 2);
|
||||
gtk_container_add (GTK_CONTAINER (priv->up_button), gtk_image_new_from_gicon (icon));
|
||||
g_object_unref (icon);
|
||||
gtk_container_add (GTK_CONTAINER (priv->up_button), gtk_image_new_from_icon_name ("value-increase-symbolic"));
|
||||
gtk_style_context_add_class (gtk_widget_get_style_context (priv->up_button), "image-button");
|
||||
gtk_widget_set_can_focus (priv->up_button, FALSE);
|
||||
gtk_style_context_add_class (gtk_widget_get_style_context (priv->up_button), "up");
|
||||
|
BIN
gtk/icons/16x16/actions/bookmark-new-symbolic.symbolic.png
Normal file
After Width: | Height: | Size: 233 B |
BIN
gtk/icons/16x16/actions/bookmark-new.png
Normal file
After Width: | Height: | Size: 585 B |
BIN
gtk/icons/16x16/actions/color-select-symbolic.symbolic.png
Normal file
After Width: | Height: | Size: 272 B |
After Width: | Height: | Size: 350 B |
BIN
gtk/icons/16x16/actions/document-open-symbolic.symbolic.png
Normal file
After Width: | Height: | Size: 194 B |
BIN
gtk/icons/16x16/actions/document-save-as-symbolic.symbolic.png
Normal file
After Width: | Height: | Size: 229 B |
BIN
gtk/icons/16x16/actions/document-save-symbolic.symbolic.png
Normal file
After Width: | Height: | Size: 206 B |
BIN
gtk/icons/16x16/actions/edit-clear-all-symbolic.symbolic.png
Normal file
After Width: | Height: | Size: 282 B |
BIN
gtk/icons/16x16/actions/edit-clear-symbolic.symbolic.png
Normal file
After Width: | Height: | Size: 228 B |
BIN
gtk/icons/16x16/actions/edit-copy-symbolic.symbolic.png
Normal file
After Width: | Height: | Size: 139 B |
BIN
gtk/icons/16x16/actions/edit-cut-symbolic.symbolic.png
Normal file
After Width: | Height: | Size: 304 B |
BIN
gtk/icons/16x16/actions/edit-delete-symbolic.symbolic.png
Normal file
After Width: | Height: | Size: 286 B |
BIN
gtk/icons/16x16/actions/edit-find-symbolic.symbolic.png
Normal file
After Width: | Height: | Size: 282 B |
BIN
gtk/icons/16x16/actions/edit-paste-symbolic.symbolic.png
Normal file
After Width: | Height: | Size: 222 B |
BIN
gtk/icons/16x16/actions/edit-select-all-symbolic.symbolic.png
Normal file
After Width: | Height: | Size: 164 B |
BIN
gtk/icons/16x16/actions/find-location-symbolic.symbolic.png
Normal file
After Width: | Height: | Size: 343 B |
BIN
gtk/icons/16x16/actions/folder-new-symbolic.symbolic.png
Normal file
After Width: | Height: | Size: 192 B |
BIN
gtk/icons/16x16/actions/folder-new.png
Normal file
After Width: | Height: | Size: 444 B |
BIN
gtk/icons/16x16/actions/go-down-symbolic.symbolic.png
Normal file
After Width: | Height: | Size: 167 B |
BIN
gtk/icons/16x16/actions/go-up-symbolic.symbolic.png
Normal file
After Width: | Height: | Size: 165 B |
BIN
gtk/icons/16x16/actions/insert-image-symbolic.symbolic.png
Normal file
After Width: | Height: | Size: 220 B |
BIN
gtk/icons/16x16/actions/insert-image.png
Normal file
After Width: | Height: | Size: 533 B |
BIN
gtk/icons/16x16/actions/insert-object-symbolic.symbolic.png
Normal file
After Width: | Height: | Size: 283 B |
BIN
gtk/icons/16x16/actions/insert-object.png
Normal file
After Width: | Height: | Size: 415 B |
BIN
gtk/icons/16x16/actions/list-add-symbolic.symbolic.png
Normal file
After Width: | Height: | Size: 112 B |
BIN
gtk/icons/16x16/actions/list-add.png
Normal file
After Width: | Height: | Size: 380 B |
BIN
gtk/icons/16x16/actions/list-remove-all-symbolic.symbolic.png
Normal file
After Width: | Height: | Size: 163 B |
BIN
gtk/icons/16x16/actions/list-remove-symbolic.symbolic.png
Normal file
After Width: | Height: | Size: 101 B |
BIN
gtk/icons/16x16/actions/list-remove.png
Normal file
After Width: | Height: | Size: 222 B |
BIN
gtk/icons/16x16/actions/media-eject-symbolic.symbolic.png
Normal file
After Width: | Height: | Size: 166 B |
BIN
gtk/icons/16x16/actions/media-eject.png
Normal file
After Width: | Height: | Size: 333 B |
After Width: | Height: | Size: 109 B |
BIN
gtk/icons/16x16/actions/media-playback-pause.png
Normal file
After Width: | Height: | Size: 268 B |
BIN
gtk/icons/16x16/actions/media-playback-start-rtl.png
Normal file
After Width: | Height: | Size: 370 B |
After Width: | Height: | Size: 171 B |
After Width: | Height: | Size: 165 B |
BIN
gtk/icons/16x16/actions/media-playback-start.png
Normal file
After Width: | Height: | Size: 369 B |
After Width: | Height: | Size: 106 B |
BIN
gtk/icons/16x16/actions/media-playback-stop.png
Normal file
After Width: | Height: | Size: 252 B |
BIN
gtk/icons/16x16/actions/media-record-symbolic.symbolic.png
Normal file
After Width: | Height: | Size: 180 B |
BIN
gtk/icons/16x16/actions/media-record.png
Normal file
After Width: | Height: | Size: 419 B |
BIN
gtk/icons/16x16/actions/object-select-symbolic.symbolic.png
Normal file
After Width: | Height: | Size: 172 B |
BIN
gtk/icons/16x16/actions/open-menu-symbolic.symbolic.png
Normal file
After Width: | Height: | Size: 104 B |
BIN
gtk/icons/16x16/actions/pan-down-symbolic.symbolic.png
Normal file
After Width: | Height: | Size: 131 B |
BIN
gtk/icons/16x16/actions/pan-end-symbolic-rtl.symbolic.png
Normal file
After Width: | Height: | Size: 140 B |