Gtk UI frontend module
Gtk/Glade userinterface class.
Wrapper around set_busy_status(False). This is purely cosmetic and should improve readability of code.
Close callback.
Saves the state and exits the application.
Saves the launch time via gconf, for use by update-notifier.
Callback method for about button that shows the about dialog.
Parameters: | source – Source of event, unused. |
---|
Install button click handler.
Parameters: | widget – Source of event |
---|
Reload button click handler.
Settings button click handler.
Parameters: | widget – Source of event |
---|
On focus handler
Control+C handler
Restores the state from gconf.
Saves the state.
Currently only the window-size is stored.
Shows a watch cursor if the application is busy for more than 0.3 seconds. Additionally implements a loop to handle user interface events meanwhile.
Sets up a DBUS listener if none is installed yet.
Displays the main window.
Helper method that sets the install button to sensitive or not depending on whether at least one package is selected for upgrading
Package list updater.
Update details control/handler class
Expander toggle handler
Sets the changelog text.
Sets the description text.
Enables/disables control
Helper class to provide UpdateManagerIFace via dbus.
DBUS Service method for bringToFront
Update ListView control/handler class.
ChangelogHandler changelog_failure method
ChangelogHandler changelog_finished method
Empties the store
Cursor change handler.
Handler for deselect all function.
Returns the store.
View handler function for the install column.
View handler function for the name column.
Double-click handler.
Note
This handler expects row_toggled not to use the renderer parameter!
Row toggle handler
Handler for select all function.
Wrapper around the treeview’s set_sensitive method.
Parameters: | sensitive – Bool defining whether the widget should be sensitive or not. |
---|
Shows the context menu for treeview entries.
Appends a category description to the store.
Parameters: |
|
---|
Appends a package object to the store.
Parameters: | pkg_info – UpdateManager.Backend.PackageInfoBase object |
---|
Returns the number of updates available.
Returns whether the store is empty or not.
Details notebook updater
Handler method that updates the download size label