~victored/wingpanel/autohide

« back to all changes in this revision

Viewing changes to src/Widgets/Panel.vala

  • Committer: Tom Beckmann
  • Date: 2013-09-07 21:56:10 UTC
  • Revision ID: tomjonabc@gmail.com-20130907215610-e9vok6r26rce8u0j
add support for the new indicator files

Show diffs side-by-side

added added

removed removed

Lines of Context:
77
77
        }
78
78
 
79
79
        private void create_entry (IndicatorWidget entry) {
80
 
            if (entry.get_indicator ().get_name () == "libdatetime.so")
 
80
            if (entry.get_indicator ().get_name () == "libdatetime.so"
 
81
                                || entry.get_indicator ().get_name () == "com.canonical.indicator.datetime")
81
82
                clock.prepend (entry);
82
83
            else
83
84
                menubar.insert_sorted (entry);