~allanlesage/indicator-appmenu/TDD-fixes

« back to all changes in this revision

Viewing changes to src/hud-gtk.vala

  • Committer: Ryan Lortie
  • Date: 2012-03-26 15:21:10 UTC
  • mto: This revision was merged to the branch mainline in revision 191.
  • Revision ID: desrt@desrt.ca-20120326152110-zqd1r14t0rbifrzn
hud-gtk: close query if we have the empty string

Show diffs side-by-side

added added

removed removed

Lines of Context:
53
53
                        query_key = null;
54
54
                        model.clear ();
55
55
 
 
56
                        if (entry.text == "") {
 
57
                                return;
 
58
                        }
 
59
 
56
60
                        try {
57
61
                                var session = Bus.get_sync (BusType.SESSION, null);
58
62
                                var reply = session.call_sync ("com.canonical.hud", "/com/canonical/hud", "com.canonical.hud",