/* * e-alert-sink.c * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2 of the License, or (at your option) version 3. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with the program; if not, see * */ /** * SECTION: e-alert-sink * @short_description: an interface to handle alerts * @include: e-util/e-util.h * * A widget that implements #EAlertSink means it can handle #EAlerts, * usually by displaying them to the user. **/ #ifdef HAVE_CONFIG_H #include #endif #include "e-alert-sink.h" #include "e-alert-dialog.h" G_DEFINE_INTERFACE ( EAlertSink, e_alert_sink, GTK_TYPE_WIDGET) static void alert_sink_fallback (GtkWidget *widget, EAlert *alert) { GtkWidget *dialog; gpointer parent; parent = gtk_widget_get_toplevel (widget); parent = gtk_widget_is_toplevel (parent) ? parent : NULL; dialog = e_alert_dialog_new (parent, alert); gtk_dialog_run (GTK_DIALOG (dialog)); gtk_widget_destroy (dialog); } static void alert_sink_submit_alert (EAlertSink *alert_sink, EAlert *alert) { /* This is just a lame fallback handler. Implementors * are strongly encouraged to override this method. */ alert_sink_fallback (GTK_WIDGET (alert_sink), alert); } static void e_alert_sink_default_init (EAlertSinkInterface *interface) { interface->submit_alert = alert_sink_submit_alert; } /** * e_alert_sink_submit_alert: * @alert_sink: an #EAlertSink * @alert: an #EAlert * * This function is a place to pass #EAlert objects. Beyond that it has no * well-defined behavior. It's up to the widget implementing the #EAlertSink * interface to decide what to do with them. **/ void e_alert_sink_submit_alert (EAlertSink *alert_sink, EAlert *alert) { EAlertSinkInterface *interface; g_return_if_fail (E_IS_ALERT_SINK (alert_sink)); g_return_if_fail (E_IS_ALERT (alert)); interface = E_ALERT_SINK_GET_INTERFACE (alert_sink); g_return_if_fail (interface->submit_alert != NULL); interface->submit_alert (alert_sink, alert); } el/electron4/files/minimist-1.2.3'>dependabot/npm_and_yarn/devel/electron4/files/minimist-1.2.3 FreeBSD GNOME current development ports (https://github.com/freebsd/freebsd-ports-gnome)
aboutsummaryrefslogtreecommitdiffstats
Commit message (Expand)AuthorAgeFilesLines
* - Update MASTER_SITESmiwi2010-02-131-3/+1
* English-Chinese/Chinese-English dictionaries for StarDict.wen2010-02-076-0/+82
* Presenting KDE 4.3.5 for FreeBSD. The official release notes for thismiwi2010-02-074-8/+6
* - update to jpeg-8dinoex2010-02-0532-21/+32
* - Remove stardict2-dict-zh_CNwen2010-01-315-79/+0
* - Connect stardict-dict-zh_CNwen2010-01-311-0/+1
* - Repocopy completewen2010-01-313-5/+17
* - Remove unneeded dependencies which is in perl-5.8.9 distkuriyama2010-01-291-3/+1
* - Update download urlmiwi2010-01-281-1/+1
* The FreeBSD KDE team is pleased to announce Qt-4.6.1 for FreeBSD.makc2010-01-226-29/+39
* - remove broken/expired ports@ portspgollucci2010-01-1815-242/+0
* - Add files/pkg-message.inwen2010-01-112-0/+22
* - Use SUB_FILES for PKGMESSAGErafan2010-01-092-4/+1
* - Remove unusable mirror sitesrafan2009-12-291-6/+2
* - Explicitly disable setup-tool. The configure requires additional patchrafan2009-12-271-1/+2
* Chewing engine for IBus.wen2009-12-275-0/+51
* Mark BROKEN on 9.x: does not build.erwin2009-12-271-0/+4
* - Update to 1.2.2 which is compatible with libchewing >= 0.3.2rafan2009-12-277-64/+33
* scim-array is an SCIM IMEngine module for array 30. It supportswen2009-12-245-0/+55
* Upgrade to 1.1.vanilla2009-12-238-237/+5
* The KDE FreeBSD team is proud to announce the release of KOffice2 suite for F...fluffy2009-12-2213-152/+156
* For ports maintained by ports@FreeBSD.org, remove names and/ordougb2009-12-2119-56/+2
* Style: exist() should not have space before that.delphij2009-12-201-1/+1
* - Add e-mail for creator;delphij2009-12-201-1/+6
* really replace with STRIP_CMDmakc2009-12-201-2/+2
* Fix QT4 option usage (in preparation for Qt-4.6.0 update)makc2009-12-201-8/+10
* Fix QT4 option usage (in preparation for Qt-4.6.0 update)makc2009-12-201-11/+15
* - Update to 0.3.3pav2009-12-193-8/+8
* - Update to 0.3.2clsung2009-12-186-45/+9
* New port: chinese/fortune A very classic fortune file in Chinesedelphij2009-12-185-0/+80
* - Get rip python 2.3+miwi2009-12-141-1/+1
* This port has been broken for 3+ months, thuspav2009-12-082-0/+4
* The FreeBSD KDE is please to announce the release of KDE 4.3.4,miwi2009-12-022-6/+6
* The KDE FreeBSD team is proud to announce the release of KDE 4.3.3miwi2009-11-274-10/+21
* - Update to Qt-4.5miwi2009-11-274-12/+0
* - Mark MAKE_JOBS_UNSAFEpav2009-11-234-0/+4
* - Update to 1.2.0.20090915wen2009-11-202-5/+4
* - update to 1.0leeym2009-11-203-5/+7
* - Mark MAKE_JOBS_UNSAFEpav2009-11-191-0/+1
* - Update to 3.6.2lwhsu2009-10-185-28/+47
* Update to 8.1.7. Multiple vulnerabilities which could cause thehrs2009-10-152-6/+6
* - Fix the terminal initial problem with color redrawavl2009-10-075-48/+84
* Fix typo in previous commit.erwin2009-10-011-1/+1
* The FreeBSD KDE is please to announce the release of KDE 4.3.1,tabthorpe2009-09-024-8/+8
* Mark BROKEN on all branches: does not builderwin2009-08-301-7/+3
* Mark BROKEN on 6.x: does not builderwin2009-08-301-0/+4
* Reset chinsan@FreeBSD.org due to numerous maintainer-timeouts and nolinimon2009-08-2918-19/+17
* - Switch SourceForge ports to the new File Release System: categories startin...amdmi32009-08-2216-27/+17
* Reset maintainererwin2009-08-202-2/+2
* Fix a few common typos in pkg-descr ("separate", "compatible").olgeni2009-08-161-1/+1
* - Update to 0.14clsung2009-08-152-4/+4
* Fix the build w/ libtool22.mezz2009-08-092-0/+6
* clean upmakc2009-08-082-6/+0
* The KDE FreeBSD team is proud to announce the release of KDE 4.3.0miwi2009-08-056-36/+182
* - Update Qt4 to 4.5.2miwi2009-08-053-7/+10
* -Repocopy devel/libtool15 -> libtool22 and libltdl15 -> libltdl22.mezz2009-08-035-5/+5
* - bump all port that indirectly depends on libjpeg and have not yet been bump...dinoex2009-07-3126-12/+26
* - Fix build after mail/mutt-devel upgraded to 1.5.20rafan2009-06-292-52/+52
* Update to 8.1.6 and 9.1.2.hrs2009-06-182-6/+6
* - Broken on amd64/8pav2009-06-141-1/+7
* Remove chinese/wordpress which has been mark FORBIDDEN over 6 months ago.erwin2009-06-136-578/+0
* Convert most of remaining ports that depend on xorg-libraries toamdmi32009-06-091-1/+2
* BROKEN, doesn't fetchitetcu2009-06-081-0/+2
* Fix post-patch to allow for CFLAGS containing a slash (which happensgerald2009-06-051-1/+1
* The KDE FreeBSD team is pleased to announce KDE 4.2.4, the last bugfixmiwi2009-06-032-6/+6
* Use RUN_DEPENDS instead of BUILD_DEPENDS.hrs2009-06-021-2/+2
* Fix with custom LOCALBASE. Not the right way, but fixed.itetcu2009-06-021-2/+4
* - Honor PREFIX/LOCALBASEpgollucci2009-06-021-2/+2
* - Respect PREFIX/LOCALBASEamdmi32009-06-022-9/+10
* Fix build with custom LOCALBSE and respect CFLAGS a little more.itetcu2009-06-021-0/+5
* Patch Makefile to respect PREFIX and use our INSTALL macros.itetcu2009-06-012-16/+15
* Patch Makefile to respect PREFIX and use our INSTALL macros.itetcu2009-06-012-19/+20
* Fix PLIST.hrs2009-05-311-6/+6
* japanese/font-std, chinese/font-std, and dependency fixups duehrs2009-05-315-5/+50
* Remove qt4 build tools from run dependencies.makc2009-05-281-4/+4
* - Correct plistpav2009-05-221-0/+1
* - Update to 0.13clsung2009-05-202-4/+4
* - Update MASTER_SITESlwhsu2009-05-181-3/+2
* - Add an option to make default paper size A4lwhsu2009-05-181-1/+10
* - Update to 1.4.5chinsan2009-05-175-175/+21
* - Pass maintainership to lwhsu@chinsan2009-05-161-1/+1
* Update to 8.1.5. Two critical vulnerabilities have been fixed:hrs2009-05-132-6/+6
* clive has has his ports bit retaken for safekeeping.linimon2009-05-132-2/+2
* Update KDE ports to 4.2.3makc2009-05-102-6/+6
* Fix typo.daichi2009-04-301-1/+1
* Fix plist with -DNOPORT*.itetcu2009-04-081-0/+3
* Fix pathname of Fontmap.GS, which has been changed in GS 8.64.hrs2009-04-033-3/+3
* The KDE FreeBSD team is proud to announce the release of KDE 4.2.2miwi2009-04-024-14/+6
* Upgrade to 0.8.13.vanilla2009-04-023-17/+49
* Update to 8.1.4. This version includes serious security fixes.hrs2009-03-292-6/+6
* - Replace INSTALLS_SHLIB with USE_LDCONFIGpav2009-03-261-1/+1
* PinYin engine for IBus.pav2009-03-265-0/+106
* bump PORTREVISION after cmake updatemakc2009-03-251-1/+1
* - Update to 1.4.5.pre2chinsan2009-03-254-9/+9
* - Reduce depenency on japanese/anthychinsan2009-03-242-2/+171
* Update KDE to 4.2.1.makc2009-03-092-6/+6
* - Mark BROKEN on FreeBSD 6.xpav2009-03-031-0/+4
* - Update to 0.35rafan2009-02-152-4/+7
* - Fix build after devel/mutt-devel updaterafan2009-02-112-57/+57
* add missing fileijliao2009-02-111-0/+1
* upgrade to 0.0.4ijliao2009-02-113-7/+9
* The KDE FreeBSD team is proud to announce the release of KDE 4.2.0miwi2009-02-094-42/+170
* 2009-01-19 games/emacs-chess: has been broken for more than 6 monthsmiwi2009-02-045-92/+0
* - Update to 0.2.6chinsan2009-02-022-7/+5
* - Update to 1.4.4chinsan2009-02-014-19/+90
* - Update download locationpav2009-01-312-4/+6
* Fix typo.kuriyama2009-01-251-1/+1
* - Update to 3.7chinsan2009-01-242-8/+8
* - Update X.org ports to 7.4+ (few ports are more recent than the katamari).flz2009-01-242-1/+2
* kde@freebsd team is pleased to announce KDE 4.1.4, the last bugfix release in...makc2009-01-146-12/+12
* kde@freebsd team is pleased to announce the update for Qt4 ports.makc2009-01-142-6/+6
* - Update to 1.4.3.pre13chinsan2009-01-123-7/+11
* - :build targets need to use ${NONEXISTENT} for their depobjpav2009-01-091-1/+1
* - Remove conditional checks relevant only on FreeBSD 5.x and olderpav2009-01-069-58/+7
* - Add chinese/CNS11643-font's RESTRICTEDchinsan2009-01-031-2/+6
* Add CNS11643-font, a combine of Kai and Sung with CNS11643 TrueType Fonts.chinsan2009-01-034-0/+43
* - Update to 1.4.3.pre12chinsan2009-01-033-7/+7
* - Fix compiling warning.chinsan2009-01-023-5/+25
* - Use local distfilesrafan2008-12-311-1/+1
* Reset yinjieh@csie.nctu.edu.tw due to lack of time to work on portslinimon2008-12-253-5/+2
* - Set for expiration in one month: has been broken for more than 6 monthspav2008-12-201-0/+2
* Reassign ports maintained by dryice@ for now due to other commitments.linimon2008-12-181-1/+1
* Delete duplicated categories; they are picked up by the masterportlinimon2008-12-151-1/+1
* Delete duplicated category 'editors'; it is picked up by the masterportlinimon2008-12-15