summaryrefslogtreecommitdiffstats
path: root/mgaapplet
Commit message (Collapse)AuthorAgeFilesLines
* Some Mandriva -> Mageia leftovers and Mageia copyright years updateRémi Verschelde2015-02-161-1/+1
|
* Update headers and FSF contact addressRémi Verschelde2015-02-161-4/+4
|
* explainThierry Vignaud2014-02-051-0/+1
|
* fix crashing if there's not notification daemon (mga#12416)Thierry Vignaud2014-02-041-1/+1
|
* drop debug statementThierry Vignaud2014-01-241-1/+0
| | | | wrongly went with commit 87813dd7cfa302347b06cd9b0675d18577a2be11
* block CHLD signals on startupThierry Vignaud2014-01-221-1/+4
| | | | | | in order to prevent glib-threading segfaults (mga#10289), just block the CHLD signal during the window where glib create threads behind our back (RT-120951)
* better fix for mga#12280 while fixing exit reported by ColinThierry Vignaud2014-01-221-12/+10
| | | | | | | | | | | | | | | | | | previous fixes for mga#12280 resulted in Colin reporting mgaapplet exiting (not segfaulting): "When updates a bubble pops up: - If you click on the background of this bubble, mgaaplet exits - If you click on the "Install Updates" button, it pops up the password dialog. Without touching anything, about 1s later the dialog seems to be replaced with another that says "Sorry, that didn't work, please try again". When this dialog appears, mgaapplet exits." So let's clean the pile of fixes and: - have only _one_ gtk+ main loop - creating _one_ hidden notification before entering the main loop - never destroy it, but use >close + >clear_actions() then ->update() prior calling >show() when one need to show a notification again
* Update gnome-shell code to exit message tray mode also.Colin Guthrie2014-01-221-0/+1
| | | | | | | | The old method worked on older gnome-shells, this new method works on newer gnome-shells (see bgo#706783) Ideally neither hacks should be necessary and maybe (eventually) we can remove them, but for now...
* workaround X11 hanging (mga#12280)Thierry Vignaud2014-01-171-1/+3
| | | | | | | | | | | | | | | | | | | | | | | Since commit 95b9cd06f14a9817090584d72830df870c591acc, we run a gtk main loop after displaying a notification, else actions when clickong notification buttons are ignored by gtk+/libnotify However, if the notification is not manually closed, we never exit this main loop. In that case, gtk+ fails with: (mgaapplet:9060): Gtk-CRITICAL **: gtk_window_set_accept_focus: assertion 'GTK_IS_WINDOW (window)' failed from: data=<optimized out>, destroy=0x0, button=3, activate_time=5407876) at gtkmenu.c:1613 And X11 is stuck. As a workaround, since libnotify offers no way to be notified when notification is automatically closed, just add a timeout for exiting the main loop. At worse, X11 will be stuch only 5 seconds.
* delay setting SIG_CHLD handler (mga#10289)Thierry Vignaud2014-01-081-1/+1
| | | | thus fixing segfault on startup
* fix typo in previous commits (spot by Colin)Thierry Vignaud2013-12-211-1/+1
|
* do not ignore exceptions: display them at least...Thierry Vignaud2013-12-211-0/+1
|
* fix doing nothing when clicking on notifications buttons (mga#12041)Thierry Vignaud2013-12-211-5/+9
|
* split mgaapplet-update-checkerThierry Vignaud2013-12-211-93/+2
| | | | | | since we cannot prevent glib/gtk to spawn threads behind our back, we can at least try to prevent segfaults due to mixing threads with secular forks by exec()ing immediately
* split mgaapplet moduleThierry Vignaud2013-12-211-37/+1
| | | | (needed for next commit)
* fix my emailThierry Vignaud2013-12-161-2/+2
|
* fix crashing when displaying about dialog (mga#12009)Thierry Vignaud2013-12-161-1/+1
| | | | set_authors() needs an array ref with Gtk3
* icons were redone by mgaThierry Vignaud2013-12-161-1/+0
|
* Gtk3::Notify->new => Gtk3::Notify::Notification->new (mga#11897)Thierry Vignaud2013-12-061-1/+1
|
* s/gtk2/gtk3/ in commentsThierry Vignaud2013-12-061-1/+1
|
* use new Toolbar APIThierry Vignaud2013-12-051-1/+1
|
* perlish ->child() => ->get_child()Thierry Vignaud2013-12-031-3/+3
|
* use Gtk3 namespace instead of Gtk2Thierry Vignaud2013-12-031-14/+14
|
* use (my|u)gtk3 instead of *tk2Thierry Vignaud2013-12-031-7/+7
|
* simplifyThierry Vignaud2013-06-211-1/+1
|
* Enable the 'download all' links for everyone (mga#8157)Colin Guthrie2013-05-141-17/+9
|
* Fix a genuine syntax error that happened because I suck at perl.Colin Guthrie2013-05-131-2/+2
|
* Fix an accidental paste before committing :sColin Guthrie2013-05-131-1/+0
| | | | Not sure how that happened :s
* Do not use urpm code to check the folder as this is run as unprivileged user ↵Colin Guthrie2013-05-131-6/+3
| | | | (mga#6083)
* perl_checker cleanupThierry Vignaud2013-04-301-1/+1
|
* Add support for upgrades that need some form of preparation before continuing.Colin Guthrie2013-04-281-8/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | The basic principle of this is to do the following: 1. Check the releases webservice API to see if the distro version 'needs_preparation'. 2. If it does, check for a file /var/lib/mageia-prepare-upgrade/state. If it says 'ready' then we are ready and the user is not questioned further. 3. If it does not exist or says anything else, the user is prompted to install the package 'mageia-prepare-upgrade'. 4. After package installation, check the state file again as this may be all that is required. If the state file does not yet say 'ready', then display the text from the /usr/share/doc/mageia-prepare-upgrade/README.prepare file (todo: add i18n) 5. Assuming that further action is required by the user (e.g. rebooting to convert the filesystem), then the upgrade helper will exit. 6. After the user has taken the action required to do the preparation, the state file should contain 'ready'. The next time the distro upgrade dialog shows, the preparation checks will pass and the user can continue. TODO: Handle i18n in the README.prepare file. v1: First Revision v2: Check immediately if an upgrade state file exists (don't wait 5 mins) Ensure config file is parsed (ensures the testing variable is read) Show user-visible messages when bailing out due to unexpected errors
* Fix function call. check_cache_dir was renamed to check_dir in r6191Colin Guthrie2013-04-281-2/+2
|
* Exit gnome-shell overview mode when clicking on notification response actions.Colin Guthrie2013-03-231-0/+8
|
* drop last bits of support for mdv 200[89]Thierry Vignaud2013-02-261-3/+0
| | | | | should have went off along commit r3432 (Mar 12 2012 : "drop support for mdv2007.x/2008.x/2009.x")
* (confirm_upgrade) check that choosen download directory is owned by root ↵Thierry Vignaud2012-09-071-0/+8
| | | | (mga#6083)
* (okState) kill unused functionThierry Vignaud2012-09-071-3/+0
|
* (is_there_a_new_distributions) remove support for Philco OEM system...Thierry Vignaud2012-09-071-3/+0
|
* drop support for extended maintenanceThierry Vignaud2012-09-061-81/+6
|
* drop support for Enterprise & PowerPack media (mga#6292)Thierry Vignaud2012-09-061-69/+2
|
* drop support for Enterprise media (mga#6292)Thierry Vignaud2012-09-061-50/+2
|
* (no_more_supported_choice) small perl_checker cleanupThierry Vignaud2012-03-191-2/+2
|
* (is_there_a_new_distributions) update comment about devel distroThierry Vignaud2012-03-121-1/+1
|
* drop support for mdv2007.x/2008.x/2009.xThierry Vignaud2012-03-121-28/+7
| | | | | (simplify code and increase perl_checker's SNR)
* fix warningsThierry Vignaud2011-11-261-2/+3
|
* Adapt to new libnotify APIDexter Morgan2011-06-141-2/+2
| | | | | Fix date in NEWS file
* (installUpdates) handle both MageiaUpdate & MandrivaUpdateThierry Vignaud2011-05-211-1/+2
|
* Use Mageia instead of mageia LinuxDexter Morgan2011-05-141-5/+5
|
* Use Mageia instead of mageia LinuxDexter Morgan2011-05-141-1/+1
|
* usex MageiaUpdate instead of MandrivaUpdateAnne Nicolas2011-05-141-1/+1
|
* Synthesized commit during git-svn import combining previous Mandriva history ↵2.77.22Mageia SVN-Git Migration2011-05-141-0/+1070
with Mageia. This commit consitsts of the following subversion commits: ------------------------------------------------------------------------ r1310 | dmorgan | 2011-05-14 01:22:07 +0100 (Sat, 14 May 2011) | 1 line Import cleaned mgaonline ------------------------------------------------------------------------