Ricardo Mones
7f2cc1b356
Fix three warnings in do_pix_draw()
...
stock_pixmap.c:971:4: warning: ‘gtk_widget_get_style’ is deprecated: Use 'gtk_widget_get_style_context' instead [-Wdeprecated-declarations]
stock_pixmap.c:973:4: warning: ‘gdk_cairo_create’ is deprecated: Use 'gdk_window_begin_draw_frame() and gdk_drawing_context_get_cairo_context()' instead [-Wdeprecated-declarations]
stock_pixmap.c:974:4: warning: ‘gdk_cairo_set_source_color’ is deprecated: Use 'gdk_cairo_set_source_rgba' instead [-Wdeprecated-declarations]
2023-08-22 19:01:10 +02:00
Paul
d832b62d7b
fix bug 4693, 'Hang and crash when enable disable SVG Rendering prefs' by reverting d6dfb9960c
2023-08-18 11:45:52 +01:00
paul
14f1e8bb6a
prevent claws-mail logo from being themed
2022-03-24 10:49:46 +00:00
Ricardo Mones
39aff56f3f
Honor GTK project name¹, except some files…
...
…where it refers to previous name of the project.
¹ https://mail.gnome.org/archives/gtk-devel-list/2019-February/msg00000.html
2022-03-18 20:18:35 +01:00
wwp
b1c1c6d36c
Fix CID 1491190: explicit null dereference.
2021-09-27 17:58:15 +02:00
Andrej Kacian
6e3ba6de4b
Fix GTK3-related compile errors for litehtml plugin
2019-05-04 17:17:39 +02:00
Andrej Kacian
a8d84bd455
Get rid of our strcmp2() in favour of glib's g_strcmp0()
2018-12-15 18:49:49 +01:00
Andrej Kacian
6329a84e17
Fixed stock icons to have correct size instead of 0x0.
...
Also cleaned up unused, pre-gtk3 pixmap cruft from
stock_pixmap.c.
2018-10-05 22:23:21 +02:00
Andrej Kacian
59b75ea19c
Removed a few deprecated GTK API calls in mimeview.c.
2018-10-05 21:07:22 +02:00
Andrej Kacian
633236aab8
Fixed a memory leak in stock_pixmap_widget_with_overlay().
2018-08-25 11:18:53 +02:00
Ricardo Mones
7263bc5013
Really handle the NULLs, don't scream at them
2017-07-24 09:35:05 +02:00
Ricardo Mones
fb5fce43ff
Check for NULLs params within the functions
...
As assumed in the prefs_themes_done() calls. May fix some strange crash
when exiting Claws Mail in Debian's version 3.14.1-3+b1:
*** Error in `/usr/bin/claws-mail': munmap_chunk(): invalid pointer:
0x00000000026a6f80 ***
======= Backtrace: =========
/lib/x86_64-linux-gnu/libc.so.6(+0x70bcb)[0x7fa85407cbcb]
/lib/x86_64-linux-gnu/libc.so.6(+0x76f96)[0x7fa854082f96]
/usr/bin/claws-mail(stock_pixmap_themes_list_free+0x28)[0x55a7a8]
/usr/bin/claws-mail(prefs_themes_done+0x3a)[0x5389ba]
/usr/bin/claws-mail[0x449329]
/usr/bin/claws-mail(main+0x2326)[0x44b986]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf1)[0x7fa85402c2b1]
/usr/bin/claws-mail(_start+0x2a)[0x44bfda]
2017-07-23 12:38:06 +02:00
Ricardo Mones
75bec58016
Dedicated icons for toolbar's new privacy buttons
2017-07-16 17:38:38 +02:00
wwp
ffa6936f5f
Fix missing include for new pixmap file.
2017-04-03 12:41:20 +02:00
wwp
eb81399b76
Add new print button to pdf view.
2017-04-03 12:30:04 +02:00
Ricardo Mones
d6dfb9960c
Fix 'Apply' when changing scaling options only
2017-02-16 00:40:46 +01:00
Ricardo Mones
50bd87f2e1
Fix pixmap name to reflect what it really does
...
Will break your themes, nothing a mv cannot fix ;-)
2017-02-11 16:47:50 +01:00
Ricardo Mones
6011240801
Fix included header
...
Error message was:
stock_pixmap.c:26:26: fatal error: librsvg/rsvg.h: No such file or directory
Thanks Paul for reporting!
2017-02-07 21:07:16 +01:00
Ricardo Mones
89eb1e67c5
Add SVG icon scaling/rendering preferences
...
• 'enable_alpha_svg' to use alpha channel when rendering
• 'enable_pixmap_scaling' to bypass SVG's own natural size
• 'pixmap_scaling_auto' to compute a PPI or use a user defined value
• 'pixmap_scaling_ppi' to set a user defined value for PPI
2017-02-07 20:02:58 +01:00
Ricardo Mones
427ba2698e
Render SVG scaled to default icon size
...
Default icon sizes are parsed from icon data, which is suboptimal
since these sizes can be known at compile time.
2017-02-07 20:02:58 +01:00
Ricardo Mones
db434c2b05
Load SVG files the deprecated way
2017-02-07 20:02:58 +01:00
Ricardo Mones
02a57d6786
Make all headers abide by config and features
2017-02-03 12:56:31 +01:00
Ricardo Mones
8e02f3f3c6
Generalise theme extension handling
2017-01-31 12:21:45 +01:00
wwp
f806a49d36
Add "Delete duplicates" (delete duplicated messages in current folder) to
...
the main window's toolbar, including a brand new (not so shining) icon.
2017-01-19 14:49:06 +01:00
wwp
b2b913e310
Fix compiler warnings when we test enum-based variables for impossible
...
<0 values.
2016-12-27 18:06:11 +01:00
Ricardo Mones
b281fcac67
Remove unnecessary commas
...
They were added by mistake in f455e02c
.
2016-12-21 15:17:02 +01:00
Ricardo Mones
abc9d9cd40
Fix initialization of two pixmaps
2016-12-15 19:57:27 +01:00
wwp
382a3fed9d
Add new actions to main window's toolbar: mark, unmark, lock, unlock,
...
mark (all) read, mark (all) unread.
Add new xpm icons for these actions (existing ones are small and made
for the message list) as well as for ignorethread and watchthread
actions.
Rename A_SENDL to A_SEND_LATER, we're not that lazy.
2016-12-12 15:30:24 +01:00
wwp
c0c22eb997
Fix format, no tabs to align everywhere (at last!).
2016-12-12 14:17:43 +01:00
wwp
7d84a8a996
Remove extra entries, not yet in git.
2016-12-12 14:14:37 +01:00
wwp
f455e02c81
Fix missing initializers (last field in data struct),
...
reworked table to a human readable format.
2016-12-12 14:10:04 +01:00
Ricardo Mones
89d34855ea
Make pdf_viewer icons themeable
2016-10-26 23:39:23 +02:00
Ricardo Mones
831b8da1eb
Do not reuse pixmaps for theme icons
...
Otherwise theme authors may have a hard time finding why an
icon is not themed despite having provided replacements for
all existing xpm files.
2016-09-07 14:08:55 +02:00
Ricardo Mones
ed7e898a2a
Normalise theme icon names which were different
2016-09-05 09:21:40 +02:00
Ricardo Mones
fcfeb30db6
Add 64x64 icon version to stock pixmaps
...
Icon data purloined from last patch of #3437 by Christian Hesse.
2016-09-01 19:39:46 +02:00
Paul
84ef5517bc
remove icons that will never be displayed
2016-08-30 12:37:11 +01:00
Paul
999c327103
implement the 4-state icons for 'noselect' folders
2016-08-30 11:01:59 +01:00
Paul
bfa546e162
indicate IMAP mailboxes which show subs only with a green folder
2016-08-27 08:49:19 +01:00
Andrej Kacian
3ed994a5e6
Remove unused GtkWidget* argument in stock_pix* functions.
...
stock_pixmap_widget()
stock_pixmap_widget_with_overlay()
stock_pixbuf_gdk()
2016-07-20 23:48:10 +02:00
Andrej Kacian
fc0abbcade
Some minor changes for win32 build.
2015-12-16 16:28:30 +01:00
Andrej Kacian
0faddd1e85
Use g_dir_open() and friends instead of opendir() and friends.
...
This makes more things work on Windows, since Mingw
opendir() is kind of flakey, and breaks e.g. vcalendar or rssyl
being able to read contents of their folders.
I only left opendir() in archive plugin, since it is only found
in unused part of code (excluded by #ifdef _TEST, which is never
true for claws-mail compilations).
2015-06-29 11:35:13 +02:00
Paul
cfe7f78faa
fix bug 3021, 'Icon key_pgp_signed always shows as the default, never the themed version'
2013-10-23 14:38:32 +01:00
Colin Leroy
94ed99e1ac
New big icon for compose windows, by Simon Steinbeiss
2013-05-23 21:52:29 +02:00
Colin Leroy
a8a31e2455
2012-11-15 [colin] 3.9.0cvs4
...
* src/Makefile.am
* src/action.c
* src/addr_compl.c
* src/addressbook.c
* src/addrgather.c
* src/compose.c
* src/editaddress.c
* src/editgroup.c
* src/main.c
* src/mainwindow.c
* src/message_search.c
* src/prefs_display_header.c
* src/prefs_filtering_action.c
* src/prefs_matcher.c
* src/prefs_other.c
* src/prefs_toolbar.c
* src/printing.c
* src/stock_pixmap.c
* src/summary_search.c
* src/summaryview.c
* src/textview.c
* src/gtk/Makefile.am
* src/gtk/colorlabel.c
* src/gtk/combobox.c
* src/gtk/combobox.h
* src/gtk/gtkcmclist.c
* src/gtk/gtkcmclist.h
* src/gtk/gtkcmctree.c
* src/gtk/gtksctree.c
* src/gtk/gtkshruler.c
* src/gtk/gtkutils.c
* src/gtk/gtkutils.h
* src/gtk/inputdialog.c
* src/gtk/quicksearch.c
* src/plugins/pgpcore/Makefile.am
* src/plugins/pgpinline/Makefile.am
* src/plugins/pgpmime/Makefile.am
* src/plugins/smime/Makefile.am
Big GTK+3 patch from Hanno Meyer-Thurow
2012-11-15 13:41:07 +00:00
Colin Leroy
24e7233c2b
2012-09-13 [colin] 3.8.1cvs57
...
* src/stock_pixmap.c
Fix missing \n in debug line
2012-09-13 18:49:42 +00:00
Colin Leroy
6f75a14a76
2012-07-07 [colin] 3.8.1cvs8
...
* claws-features.h.in
* src/codeconv.h
* src/imap_gtk.h
* src/inc.h
* src/jpilot.h
* src/messageview.h
* src/msgcache.h
* src/news_gtk.h
* src/partial_download.h
* src/pop.h
* src/prefs_account.h
* src/prefs_common.h
* src/printing.h
* src/procmime.h
* src/procmsg.h
* src/stock_pixmap.c
* src/textview.h
* src/common/defs.h
* src/common/log.h
* src/common/session.h
* src/common/smtp.h
* src/common/socket.h
* src/common/ssl.h
* src/common/ssl_certificate.h
* src/common/timing.h
* src/common/utils.h
* src/gtk/gtkaspell.h
* src/gtk/gtkutils.h
* src/gtk/pluginwindow.h
* src/gtk/spell_entry.h
* src/gtk/sslcertwindow.h
Don't export config.h in public headers
2012-07-07 07:30:57 +00:00
Paul Mangan
9e08c2369a
2012-05-27 [paul] 3.8.0cvs48
...
* src/account.c
* src/account.h
* src/action.c
* src/action.h
* src/adbookbase.h
* src/addr_compl.c
* src/addr_compl.h
* src/addrbook.c
* src/addrcache.c
* src/addrcache.h
* src/addrclip.c
* src/addrclip.h
* src/addrcustomattr.c
* src/addrcustomattr.h
* src/addrdefs.h
* src/addrduplicates.c
* src/addrduplicates.h
* src/addressadd.c
* src/addressadd.h
* src/addressbook-dbus.c
* src/addressbook-dbus.h
* src/addressbook.c
* src/addressbook.h
* src/addressbook_foldersel.c
* src/addressbook_foldersel.h
* src/addressitem.h
* src/addrgather.c
* src/addrgather.h
* src/addrharvest.c
* src/addrharvest.h
* src/addrindex.c
* src/addrindex.h
* src/addritem.c
* src/addritem.h
* src/addrquery.c
* src/addrquery.h
* src/addrselect.c
* src/addrselect.h
* src/alertpanel.c
* src/alertpanel.h
* src/autofaces.c
* src/autofaces.h
* src/browseldap.c
* src/browseldap.h
* src/codeconv.c
* src/codeconv.h
* src/compose.c
* src/compose.h
* src/crash.c
* src/crash.h
* src/customheader.c
* src/customheader.h
* src/displayheader.c
* src/displayheader.h
* src/editaddress.c
* src/editaddress.h
* src/editaddress_other_attributes_ldap.c
* src/editaddress_other_attributes_ldap.h
* src/editbook.c
* src/editbook.h
* src/editgroup.c
* src/editgroup.h
* src/editjpilot.c
* src/editjpilot.h
* src/editldap.c
* src/editldap.h
* src/editldap_basedn.c
* src/editldap_basedn.h
* src/edittags.c
* src/edittags.h
* src/editvcard.c
* src/editvcard.h
* src/exphtmldlg.c
* src/exphtmldlg.h
* src/expldifdlg.c
* src/expldifdlg.h
* src/export.c
* src/export.h
* src/exporthtml.c
* src/exporthtml.h
* src/exportldif.c
* src/exportldif.h
* src/filtering.c
* src/filtering.h
* src/folder.c
* src/folder.h
* src/folder_item_prefs.c
* src/folder_item_prefs.h
* src/foldersel.c
* src/foldersel.h
* src/folderutils.c
* src/folderutils.h
* src/folderview.c
* src/folderview.h
* src/grouplistdialog.c
* src/grouplistdialog.h
* src/headerview.c
* src/headerview.h
* src/html.c
* src/html.h
* src/image_viewer.c
* src/image_viewer.h
* src/imap.c
* src/imap.h
* src/imap_gtk.c
* src/imap_gtk.h
* src/import.c
* src/import.h
* src/importldif.c
* src/importldif.h
* src/importmutt.c
* src/importmutt.h
* src/importpine.c
* src/importpine.h
* src/inc.c
* src/inc.h
* src/jpilot.c
* src/jpilot.h
* src/ldapctrl.c
* src/ldapctrl.h
* src/ldaplocate.c
* src/ldaplocate.h
* src/ldapquery.c
* src/ldapquery.h
* src/ldapserver.c
* src/ldapserver.h
* src/ldapupdate.c
* src/ldapupdate.h
* src/ldaputil.c
* src/ldaputil.h
* src/ldif.c
* src/ldif.h
* src/localfolder.c
* src/localfolder.h
* src/main.c
* src/main.h
* src/mainwindow.c
* src/mainwindow.h
* src/manual.c
* src/manual.h
* src/matcher.c
* src/matcher.h
* src/mbox.c
* src/mbox.h
* src/message_search.c
* src/message_search.h
* src/messageview.c
* src/messageview.h
* src/mh.c
* src/mh.h
* src/mh_gtk.c
* src/mh_gtk.h
* src/mimeview.c
* src/mimeview.h
* src/msgcache.c
* src/msgcache.h
* src/mutt.c
* src/mutt.h
* src/news.c
* src/news.h
* src/news_gtk.c
* src/news_gtk.h
* src/noticeview.c
* src/noticeview.h
* src/partial_download.c
* src/partial_download.h
* src/pine.c
* src/pine.h
* src/pop.c
* src/pop.h
* src/prefs_account.c
* src/prefs_account.h
* src/prefs_actions.c
* src/prefs_actions.h
* src/prefs_common.c
* src/prefs_common.h
* src/prefs_compose_writing.c
* src/prefs_compose_writing.h
* src/prefs_customheader.c
* src/prefs_customheader.h
* src/prefs_display_header.c
* src/prefs_display_header.h
* src/prefs_ext_prog.c
* src/prefs_ext_prog.h
* src/prefs_filtering.c
* src/prefs_filtering.h
* src/prefs_filtering_action.c
* src/prefs_filtering_action.h
* src/prefs_folder_column.c
* src/prefs_folder_column.h
* src/prefs_folder_item.c
* src/prefs_folder_item.h
* src/prefs_fonts.c
* src/prefs_fonts.h
* src/prefs_gtk.c
* src/prefs_gtk.h
* src/prefs_image_viewer.c
* src/prefs_image_viewer.h
* src/prefs_logging.c
* src/prefs_logging.h
* src/prefs_matcher.c
* src/prefs_matcher.h
* src/prefs_message.c
* src/prefs_message.h
* src/prefs_msg_colors.c
* src/prefs_msg_colors.h
* src/prefs_other.c
* src/prefs_other.h
* src/prefs_quote.c
* src/prefs_quote.h
* src/prefs_receive.c
* src/prefs_receive.h
* src/prefs_send.c
* src/prefs_send.h
* src/prefs_spelling.c
* src/prefs_spelling.h
* src/prefs_summaries.c
* src/prefs_summaries.h
* src/prefs_summary_column.c
* src/prefs_summary_column.h
* src/prefs_summary_open.c
* src/prefs_summary_open.h
* src/prefs_template.c
* src/prefs_template.h
* src/prefs_themes.c
* src/prefs_themes.h
* src/prefs_toolbar.c
* src/prefs_toolbar.h
* src/prefs_wrapping.c
* src/prefs_wrapping.h
* src/printing.c
* src/printing.h
* src/privacy.c
* src/privacy.h
* src/procheader.c
* src/procheader.h
* src/procmime.c
* src/procmime.h
* src/procmsg.c
* src/procmsg.h
* src/quote_fmt.c
* src/recv.c
* src/recv.h
* src/remotefolder.c
* src/remotefolder.h
* src/send_message.c
* src/send_message.h
* src/setup.c
* src/setup.h
* src/sourcewindow.c
* src/sourcewindow.h
* src/ssl_manager.c
* src/ssl_manager.h
* src/statusbar.c
* src/statusbar.h
* src/stock_pixmap.c
* src/stock_pixmap.h
* src/summary_search.c
* src/summary_search.h
* src/summaryview.c
* src/summaryview.h
* src/textview.c
* src/textview.h
* src/toolbar.c
* src/toolbar.h
* src/undo.c
* src/undo.h
* src/unmime.c
* src/unmime.h
* src/uri_opener.c
* src/uri_opener.h
* src/vcard.c
* src/vcard.h
* src/wizard.c
* src/wizard.h
* src/common/base64.c
* src/common/base64.h
* src/common/claws.c
* src/common/defs.h
* src/common/hooks.c
* src/common/hooks.h
* src/common/log.c
* src/common/log.h
* src/common/mgutils.c
* src/common/mgutils.h
* src/common/passcrypt.c
* src/common/plugin.c
* src/common/plugin.h
* src/common/prefs.c
* src/common/prefs.h
* src/common/progressindicator.c
* src/common/progressindicator.h
* src/common/quoted-printable.c
* src/common/quoted-printable.h
* src/common/session.c
* src/common/session.h
* src/common/smtp.c
* src/common/smtp.h
* src/common/socket.c
* src/common/socket.h
* src/common/ssl.c
* src/common/ssl.h
* src/common/ssl_certificate.c
* src/common/ssl_certificate.h
* src/common/stringtable.c
* src/common/stringtable.h
* src/common/tags.c
* src/common/tags.h
* src/common/template.c
* src/common/template.h
* src/common/timing.h
* src/common/utils.c
* src/common/utils.h
* src/common/version.h.in
* src/common/xml.c
* src/common/xml.h
* src/common/xmlprops.c
* src/common/xmlprops.h
* src/etpan/etpan-errors.h
* src/etpan/etpan-thread-manager-types.h
* src/etpan/etpan-thread-manager.c
* src/etpan/etpan-thread-manager.h
* src/etpan/imap-thread.c
* src/etpan/imap-thread.h
* src/etpan/nntp-thread.c
* src/etpan/nntp-thread.h
* src/gtk/about.c
* src/gtk/about.h
* src/gtk/colorlabel.c
* src/gtk/colorlabel.h
* src/gtk/colorsel.c
* src/gtk/colorsel.h
* src/gtk/combobox.c
* src/gtk/combobox.h
* src/gtk/description_window.c
* src/gtk/description_window.h
* src/gtk/filesel.c
* src/gtk/filesel.h
* src/gtk/foldersort.c
* src/gtk/foldersort.h
* src/gtk/gtksctree.c
* src/gtk/gtkutils.c
* src/gtk/gtkutils.h
* src/gtk/icon_legend.c
* src/gtk/icon_legend.h
* src/gtk/inputdialog.c
* src/gtk/inputdialog.h
* src/gtk/logwindow.c
* src/gtk/logwindow.h
* src/gtk/manage_window.c
* src/gtk/manage_window.h
* src/gtk/menu.c
* src/gtk/menu.h
* src/gtk/pluginwindow.c
* src/gtk/pluginwindow.h
* src/gtk/prefswindow.c
* src/gtk/prefswindow.h
* src/gtk/progressdialog.c
* src/gtk/progressdialog.h
* src/gtk/quicksearch.c
* src/gtk/quicksearch.h
* src/gtk/spell_entry.c
* src/gtk/spell_entry.h
* src/gtk/sslcertwindow.c
* src/gtk/sslcertwindow.h
* src/plugins/bogofilter/bogofilter.c
* src/plugins/bogofilter/bogofilter.h
* src/plugins/bogofilter/bogofilter_gtk.c
* src/plugins/demo/demo.c
* src/plugins/dillo_viewer/dillo_prefs.c
* src/plugins/dillo_viewer/dillo_prefs.h
* src/plugins/dillo_viewer/dillo_viewer.c
* src/plugins/pgpcore/passphrase.c
* src/plugins/pgpcore/passphrase.h
* src/plugins/pgpcore/pgp_viewer.c
* src/plugins/pgpcore/pgp_viewer.h
* src/plugins/pgpcore/plugin.c
* src/plugins/pgpcore/prefs_gpg.c
* src/plugins/pgpcore/prefs_gpg.h
* src/plugins/pgpcore/select-keys.c
* src/plugins/pgpcore/select-keys.h
* src/plugins/pgpcore/sgpgme.c
* src/plugins/pgpcore/sgpgme.h
* src/plugins/pgpinline/pgpinline.c
* src/plugins/pgpinline/pgpinline.h
* src/plugins/pgpinline/plugin.c
* src/plugins/pgpmime/pgpmime.c
* src/plugins/pgpmime/pgpmime.h
* src/plugins/pgpmime/plugin.c
* src/plugins/smime/plugin.c
* src/plugins/smime/smime.c
* src/plugins/smime/smime.h
* src/plugins/spamassassin/spamassassin.c
* src/plugins/spamassassin/spamassassin.h
* src/plugins/spamassassin/spamassassin_gtk.c
* src/plugins/trayicon/trayicon.c
* src/plugins/trayicon/trayicon_prefs.c
* src/plugins/trayicon/trayicon_prefs.h
update copyright headers to 2012
2012-05-27 17:31:10 +00:00
Tristan Chabredier
f91d530cfc
2011-12-16 [wwp] 3.8.0cvs2
...
* src/procmsg.c
* src/stock_pixmap.c
* src/stock_pixmap.h
* src/summaryview.c
* src/gtk/icon_legend.c
* src/pixmaps/replied_and_forwarded.xpm
Make replied and forwarded status flags non exclusive.
Introduce a new message state (and relevant icon in message list)
where both the replied and forwarded flags are set.
2011-12-16 13:30:33 +00:00
Colin Leroy
0eb623897e
2011-10-25 [colin] 3.7.10cvs51
...
* src/stock_pixmap.c
Fix build with gtk + 2.20
2011-10-25 16:52:00 +00:00
Colin Leroy
c5bc2d8836
2011-10-25 [colin] 3.7.10cvs48
...
* src/stock_pixmap.c
Always use cairo to draw
2011-10-25 06:07:53 +00:00