Changeset 419963371a32e1ff6c61b365ec83c88b4bfd3b4b
- Timestamp:
- 06/05/07 12:11:18 (6 years ago)
- Author:
- iacopo <iacopo@…>
- Children:
- 76c087b7af32be71ea3488912f8e98f2a332a487
- Parents:
- e442b8821e135b7e4a656ed1ccff664c98b39aef
- git-committer:
- iacopo <iacopo@…> (06/05/07 12:11:18)
- Message:
-
New octofuss icons
git-svn-id: https://labs.truelite.it/svn/octofuss/trunk@380 5a101938-5c21-0410-9b5a-a83d6f3706a9
- Location:
- lib/octofuss
- Files:
-
Legend:
- Unmodified
- Added
- Removed
-
|
rb6ca4f7
|
r4199633
|
|
| 312 | 312 | for host in cluster: |
| 313 | 313 | if host.isup: |
| 314 | | pix = art.get_pixbuf_from_name("workstation-up") |
| | 314 | #pix = art.get_pixbuf_from_name("workstation-up") |
| | 315 | pix = art.get_pixbuf_from_name("system-up") |
| | 316 | |
| 315 | 317 | else: |
| 316 | | pix = art.get_pixbuf_from_name("workstation") |
| | 318 | #pix = art.get_pixbuf_from_name("workstation") |
| | 319 | pix = art.get_pixbuf_from_name("system-down") |
| | 320 | |
| 317 | 321 | model.append([host.name,pix]) |
| 318 | 322 | |
| … |
… |
|
| 371 | 375 | #cList.sort() |
| 372 | 376 | for cluster in cList: |
| 373 | | pix = art.get_pixbuf_from_name("cluster") |
| | 377 | pix = art.get_pixbuf_from_name("cluster-new") |
| 374 | 378 | model.append([cluster,pix]) |
| 375 | 379 | view.set_model(model) |
-
|
rb7c243c
|
r4199633
|
|
| 62 | 62 | count = 1 |
| 63 | 63 | p = gnome.ui.DruidPageEdge(count) |
| 64 | | logo = art.get_pixbuf_from_name("cluster") |
| | 64 | logo = art.get_pixbuf_from_name("cluster-new") |
| 65 | 65 | p.set_logo(logo) |
| 66 | 66 | p.set_title(title) |
| … |
… |
|
| 72 | 72 | """ Create a druid page """ |
| 73 | 73 | p = gnome.ui.DruidPageStandard() |
| 74 | | logo = art.get_pixbuf_from_name("cluster") |
| | 74 | logo = art.get_pixbuf_from_name("cluster-new") |
| 75 | 75 | p.set_logo(logo) |
| 76 | 76 | p.set_title(section) |
-
|
re442b88
|
r4199633
|
|
| 179 | 179 | label = self.notebook.get_tab_label(tab).get_text() |
| 180 | 180 | from octofuss.cluster import HostWindow |
| 181 | | |
| | 181 | current = False |
| 182 | 182 | if label == tabName: |
| 183 | | current = False |
| 184 | 183 | if self.notebook.get_current_page() == i: |
| 185 | 184 | current = True |
-
|
r438db0a
|
r4199633
|
|
| 753 | 753 | #User main group |
| 754 | 754 | if backend.isEnabled(item): |
| 755 | | pix = art.get_pixbuf_from_name("stock_person") |
| 756 | | else: |
| 757 | | pix = art.get_pixbuf_from_name("user_disabled") |
| | 755 | #pix = art.get_pixbuf_from_name("stock_person") |
| | 756 | pix = art.get_pixbuf_from_name("user") |
| | 757 | |
| | 758 | else: |
| | 759 | #pix = art.get_pixbuf_from_name("user_disabled") |
| | 760 | pix = art.get_pixbuf_from_name("user-disabled") |
| | 761 | |
| 758 | 762 | |
| 759 | 763 | mainGroupLabel = _("main group") |
| … |
… |
|
| 853 | 857 | #User main group |
| 854 | 858 | if backend.isEnabled(item): |
| 855 | | pix = art.get_pixbuf_from_name("stock_person") |
| 856 | | else: |
| 857 | | pix = art.get_pixbuf_from_name("user_disabled") |
| | 859 | #pix = art.get_pixbuf_from_name("stock_person") |
| | 860 | pix = art.get_pixbuf_from_name("user") |
| | 861 | |
| | 862 | else: |
| | 863 | #pix = art.get_pixbuf_from_name("user_disabled") |
| | 864 | pix = art.get_pixbuf_from_name("user-disabled") |
| | 865 | |
| 858 | 866 | |
| 859 | 867 | mainGroupLabel = _("main group") |
| … |
… |
|
| 894 | 902 | #User main group |
| 895 | 903 | if backend.isEnabled(item): |
| 896 | | pix = art.get_pixbuf_from_name("stock_person") |
| 897 | | else: |
| 898 | | pix = art.get_pixbuf_from_name("user_disabled") |
| | 904 | #pix = art.get_pixbuf_from_name("stock_person") |
| | 905 | pix = art.get_pixbuf_from_name("user") |
| | 906 | |
| | 907 | else: |
| | 908 | #pix = art.get_pixbuf_from_name("user_disabled") |
| | 909 | pix = art.get_pixbuf_from_name("user-disabled") |
| | 910 | |
| 899 | 911 | |
| 900 | 912 | mainGroupLabel = _("main group") |
| … |
… |
|
| 963 | 975 | else: |
| 964 | 976 | log.debug(_("Warning: problem identifying group type!")) |
| 965 | | pix = art.get_pixbuf_from_name("stock_people") |
| | 977 | #pix = art.get_pixbuf_from_name("stock_people") |
| | 978 | pix = art.get_pixbuf_from_name("group") |
| | 979 | |
| 966 | 980 | |
| 967 | 981 | model.set (iter, 0, item, 1, pix ) |
| … |
… |
|
| 1517 | 1531 | #User main group |
| 1518 | 1532 | if backend.isEnabled(item): |
| 1519 | | pix = art.get_pixbuf_from_name("stock_person") |
| 1520 | | else: |
| 1521 | | pix = art.get_pixbuf_from_name("user_disabled") |
| | 1533 | #pix = art.get_pixbuf_from_name("stock_person") |
| | 1534 | pix = art.get_pixbuf_from_name("user") |
| | 1535 | |
| | 1536 | else: |
| | 1537 | #pix = art.get_pixbuf_from_name("user_disabled") |
| | 1538 | pix = art.get_pixbuf_from_name("user-disabled") |
| | 1539 | |
| 1522 | 1540 | mainGroupLabel = _("main group") |
| 1523 | 1541 | mainGroupGid = backend.getUser(item).getGid().getValue() |
| … |
… |
|
| 2031 | 2049 | #User main group |
| 2032 | 2050 | if backend.isEnabled(item): |
| 2033 | | pix = art.get_pixbuf_from_name("stock_person") |
| 2034 | | else: |
| 2035 | | pix = art.get_pixbuf_from_name("user_disabled") |
| | 2051 | #pix = art.get_pixbuf_from_name("stock_person") |
| | 2052 | pix = art.get_pixbuf_from_name("user") |
| | 2053 | |
| | 2054 | else: |
| | 2055 | #pix = art.get_pixbuf_from_name("user_disabled") |
| | 2056 | pix = art.get_pixbuf_from_name("user-disabled") |
| | 2057 | |
| 2036 | 2058 | mainGroupLabel = _("main group") |
| 2037 | 2059 | mainGroupGid = backend.getUser(item).getGid().getValue() |
| … |
… |
|
| 2098 | 2120 | else: |
| 2099 | 2121 | log.debug(_("Warning: problem identifying group type!")) |
| 2100 | | pix = art.get_pixbuf_from_name("stock_people") |
| | 2122 | #pix = art.get_pixbuf_from_name("stock_people") |
| | 2123 | pix = art.get_pixbuf_from_name("group") |
| | 2124 | |
| 2101 | 2125 | |
| 2102 | 2126 | model.set (iter, 0, item, 1, pix ) |
| … |
… |
|
| 2747 | 2771 | #User main group |
| 2748 | 2772 | if backend.isEnabled(item): |
| 2749 | | pix = art.get_pixbuf_from_name("stock_person") |
| 2750 | | else: |
| 2751 | | pix = art.get_pixbuf_from_name("user_disabled") |
| | 2773 | #pix = art.get_pixbuf_from_name("stock_person") |
| | 2774 | pix = art.get_pixbuf_from_name("user") |
| | 2775 | |
| | 2776 | else: |
| | 2777 | #pix = art.get_pixbuf_from_name("user_disabled") |
| | 2778 | pix = art.get_pixbuf_from_name("user-disabled") |
| | 2779 | |
| 2752 | 2780 | |
| 2753 | 2781 | mainGroupLabel = _("main group") |
| … |
… |
|
| 2811 | 2839 | else: |
| 2812 | 2840 | log.debug(_("Warning: problem identifying group type!")) |
| 2813 | | pix = art.get_pixbuf_from_name("stock_people") |
| | 2841 | #pix = art.get_pixbuf_from_name("stock_people") |
| | 2842 | pix = art.get_pixbuf_from_name("group") |
| | 2843 | |
| 2814 | 2844 | |
| 2815 | 2845 | model.set (iter, 0, item, 1, pix ) |
| … |
… |
|
| 2953 | 2983 | else: |
| 2954 | 2984 | log.debug(_("Warning: problem identifying group type!")) |
| 2955 | | pix = art.get_pixbuf_from_name("stock_people") |
| | 2985 | #pix = art.get_pixbuf_from_name("stock_people") |
| | 2986 | pix = art.get_pixbuf_from_name("group") |
| | 2987 | |
| 2956 | 2988 | |
| 2957 | 2989 | model.set (iter, 0, item, 1, pix ) |