mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-01-27 03:10:27 +01:00
2006-11-27 Dan Williams <dcbw@redhat.com>
Patch from Christian Persch <chpe@gnome.org> * gnome/applet/menu-items.c - (network_menu_item_update): use gtk_progress_bar_set_fraction() as gtk_progress_set_percentage is deprecated. Should work as far back as GTK+ 2.4. Gnome.org #379780 git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@2130 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
This commit is contained in:
parent
791b7c7b3e
commit
17b61aa02f
2 changed files with 10 additions and 1 deletions
|
|
@ -1,3 +1,12 @@
|
|||
2006-11-27 Dan Williams <dcbw@redhat.com>
|
||||
|
||||
Patch from Christian Persch <chpe@gnome.org>
|
||||
|
||||
* gnome/applet/menu-items.c
|
||||
- (network_menu_item_update): use gtk_progress_bar_set_fraction()
|
||||
as gtk_progress_set_percentage is deprecated. Should
|
||||
work as far back as GTK+ 2.4. Gnome.org #379780
|
||||
|
||||
2006-11-26 Dan Williams <dcbw@redhat.com>
|
||||
|
||||
Scan using wpa_supplicant over DBus.
|
||||
|
|
|
|||
|
|
@ -254,7 +254,7 @@ void network_menu_item_update (NMApplet *applet, NMNetworkMenuItem *item,
|
|||
g_free (display_essid);
|
||||
|
||||
percent = (double) CLAMP (wireless_network_get_strength (network), 0, 100) / 100.0;
|
||||
gtk_progress_set_percentage (GTK_PROGRESS (item->progress), percent);
|
||||
gtk_progress_bar_set_fraction (GTK_PROGRESS_BAR (item->progress), percent);
|
||||
|
||||
/* Deal with the encrypted icon */
|
||||
g_object_set (item->security_image, "visible", is_encrypted, NULL);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue