Mercurial > projects > package-update-indicator
comparison pui-application.c @ 14:f783ba95ec4a
Set application indicator title
The title property is displayed by some implementations in the menu and/or in
the tooltip.
author | Guido Berhoerster <guido+pui@berhoerster.name> |
---|---|
date | Sat, 14 Jul 2018 09:57:39 +0200 |
parents | adba37525ee5 |
children | 6304dbbedb67 |
comparison
equal
deleted
inserted
replaced
13:d7d2ac4dbac6 | 14:f783ba95ec4a |
---|---|
484 | 484 |
485 /* create indicator */ | 485 /* create indicator */ |
486 self->indicator = app_indicator_new(APPLICATION_ID, | 486 self->indicator = app_indicator_new(APPLICATION_ID, |
487 "system-software-update", | 487 "system-software-update", |
488 APP_INDICATOR_CATEGORY_APPLICATION_STATUS); | 488 APP_INDICATOR_CATEGORY_APPLICATION_STATUS); |
489 app_indicator_set_title(self->indicator, _("Package Update Indicator")); | |
489 | 490 |
490 /* get menu from builder and add it to the indicator */ | 491 /* get menu from builder and add it to the indicator */ |
491 builder = gtk_builder_new_from_resource("/org/guido-berhoerster/code/" | 492 builder = gtk_builder_new_from_resource("/org/guido-berhoerster/code/" |
492 "package-update-indicator/pui-menu.ui"); | 493 "package-update-indicator/pui-menu.ui"); |
493 menu = GTK_WIDGET(gtk_builder_get_object(builder, "menu")); | 494 menu = GTK_WIDGET(gtk_builder_get_object(builder, "menu")); |