summaryrefslogtreecommitdiffstats
path: root/mgaapplet
Commit message (Collapse)AuthorAgeFilesLines
* Remove the fallback for the context menu in mgaappletFrédéric Buclin2017-05-141-5/+0
| | | | | | | This fallback is not strictly needed, and it seems to prevent some right-clicks to work correctly (it shouldn't!). This partially reverts commit 891f99f.
* Fix broken notifications when the user does a manual check too earlyFrédéric Buclin2017-05-121-1/+5
| | | | | If the user does a manual check for updates before the first automatic check has been triggered, notifications no longer work.
* Correctly detect right-clicks before the first check for updates (mga#20540)Frédéric Buclin2017-05-121-0/+15
| | | | It uses exactly the same code as net_applet, see 20410
* Fix broken path to drakconnectFrédéric Buclin2017-05-121-1/+1
|
* Correctly display the application logo in the 'About' dialog boxFrédéric Buclin2017-03-261-1/+1
|
* Fix broken pathFrédéric Buclin2017-03-241-1/+1
|
* Prefer add_seconds() over add() as it uses less CPU and memoryFrédéric Buclin2017-03-131-2/+2
|
* Use DBus Menu + StatusNotifier 1.0 (mga#20410)Frédéric Buclin2017-03-131-20/+14
|
* Set the size of icons to 128px when generated from SVG files (mga#18107)Frédéric Buclin2017-03-051-1/+1
|
* Update copyright year for 2017Rémi Verschelde2017-03-051-1/+1
|
* When --testing is passed to mgaapplet, always show the status iconFrédéric Buclin2017-03-041-3/+1
|
* Hybrid support for both SNI (for Plasma) and GtkStatusIconFrédéric Buclin2017-03-041-15/+37
|
* Follow more closely the spec about filenames and their locationFrédéric Buclin2017-03-041-12/+3
|
* Move icons to hicolor theme (WIP)Rémi Verschelde2017-03-041-0/+1
| | | | | The transition is not complete, mgaapplet still needs fixed to lookup the icons in the theme paths and no in a hardcoded /usr/share/mgaonline
* Install and use SVG icons by defaultRémi Verschelde2017-03-031-6/+6
| | | | | | Move the mgaonline icon in the hicolor theme with the proper SVG variant installed too. Also fixed a typo in a rpmdrake icon and updated copyright year.
* Fix the mgaaplet status icon (mga#17592)Frédéric Buclin2017-03-031-12/+32
|
* Fix wrong contact address for support (mga#17430)Rémi Verschelde2016-05-291-1/+1
|
* Update copyright years for 2016Rémi Verschelde2016-05-291-2/+2
|
* new icons for mgaonlineTimothée Giet2016-02-271-1/+1
| | | | | | new icons for mgaonline note: looks like enhancement.png is not used anymore, at least a search didn't find the word enhancement used anywhere in this repo.
* 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